diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-20 05:11:47 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-20 05:11:47 +0000 |
commit | 2c408e080f8fb72e72fbbf43d529faff471011cd (patch) | |
tree | a352ed9f55d048f43cf0202c53c5c5716b54bf3f /TAO/tao/Sequence.h | |
parent | c55a1223e913c285cb16ed10e3dd4e9a93c9ce39 (diff) | |
download | ATCD-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.h | 13 |
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) */ // **************************************************************** |