diff options
author | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-09 04:20:11 +0000 |
---|---|---|
committer | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-09 04:20:11 +0000 |
commit | 8dd7df7bc379f782c273ca6182f93cccef5ae8fa (patch) | |
tree | 25ecaede242dbdd06ebcaa464d9e5be6d4ec37a2 /ace/CDR_Stream.h | |
parent | 4b3483ce852c77497e7ab397c27877bcd03a8de1 (diff) | |
download | ATCD-8dd7df7bc379f782c273ca6182f93cccef5ae8fa.tar.gz |
ChangeLogTag:Thu Jul 8 23:15:06 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
Diffstat (limited to 'ace/CDR_Stream.h')
-rw-r--r-- | ace/CDR_Stream.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ace/CDR_Stream.h b/ace/CDR_Stream.h index bc01de7015f..f1e40d00864 100644 --- a/ace/CDR_Stream.h +++ b/ace/CDR_Stream.h @@ -729,9 +729,8 @@ public: // Re-initialize the CDR stream, copying the contents of the chain // of message_blocks starting from <data>. - ACE_Message_Block * steal_contents (void); - // Re-initialize the CDR stream, copying the contents of the chain - // of message_blocks starting from <data>. + ACE_Message_Block *steal_contents (void); + // Steal the contents from the currect CDR. void reset_contents (void); // Re-initialize the CDR stream, forgetting about the old contents @@ -753,6 +752,10 @@ public: // If non-zero then this stream is writing in non-native byte order, // this is only meaningful if ACE_ENABLE_SWAP_ON_WRITE is defined. + int byte_order (void) const; + // If <do_byte_swap> returns 1, this returns ACE_CDR_BYTE_ORDER else + // it returns ~ACE_CDR_BYTE_ORDER. + ACE_Char_Codeset_Translator *char_translator (void) const; ACE_WChar_Codeset_Translator *wchar_translator (void) const; // Access the codeset translators. They can be nil! |