Class Hierarchy   Class Index   Method Index  

CHMchameleonEncoding Class Reference

#include <CHMchameleonEncoding.h>


Detailed Description

This class contains functions to change the current encoding used internally by Chameleon at runtime.

Changes made here affect all currently instantiated Engines and Chameleon network connections.

The locale set here is used to determine how to

1) Translate .NET and Java unicode strings to and from the internal representation used in Chameleon for both Engine and network operations. See http://www.interfaceware.com/manual/setting_encoding.html for more details.

2) Determine how strings are parsed with an Engine.


Public Member Functions

 CHMchameleonEncoding ()
 Constructor.
virtual ~CHMchameleonEncoding ()
 Destructor.
CHMchameleonEncodingoperator= (const CHMchameleonEncoding &Orig)
 Assignment operator.
CHMchameleonEncodingHandle GetHandle () const
 This method is part of the internal implementation of this class and should not be called.

Static Public Member Functions

static const char * GetCurrentTranslationLocale ()
 Get the translation locale.
static void SetCurrentTranslationLocale (const char *NewLocale)
 Set the translation locale.
static CHMint32 CountOfTranslationLocale ()
 Get the total number of supported translation locales.
static const char * TranslationLocale (CHMint32 LocaleIndex)
 Get a translation locale at a particular index.


Constructor & Destructor Documentation

CHMchameleonEncoding::CHMchameleonEncoding  ) 
 

Constructor.

virtual CHMchameleonEncoding::~CHMchameleonEncoding  )  [virtual]
 

Destructor.


Member Function Documentation

static CHMint32 CHMchameleonEncoding::CountOfTranslationLocale  )  [static]
 

Get the total number of supported translation locales.

static const char* CHMchameleonEncoding::GetCurrentTranslationLocale  )  [static]
 

Get the translation locale.

The initial value is extracted from the default system locale.

CHMchameleonEncodingHandle CHMchameleonEncoding::GetHandle  )  const [inline]
 

This method is part of the internal implementation of this class and should not be called.

CHMchameleonEncoding& CHMchameleonEncoding::operator= const CHMchameleonEncoding Orig  ) 
 

Assignment operator.

static void CHMchameleonEncoding::SetCurrentTranslationLocale const char *  NewLocale  )  [static]
 

Set the translation locale.

See http://www.interfaceware.com/manual/setting_encoding.html for more details

Parameters:
NewLocale New Locale Setting

static const char* CHMchameleonEncoding::TranslationLocale CHMint32  LocaleIndex  )  [static]
 

Get a translation locale at a particular index.

Parameters:
LocaleIndex Locale Index


The documentation for this class was generated from the following file: