diff options
Diffstat (limited to 'ace/CDR_Stream.h')
-rw-r--r-- | ace/CDR_Stream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/CDR_Stream.h b/ace/CDR_Stream.h index f1e40d00864..95efb66f46a 100644 --- a/ace/CDR_Stream.h +++ b/ace/CDR_Stream.h @@ -732,6 +732,10 @@ public: ACE_Message_Block *steal_contents (void); // Steal the contents from the currect CDR. + void steal_from (ACE_InputCDR &cdr); + // Steal the contents of <cdr> and make a shallow copy into this + // stream. + void reset_contents (void); // Re-initialize the CDR stream, forgetting about the old contents // of the stream and allocating a new buffer (from the allocators). |