#include <CDR_Stream.h>
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.
Definition at line 1097 of file CDR_Stream.h.
|
|
Definition at line 1696 of file CDR_Stream.cpp.
01697 {
01698 }
|
|
||||||||||||||||||||
|
Exposes the stream implementation of , this is useful in many cases to minimize memory allocations during marshaling. On success will contain a contiguous area in the CDR stream that can hold bytes aligned to . Results Definition at line 1705 of file CDR_Stream.inl. References ACE_OutputCDR::adjust().
01709 {
01710 return out.adjust(size, align, buf);
01711 }
|
|
||||||||||||
|
Used by derived classes to set errors in the CDR stream.
Definition at line 1714 of file CDR_Stream.inl. References ACE_OutputCDR::good_bit_.
01715 {
01716 out.good_bit_ = bit;
01717 }
|
|
|
Definition at line 1732 of file CDR_Stream.inl. References ACE_OutputCDR::major_version_.
01733 {
01734 return output.major_version_;
01735 }
|
|
|
Obtain the CDR Stream's major & minor version values.
Definition at line 1720 of file CDR_Stream.inl. References ACE_InputCDR::major_version_.
01721 {
01722 return input.major_version_;
01723 }
|
|
|
Definition at line 1738 of file CDR_Stream.inl. References ACE_OutputCDR::minor_version_.
01739 {
01740 return output.minor_version_;
01741 }
|
|
|
Definition at line 1726 of file CDR_Stream.inl. References ACE_InputCDR::minor_version_.
01727 {
01728 return input.minor_version_;
01729 }
|
|
|
|
|
||||||||||||
|
Children have access to low-level routines because they cannot use read_char or something similar (it would recurse). Definition at line 1643 of file CDR_Stream.inl. References ACE_CDR::Octet, and ACE_InputCDR::read_1().
01645 {
01646 return input.read_1 (x);
01647 }
|
|
||||||||||||
|
Definition at line 1650 of file CDR_Stream.inl. References ACE_InputCDR::read_2(), and ACE_CDR::UShort.
01652 {
01653 return input.read_2 (x);
01654 }
|
|
||||||||||||
|
Definition at line 1657 of file CDR_Stream.inl. References ACE_InputCDR::read_4(), and ACE_CDR::ULong.
01659 {
01660 return input.read_4 (x);
01661 }
|
|
||||||||||||||||||||||||
|
Efficiently read elements of size each from into ; the data must be aligned to . Definition at line 1685 of file CDR_Stream.inl. References ACE_InputCDR::read_array(), and ACE_CDR::ULong.
01690 {
01691 return in.read_array (x, size, align, length);
01692 }
|
|
||||||||||||
|
Referenced by ACE_InputCDR::read_wchar(). |
|
||||||||||||||||
|
Referenced by ACE_InputCDR::read_wchar_array(). |
|
||||||||||||
|
Referenced by ACE_InputCDR::read_wstring(). |
|
|
|
|
||||||||||||
|
Definition at line 1664 of file CDR_Stream.inl. References ACE_CDR::Octet, and ACE_OutputCDR::write_1().
01666 {
01667 return output.write_1 (x);
01668 }
|
|
||||||||||||
|
Definition at line 1671 of file CDR_Stream.inl. References ACE_CDR::UShort, and ACE_OutputCDR::write_2().
01673 {
01674 return output.write_2 (x);
01675 }
|
|
||||||||||||
|
Definition at line 1678 of file CDR_Stream.inl. References ACE_CDR::ULong, and ACE_OutputCDR::write_4().
01680 {
01681 return output.write_4 (x);
01682 }
|
|
||||||||||||||||||||||||
|
Efficiently write elements of size from into . Before inserting the elements enough padding is added to ensure that the elements will be aligned to in the stream. Definition at line 1695 of file CDR_Stream.inl. References ACE_CDR::ULong, and ACE_OutputCDR::write_array().
01700 {
01701 return out.write_array(x, size, align, length);
01702 }
|
|
||||||||||||
|
Referenced by ACE_OutputCDR::write_wchar(). |
|
||||||||||||||||
|
Referenced by ACE_OutputCDR::write_wchar_array(). |
|
||||||||||||||||
|
Referenced by ACE_OutputCDR::write_wstring(). |
1.3.6