diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-31 21:28:03 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-31 21:28:03 +0000 |
commit | eaba4c74aaaaa69bd6ee4138b41340a6fcc99866 (patch) | |
tree | 7f225d7900e14cc068d5d22b0d20f65f36dc1e4c /ace/CDR_Stream.h | |
parent | 94740e6ef45cf052d8e46466710257c807677ae9 (diff) | |
download | ATCD-eaba4c74aaaaa69bd6ee4138b41340a6fcc99866.tar.gz |
Added and updated some comments.
Diffstat (limited to 'ace/CDR_Stream.h')
-rw-r--r-- | ace/CDR_Stream.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ace/CDR_Stream.h b/ace/CDR_Stream.h index 22634aefbc3..f971200b063 100644 --- a/ace/CDR_Stream.h +++ b/ace/CDR_Stream.h @@ -414,6 +414,7 @@ public: // Return the <current_> message block in chain. const char *buffer (void) const; + // Access the underlying buffer (read only). size_t length (void) const; // Return the start and size of the internal buffer. NOTE: This @@ -544,9 +545,9 @@ public: ACE_InputCDR (const ACE_InputCDR& rhs); ACE_InputCDR& operator= (const ACE_InputCDR& rhs); - // Make a copy of the current stream state, but does not copy the - // internal buffer; so the same stream can be read multiple times - // efficiently. + // These make a copy of the current stream state, but do not copy + // the internal buffer, so the same stream can be read multiple + // times efficiently. ACE_InputCDR (const ACE_InputCDR& rhs, size_t size, @@ -744,8 +745,10 @@ private: // for that case, but that would be too platform dependent. void rd_ptr (size_t offset); + // Move the rd_ptr ahead by <offset> bytes. + char* end (void); - // Short cuts for the underlying message block. + // Points to the continuation field of the current message block. int adjust (size_t size, char *&buf); |