#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 1106 of file CDR_Stream.h.
|
Definition at line 1793 of file CDR_Stream.cpp.
01794 { 01795 } |
|
Exposes the stream implementation of , 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 . Results Definition at line 1662 of file CDR_Stream.inl. References ACE_OutputCDR::adjust().
01666 { 01667 return out.adjust(size, align, buf); 01668 } |
|
Used by derived classes to set errors in the CDR stream.
Definition at line 1671 of file CDR_Stream.inl. References ACE_OutputCDR::good_bit_.
01672 { 01673 out.good_bit_ = bit; 01674 } |
|
Definition at line 1689 of file CDR_Stream.inl. References ACE_OutputCDR::major_version_.
01690 { 01691 return output.major_version_; 01692 } |
|
Obtain the CDR Stream's major & minor version values.
Definition at line 1677 of file CDR_Stream.inl. References ACE_InputCDR::major_version_.
01678 { 01679 return input.major_version_; 01680 } |
|
Definition at line 1695 of file CDR_Stream.inl. References ACE_OutputCDR::minor_version_.
01696 { 01697 return output.minor_version_; 01698 } |
|
Definition at line 1683 of file CDR_Stream.inl. References ACE_InputCDR::minor_version_.
01684 { 01685 return input.minor_version_; 01686 } |
|
|
|
Children have access to low-level routines because they cannot use read_char or something similar (it would recurse). Definition at line 1600 of file CDR_Stream.inl. References ACE_CDR::Octet, and ACE_InputCDR::read_1().
01602 { 01603 return input.read_1 (x); 01604 } |
|
Definition at line 1607 of file CDR_Stream.inl. References ACE_InputCDR::read_2(), and ACE_CDR::UShort.
01609 { 01610 return input.read_2 (x); 01611 } |
|
Definition at line 1614 of file CDR_Stream.inl. References ACE_InputCDR::read_4(), and ACE_CDR::ULong.
01616 { 01617 return input.read_4 (x); 01618 } |
|
Efficiently read length elements of size size each from into ; the data must be aligned to . Definition at line 1642 of file CDR_Stream.inl. References ACE_InputCDR::read_array(), and ACE_CDR::ULong.
01647 { 01648 return in.read_array (x, size, align, length); 01649 } |
|
Referenced by ACE_InputCDR::read_wchar(). |
|
Referenced by ACE_InputCDR::read_wchar_array(). |
|
Referenced by ACE_InputCDR::read_wstring(). |
|
|
|
Definition at line 1621 of file CDR_Stream.inl. References ACE_CDR::Octet, and ACE_OutputCDR::write_1().
01623 { 01624 return output.write_1 (x); 01625 } |
|
Definition at line 1628 of file CDR_Stream.inl. References ACE_CDR::UShort, and ACE_OutputCDR::write_2().
01630 { 01631 return output.write_2 (x); 01632 } |
|
Definition at line 1635 of file CDR_Stream.inl. References ACE_CDR::ULong, and ACE_OutputCDR::write_4().
01637 { 01638 return output.write_4 (x); 01639 } |
|
Efficiently write length elements of size 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 1652 of file CDR_Stream.inl. References ACE_CDR::ULong, and ACE_OutputCDR::write_array().
01657 { 01658 return out.write_array(x, size, align, length); 01659 } |
|
Referenced by ACE_OutputCDR::write_wchar(). |
|
Referenced by ACE_OutputCDR::write_wchar_array(). |
|
Referenced by ACE_OutputCDR::write_wstring(). |