diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-01 19:35:46 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-01 19:35:46 +0000 |
commit | d13924a100dd1ddd725d4035bc1d37c49afe1f33 (patch) | |
tree | 15b95c9311ce5d13746bbbf121144a69df91a16c /ace/CDR_Stream.i | |
parent | 317047c9e70236190c9bb3fc5046b960da8219c6 (diff) | |
download | ATCD-d13924a100dd1ddd725d4035bc1d37c49afe1f33.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/CDR_Stream.i')
-rw-r--r-- | ace/CDR_Stream.i | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ace/CDR_Stream.i b/ace/CDR_Stream.i index ce6541b006b..e25031ad2f9 100644 --- a/ace/CDR_Stream.i +++ b/ace/CDR_Stream.i @@ -142,6 +142,30 @@ ACE_InputCDR::to_string::to_string (ACE_CDR::Char *&s, // **************************************************************** +ACE_INLINE +ACE_OutputCDR::~ACE_OutputCDR (void) +{ + if (this->start_.cont () != 0) + { + ACE_Message_Block::release (this->start_.cont ()); + this->start_.cont (0); + } + this->current_ = 0; +} + +ACE_INLINE void +ACE_OutputCDR::reset (void) +{ + this->current_ = &this->start_; + ACE_CDR::mb_align (&this->start_); +} + +ACE_INLINE size_t +ACE_OutputCDR::total_length (void) const +{ + return ACE_CDR::total_length (this->begin (), this->end ()); +} + // Decode the CDR stream. ACE_INLINE ACE_CDR::Boolean @@ -442,6 +466,10 @@ ACE_OutputCDR::align_write_ptr (size_t alignment) // **************************************************************** +ACE_InputCDR::~ACE_InputCDR (void) +{ +} + ACE_INLINE ACE_CDR::Boolean ACE_InputCDR::read_octet (ACE_CDR::Octet& x) { |