ACE 8.0.2
|
Codeset translation routines common to both Output and Input CDR streams. More...
#include <CDR_Stream.h>
Public Member Functions | |
virtual | ~ACE_WChar_Codeset_Translator ()=default |
virtual ACE_CDR::Boolean | read_wchar (ACE_InputCDR &, ACE_CDR::WChar &)=0 |
virtual ACE_CDR::Boolean | read_wstring (ACE_InputCDR &, ACE_CDR::WChar *&)=0 |
virtual ACE_CDR::Boolean | read_wstring (ACE_InputCDR &, std::wstring &) |
virtual ACE_CDR::Boolean | read_wchar_array (ACE_InputCDR &, ACE_CDR::WChar *, ACE_CDR::ULong)=0 |
virtual ACE_CDR::Boolean | write_wchar (ACE_OutputCDR &, ACE_CDR::WChar)=0 |
virtual ACE_CDR::Boolean | write_wstring (ACE_OutputCDR &, ACE_CDR::ULong, const ACE_CDR::WChar *)=0 |
virtual ACE_CDR::Boolean | write_wchar_array (ACE_OutputCDR &, const ACE_CDR::WChar *, ACE_CDR::ULong)=0 |
virtual ACE_CDR::ULong | ncs ()=0 |
virtual ACE_CDR::ULong | tcs ()=0 |
Codeset translation routines common to both Output and Input CDR streams.
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.
|
virtualdefault |
|
inlineprotected |
Exposes the stream implementation of adjust, this is useful in many cases to minimize memory allocations during marshaling. On success buf will contain a contiguous area in the CDR stream that can hold size bytes aligned to align. Results
|
inlineprotected |
Used by derived classes to set errors in the CDR stream.
|
inlineprotected |
Obtain the CDR Stream's major & minor version values.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
pure virtual |
|
inlineprotected |
Children have access to low-level routines because they cannot use read_char or something similar (it would recurse).
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Efficiently read length elements of size size each from input into x; the data must be aligned to align.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
virtual |
Read a std::wstring from the stream, including the length, converting the characters from the stream codeset to the native codeset (provide non-optimized default implementation)
|
pure virtual |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Efficiently write length elements of size size from x into output. Before inserting the elements enough padding is added to ensure that the elements will be aligned to align in the stream.
|
pure virtual |
|
pure virtual |
|
pure virtual |