#include <Codeset_Translator_Factory_T.h>
Inheritance diagram for TAO_Codeset_Translator_Factory_T< NCS_TO_TCS >:
Public Member Functions | |
TAO_Codeset_Translator_Factory_T () | |
virtual | ~TAO_Codeset_Translator_Factory_T () |
int | init (int argc, ACE_TCHAR *argv[]) |
Initialize the factory service object. Instantiates the translator. | |
CONV_FRAME::CodeSetId | ncs () const |
ncs returns the translator's native codeset ID. | |
CONV_FRAME::CodeSetId | tcs () const |
tcs returns the translator's transmission codeset ID. | |
virtual void | assign (TAO_InputCDR *) const |
virtual void | assign (TAO_OutputCDR *) const |
Private Attributes | |
NCS_TO_TCS * | translator_ |
The template argument is the actual translator class. The factory creates an instance of the translator during initialization. Other than that, the template returns the actual values for the native and translated codeset ids, and performs the translator assignment to the CDR objects as needed.
|
|
|
|
|
Assign the translator to the output CDR. The inherited assign_i is used to assign either a char or wchar translator, depending on the base type of NCS_TO_TCS. A null output CDR is permitted, in which case assign is a no-op. Implements TAO_Codeset_Translator_Factory. |
|
Assign the translator to the input CDR. The inherited assign_i is used to assign either a char or wchar translator, depending on the base type of NCS_TO_TCS. A null input CDR is permitted, in which case assign is a no-op. Implements TAO_Codeset_Translator_Factory. |
|
Initialize the factory service object. Instantiates the translator.
Reimplemented from TAO_Codeset_Translator_Factory. |
|
ncs returns the translator's native codeset ID.
Implements TAO_Codeset_Translator_Factory. |
|
tcs returns the translator's transmission codeset ID.
Implements TAO_Codeset_Translator_Factory. |
|
|