summaryrefslogtreecommitdiff
path: root/TAO/tao/Sequence.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-20 05:11:47 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-20 05:11:47 +0000
commit2c408e080f8fb72e72fbbf43d529faff471011cd (patch)
treea352ed9f55d048f43cf0202c53c5c5716b54bf3f /TAO/tao/Sequence.h
parentc55a1223e913c285cb16ed10e3dd4e9a93c9ce39 (diff)
downloadATCD-2c408e080f8fb72e72fbbf43d529faff471011cd.tar.gz
ChangeLogTag:Sat Jun 20 00:00:56 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Sequence.h')
-rw-r--r--TAO/tao/Sequence.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/tao/Sequence.h b/TAO/tao/Sequence.h
index 763319583ed..dd92c0d5616 100644
--- a/TAO/tao/Sequence.h
+++ b/TAO/tao/Sequence.h
@@ -435,9 +435,22 @@ public:
// consistent with the CORBA calling semantics, return values are
// owned by the caller).
+ void replace (CORBA::ULong length, const ACE_Message_Block* mb);
+ // Replaces the current buffer with <mb>, using only <length> bytes.
+ // It takes a duplicate of <mb>.
+
+ friend TAO_OutputCDR&
+ operator <<(TAO_OutputCDR&,
+ const TAO_Unbounded_Sequence<CORBA::Octet>&);
+
+ friend TAO_InputCDR&
+ operator <<(TAO_InputCDR&,
+ TAO_Unbounded_Sequence<CORBA::Octet>&);
+
private:
ACE_Message_Block* mb_;
};
+
#endif /* defined (TAO_NO_COPY_OCTET_SEQUENCES) */
// ****************************************************************