|
Public Methods |
virtual | ~ACE_Char_Codeset_Translator () |
virtual ACE_CDR::Boolean | read_char (ACE_InputCDR &, ACE_CDR::Char &)=0 |
virtual ACE_CDR::Boolean | read_string (ACE_InputCDR &, ACE_CDR::Char *&)=0 |
virtual ACE_CDR::Boolean | read_char_array (ACE_InputCDR &, ACE_CDR::Char *, ACE_CDR::ULong)=0 |
virtual ACE_CDR::Boolean | write_char (ACE_OutputCDR &, ACE_CDR::Char)=0 |
virtual ACE_CDR::Boolean | write_string (ACE_OutputCDR &, ACE_CDR::ULong, const ACE_CDR::Char *)=0 |
virtual ACE_CDR::Boolean | write_char_array (ACE_OutputCDR &, const ACE_CDR::Char *, ACE_CDR::ULong)=0 |
virtual ACE_CDR::ULong | ncs ()=0 |
virtual ACE_CDR::ULong | tcs ()=0 |
Protected Methods |
ACE_CDR::Boolean | read_1 (ACE_InputCDR &input, ACE_CDR::Octet *x) |
ACE_CDR::Boolean | write_1 (ACE_OutputCDR &output, const ACE_CDR::Octet *x) |
ACE_CDR::Boolean | read_array (ACE_InputCDR &input, void *x, size_t size, size_t align, ACE_CDR::ULong length) |
ACE_CDR::Boolean | write_array (ACE_OutputCDR &output, const void *x, size_t size, size_t align, ACE_CDR::ULong length) |
int | adjust (ACE_OutputCDR &out, size_t size, size_t align, char *&buf) |
void | good_bit (ACE_OutputCDR &out, int bit) |
| Used by derived classes to set errors in the CDR stream.
|
ACE_CDR::Octet | major_version (ACE_InputCDR &input) |
| Obtain the CDR Stream's major & minor version values.
|
ACE_CDR::Octet | minor_version (ACE_InputCDR &input) |
ACE_CDR::Octet | major_version (ACE_OutputCDR &output) |
ACE_CDR::Octet | minor_version (ACE_OutputCDR &output) |
This class is a base class for defining codeset translation routines to handle the character set translations required by both CDR Input streams and CDR Output streams.
Translators are reference counted. This allows for stateful as well as stateless translators. Stateless translators will be allocated once whereas CDR Streams own their own copy of a stateful translator.