#include <Sequence.h>
Inheritance diagram for TAO_Unbounded_Sequence< CORBA::Octet >:
see TAO_Unbounded_Sequence in "Sequence_T.h"
ACE_INLINE TAO_Unbounded_Sequence< CORBA::Octet >::TAO_Unbounded_Sequence | ( | CORBA::ULong | max, | |
CORBA::ULong | length, | |||
CORBA::Octet * | data, | |||
CORBA::Boolean | release = 0 | |||
) |
TAO_Unbounded_Sequence< CORBA::Octet >::~TAO_Unbounded_Sequence | ( | void | ) | [virtual] |
TAO_Unbounded_Sequence< CORBA::Octet >::TAO_Unbounded_Sequence | ( | const TAO_Unbounded_Sequence< CORBA::Octet > & | ) |
The copy constructor and assignment operators *do* copy the data, though we could simply duplicate the ref count in the ACE_Message_Block this will change the semantics for this operations.
TAO_Unbounded_Sequence< CORBA::Octet >::TAO_Unbounded_Sequence | ( | CORBA::ULong | length, | |
const ACE_Message_Block * | mb | |||
) |
Create a sequence of octets from a single message block (i.e. it ignores any chaining in the meesage block).
void TAO_Unbounded_Sequence< CORBA::Octet >::_allocate_buffer | ( | CORBA::ULong | length | ) | [virtual] |
Implement the methods for all the sequence, please see TAO_Base_Sequence.
Implements TAO_Base_Sequence.
void TAO_Unbounded_Sequence< CORBA::Octet >::_deallocate_buffer | ( | void | ) | [virtual] |
void TAO_Unbounded_Sequence< CORBA::Octet >::_tao_any_destructor | ( | void * | ) | [static] |
Use in the implementation of insertion and extraction operators from CORBA::Any
Reimplemented in CORBA::OctetSeq.
ACE_INLINE CORBA::Octet * TAO_Unbounded_Sequence< CORBA::Octet >::allocbuf | ( | CORBA::ULong | ) | [static] |
Allocate storage for the sequence, please note that the storage is always held in a ACE_Message_Block.
ACE_INLINE void TAO_Unbounded_Sequence< CORBA::Octet >::freebuf | ( | CORBA::Octet * | ) | [static] |
Free the storage.
ACE_INLINE const CORBA::Octet * TAO_Unbounded_Sequence< CORBA::Octet >::get_buffer | ( | void | ) | const |
CORBA::Octet * TAO_Unbounded_Sequence< CORBA::Octet >::get_buffer | ( | CORBA::Boolean | orphan = 0 |
) |
ACE_Message_Block* TAO_Unbounded_Sequence< CORBA::Octet >::mb | ( | void | ) | const |
Returns the underlying message block, the caller must *not* release the copy.
TAO_Unbounded_Sequence< CORBA::Octet > & TAO_Unbounded_Sequence< CORBA::Octet >::operator= | ( | const TAO_Unbounded_Sequence< CORBA::Octet > & | ) |
ACE_INLINE const CORBA::Octet & TAO_Unbounded_Sequence< CORBA::Octet >::operator[] | ( | CORBA::ULong | ) | const |
ACE_INLINE CORBA::Octet & TAO_Unbounded_Sequence< CORBA::Octet >::operator[] | ( | CORBA::ULong | ) |
See the general description in "Sequence_T.h" NOTE: This last two methods can be rendered useless in certain cases, see below.
void TAO_Unbounded_Sequence< CORBA::Octet >::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> so the user still owns it.
void TAO_Unbounded_Sequence< CORBA::Octet >::replace | ( | CORBA::ULong | max, | |
CORBA::ULong | length, | |||
CORBA::Octet * | data, | |||
CORBA::Boolean | release = 0 | |||
) |
See the general description of this methods in "Sequence_T.h".
friend class TAO_Marshal_Sequence [friend] |
ACE_Message_Block* TAO_Unbounded_Sequence< CORBA::Octet >::mb_ [private] |