summaryrefslogtreecommitdiff
path: root/ace/CDR_Stream.h
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-06-17 22:31:13 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-06-17 22:31:13 +0000
commit40d990379172df9205c15cb5d03f1942c3fa62b6 (patch)
tree6bcd3791650e2db27e5c2182b4056070f58f8d68 /ace/CDR_Stream.h
parent3782f3dfdffd60ee98f845e0ccef6c5038f5830c (diff)
downloadATCD-40d990379172df9205c15cb5d03f1942c3fa62b6.tar.gz
ChangeLogTag:Sat Jun 17 17:33:36 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'ace/CDR_Stream.h')
-rw-r--r--ace/CDR_Stream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/CDR_Stream.h b/ace/CDR_Stream.h
index a973fe071e9..5c8388d3e82 100644
--- a/ace/CDR_Stream.h
+++ b/ace/CDR_Stream.h
@@ -724,6 +724,12 @@ public:
/// Note: We now do only with the start_ message block.
void exchange_data_blocks (ACE_InputCDR &cdr);
+ /// Copy the data portion from the <cdr> to this cdr and return the
+ /// data content (ie. the ACE_Data_Block) from this CDR to the
+ /// caller. The caller is responsible for managing the memory of the
+ /// returned ACE_Data_Block.
+ ACE_Data_Block* clone_from (ACE_InputCDR &cdr);
+
/// Re-initialize the CDR stream, forgetting about the old contents
/// of the stream and allocating a new buffer (from the allocators).
void reset_contents (void);