|
| TAO_InputCDR (const char *buf, size_t bufsiz, int byte_order=ACE_CDR_BYTE_ORDER, ACE_CDR::Octet major_version=TAO_DEF_GIOP_MAJOR, ACE_CDR::Octet minor_version=TAO_DEF_GIOP_MINOR, TAO_ORB_Core *orb_core=0) |
|
| TAO_InputCDR (size_t bufsiz, int byte_order=ACE_CDR_BYTE_ORDER, ACE_CDR::Octet major_version=TAO_DEF_GIOP_MAJOR, ACE_CDR::Octet minor_version=TAO_DEF_GIOP_MINOR, TAO_ORB_Core *orb_core=0) |
|
| TAO_InputCDR (const ACE_Message_Block *data, int byte_order=ACE_CDR_BYTE_ORDER, ACE_CDR::Octet major_version=TAO_DEF_GIOP_MAJOR, ACE_CDR::Octet minor_version=TAO_DEF_GIOP_MINOR, TAO_ORB_Core *orb_core=0) |
| Create an input stream from an ACE_Message_Block. More...
|
|
| TAO_InputCDR (const ACE_Message_Block *data, ACE_Lock *lock, int byte_order=ACE_CDR_BYTE_ORDER, ACE_CDR::Octet major_version=TAO_DEF_GIOP_MAJOR, ACE_CDR::Octet minor_version=TAO_DEF_GIOP_MINOR, TAO_ORB_Core *orb_core=0) |
|
| TAO_InputCDR (ACE_Data_Block *data, ACE_Message_Block::Message_Flags flag=0, int byte_order=ACE_CDR_BYTE_ORDER, ACE_CDR::Octet major_version=TAO_DEF_GIOP_MAJOR, ACE_CDR::Octet minor_version=TAO_DEF_GIOP_MINOR, TAO_ORB_Core *orb_core=0) |
| Create an input stream from an ACE_Data_Block. More...
|
|
| TAO_InputCDR (ACE_Data_Block *data, ACE_Message_Block::Message_Flags flag, size_t read_pointer_position, size_t write_pointer_position, int byte_order=ACE_CDR_BYTE_ORDER, ACE_CDR::Octet major_version=TAO_DEF_GIOP_MAJOR, ACE_CDR::Octet minor_version=TAO_DEF_GIOP_MINOR, TAO_ORB_Core *orb_core=0) |
| Create an input stream from an ACE_Data_Block. More...
|
|
| TAO_InputCDR (const TAO_InputCDR &rhs) |
|
| TAO_InputCDR (const TAO_InputCDR &rhs, size_t size, ACE_CDR::Long offset) |
|
| TAO_InputCDR (const TAO_InputCDR &rhs, size_t size) |
|
| TAO_InputCDR (const TAO_OutputCDR &rhs, ACE_Allocator *buffer_allocator=0, ACE_Allocator *data_block_allocator=0, ACE_Allocator *message_block_allocator=0, TAO_ORB_Core *orb_core=0) |
| Create an input CDR from an output CDR. More...
|
|
| TAO_InputCDR (ACE_InputCDR::Transfer_Contents rhs, TAO_ORB_Core *orb_core=0) |
|
virtual | ~TAO_InputCDR (void) |
| Destructor. More...
|
|
TAO_ORB_Core * | orb_core (void) const |
| Accessor. More...
|
|
ACE_Message_Block::Message_Flags | clr_mb_flags (ACE_Message_Block::Message_Flags less_flags) |
|
Repo_Id_Map_Handle & | get_repo_id_map () |
|
Codebase_URL_Map_Handle & | get_codebase_url_map () |
|
Value_Map_Handle & | get_value_map () |
|
void | set_repo_id_map (Repo_Id_Map_Handle &map) |
|
void | set_codebase_url_map (Codebase_URL_Map_Handle &map) |
|
void | set_value_map (Value_Map_Handle &map) |
|
void | reset_vt_indirect_maps () |
|
| ACE_InputCDR (const char *buf, size_t bufsiz, int byte_order=ACE_CDR::BYTE_ORDER_NATIVE, ACE_CDR::Octet major_version=ACE_CDR_GIOP_MAJOR_VERSION, ACE_CDR::Octet minor_version=ACE_CDR_GIOP_MINOR_VERSION) |
|
| ACE_InputCDR (size_t bufsiz, int byte_order=ACE_CDR::BYTE_ORDER_NATIVE, ACE_CDR::Octet major_version=ACE_CDR_GIOP_MAJOR_VERSION, ACE_CDR::Octet minor_version=ACE_CDR_GIOP_MINOR_VERSION) |
|
| ACE_InputCDR (const ACE_Message_Block *data, int byte_order=ACE_CDR::BYTE_ORDER_NATIVE, ACE_CDR::Octet major_version=ACE_CDR_GIOP_MAJOR_VERSION, ACE_CDR::Octet minor_version=ACE_CDR_GIOP_MINOR_VERSION, ACE_Lock *lock=0) |
|
| ACE_InputCDR (ACE_Data_Block *data, ACE_Message_Block::Message_Flags flag=0, int byte_order=ACE_CDR::BYTE_ORDER_NATIVE, ACE_CDR::Octet major_version=ACE_CDR_GIOP_MAJOR_VERSION, ACE_CDR::Octet minor_version=ACE_CDR_GIOP_MINOR_VERSION) |
|
| ACE_InputCDR (ACE_Data_Block *data, ACE_Message_Block::Message_Flags flag, size_t read_pointer_position, size_t write_pointer_position, int byte_order=ACE_CDR::BYTE_ORDER_NATIVE, ACE_CDR::Octet major_version=ACE_CDR_GIOP_MAJOR_VERSION, ACE_CDR::Octet minor_version=ACE_CDR_GIOP_MINOR_VERSION) |
|
| ACE_InputCDR (const ACE_InputCDR &rhs) |
|
ACE_InputCDR & | operator= (const ACE_InputCDR &rhs) |
|
| ACE_InputCDR (const ACE_InputCDR &rhs, size_t size, ACE_CDR::Long offset) |
|
| ACE_InputCDR (const ACE_InputCDR &rhs, size_t size) |
|
| ACE_InputCDR (const ACE_OutputCDR &rhs, ACE_Allocator *buffer_allocator=0, ACE_Allocator *data_block_allocator=0, ACE_Allocator *message_block_allocator=0) |
|
| ACE_InputCDR (Transfer_Contents rhs) |
|
virtual | ~ACE_InputCDR (void) |
|
ACE_CDR::Boolean | skip_wstring (void) |
|
ACE_CDR::Boolean | skip_string (void) |
|
ACE_CDR::Boolean | skip_bytes (size_t n) |
|
bool | good_bit (void) const |
|
const ACE_Message_Block * | start (void) const |
|
int | grow (size_t newsize) |
|
void | reset_byte_order (int byte_order) |
|
void | reset (const ACE_Message_Block *data, int byte_order) |
|
ACE_Message_Block * | steal_contents (void) |
|
void | steal_from (ACE_InputCDR &cdr) |
|
void | exchange_data_blocks (ACE_InputCDR &cdr) |
|
ACE_Data_Block * | clone_from (ACE_InputCDR &cdr) |
|
void | reset_contents (void) |
|
char * | rd_ptr (void) |
|
char * | wr_ptr (void) |
|
size_t | length (void) const |
|
int | align_read_ptr (size_t alignment) |
|
bool | do_byte_swap (void) const |
|
int | byte_order (void) const |
|
ACE_Char_Codeset_Translator * | char_translator (void) const |
|
ACE_WChar_Codeset_Translator * | wchar_translator (void) const |
|
void | char_translator (ACE_Char_Codeset_Translator *) |
|
void | wchar_translator (ACE_WChar_Codeset_Translator *) |
|
int | adjust (size_t size, char *&buf) |
|
int | adjust (size_t size, size_t align, char *&buf) |
|
void | set_version (ACE_CDR::Octet major, ACE_CDR::Octet minor) |
|
void | get_version (ACE_CDR::Octet &major, ACE_CDR::Octet &minor) |
|
ACE_CDR::Boolean | read_boolean (ACE_CDR::Boolean &x) |
|
ACE_CDR::Boolean | read_char (ACE_CDR::Char &x) |
|
ACE_CDR::Boolean | read_wchar (ACE_CDR::WChar &x) |
|
ACE_CDR::Boolean | read_octet (ACE_CDR::Octet &x) |
|
ACE_CDR::Boolean | read_short (ACE_CDR::Short &x) |
|
ACE_CDR::Boolean | read_ushort (ACE_CDR::UShort &x) |
|
ACE_CDR::Boolean | read_long (ACE_CDR::Long &x) |
|
ACE_CDR::Boolean | read_ulong (ACE_CDR::ULong &x) |
|
ACE_CDR::Boolean | read_longlong (ACE_CDR::LongLong &x) |
|
ACE_CDR::Boolean | read_ulonglong (ACE_CDR::ULongLong &x) |
|
ACE_CDR::Boolean | read_float (ACE_CDR::Float &x) |
|
ACE_CDR::Boolean | read_double (ACE_CDR::Double &x) |
|
ACE_CDR::Boolean | read_longdouble (ACE_CDR::LongDouble &x) |
|
ACE_CDR::Boolean | read_fixed (ACE_CDR::Fixed &x) |
|
ACE_CDR::Boolean | read_string (ACE_CDR::Char *&x) |
|
ACE_CDR::Boolean | read_string (ACE_CString &x) |
|
ACE_CDR::Boolean | read_wstring (ACE_CDR::WChar *&x) |
|
ACE_CDR::Boolean | read_boolean_array (ACE_CDR::Boolean *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_char_array (ACE_CDR::Char *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_wchar_array (ACE_CDR::WChar *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_octet_array (ACE_CDR::Octet *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_short_array (ACE_CDR::Short *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_ushort_array (ACE_CDR::UShort *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_long_array (ACE_CDR::Long *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_ulong_array (ACE_CDR::ULong *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_longlong_array (ACE_CDR::LongLong *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_ulonglong_array (ACE_CDR::ULongLong *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_float_array (ACE_CDR::Float *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_double_array (ACE_CDR::Double *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_longdouble_array (ACE_CDR::LongDouble *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | skip_boolean (void) |
|
ACE_CDR::Boolean | skip_char (void) |
|
ACE_CDR::Boolean | skip_wchar (void) |
|
ACE_CDR::Boolean | skip_octet (void) |
|
ACE_CDR::Boolean | skip_short (void) |
|
ACE_CDR::Boolean | skip_ushort (void) |
|
ACE_CDR::Boolean | skip_long (void) |
|
ACE_CDR::Boolean | skip_ulong (void) |
|
ACE_CDR::Boolean | skip_longlong (void) |
|
ACE_CDR::Boolean | skip_ulonglong (void) |
|
ACE_CDR::Boolean | skip_float (void) |
|
ACE_CDR::Boolean | skip_double (void) |
|
ACE_CDR::Boolean | skip_longdouble (void) |
|
ACE_CDR::Boolean | skip_fixed (void) |
|
ACE_CDR::Boolean | read_boolean (ACE_CDR::Boolean &x) |
|
ACE_CDR::Boolean | read_char (ACE_CDR::Char &x) |
|
ACE_CDR::Boolean | read_wchar (ACE_CDR::WChar &x) |
|
ACE_CDR::Boolean | read_octet (ACE_CDR::Octet &x) |
|
ACE_CDR::Boolean | read_short (ACE_CDR::Short &x) |
|
ACE_CDR::Boolean | read_ushort (ACE_CDR::UShort &x) |
|
ACE_CDR::Boolean | read_long (ACE_CDR::Long &x) |
|
ACE_CDR::Boolean | read_ulong (ACE_CDR::ULong &x) |
|
ACE_CDR::Boolean | read_longlong (ACE_CDR::LongLong &x) |
|
ACE_CDR::Boolean | read_ulonglong (ACE_CDR::ULongLong &x) |
|
ACE_CDR::Boolean | read_float (ACE_CDR::Float &x) |
|
ACE_CDR::Boolean | read_double (ACE_CDR::Double &x) |
|
ACE_CDR::Boolean | read_longdouble (ACE_CDR::LongDouble &x) |
|
ACE_CDR::Boolean | read_fixed (ACE_CDR::Fixed &x) |
|
ACE_CDR::Boolean | read_string (ACE_CDR::Char *&x) |
|
ACE_CDR::Boolean | read_string (ACE_CString &x) |
|
ACE_CDR::Boolean | read_wstring (ACE_CDR::WChar *&x) |
|
ACE_CDR::Boolean | read_boolean_array (ACE_CDR::Boolean *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_char_array (ACE_CDR::Char *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_wchar_array (ACE_CDR::WChar *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_octet_array (ACE_CDR::Octet *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_short_array (ACE_CDR::Short *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_ushort_array (ACE_CDR::UShort *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_long_array (ACE_CDR::Long *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_ulong_array (ACE_CDR::ULong *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_longlong_array (ACE_CDR::LongLong *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_ulonglong_array (ACE_CDR::ULongLong *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_float_array (ACE_CDR::Float *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_double_array (ACE_CDR::Double *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | read_longdouble_array (ACE_CDR::LongDouble *x, ACE_CDR::ULong length) |
|
ACE_CDR::Boolean | skip_boolean (void) |
|
ACE_CDR::Boolean | skip_char (void) |
|
ACE_CDR::Boolean | skip_wchar (void) |
|
ACE_CDR::Boolean | skip_octet (void) |
|
ACE_CDR::Boolean | skip_short (void) |
|
ACE_CDR::Boolean | skip_ushort (void) |
|
ACE_CDR::Boolean | skip_long (void) |
|
ACE_CDR::Boolean | skip_ulong (void) |
|
ACE_CDR::Boolean | skip_longlong (void) |
|
ACE_CDR::Boolean | skip_ulonglong (void) |
|
ACE_CDR::Boolean | skip_float (void) |
|
ACE_CDR::Boolean | skip_double (void) |
|
ACE_CDR::Boolean | skip_longdouble (void) |
|
ACE_CDR::Boolean | skip_fixed (void) |
|
A CDR stream for reading, i.e. for demarshalling.
This class is based on the the CORBA spec for Java (98-02-29), java class omg.org.CORBA.portable.InputStream. It diverts in a few ways:
- Operations to retrieve basic types take parameters by reference.
- Operations taking arrays don't have offsets, because in C++ it is easier to describe an array starting from x+offset.
- Operations return an error status, because exceptions are not widely available in C++ (yet). A particularly useful static member function for this buffer is an interpretive encoding routine, usable as a typecode interpreter callback. Ditto for decoding. These are used to support all OMG-IDL datatypes, even those not supported directly by put/get primitives.