#include <Sequence_T.h>
Inheritance diagram for TAO_Bounded_Pseudo_Sequence< T, MAX >:
Public Member Functions | |
TAO_Bounded_Pseudo_Sequence (void) | |
default ctor. | |
TAO_Bounded_Pseudo_Sequence (CORBA::ULong length, T **value, CORBA::Boolean release=0) | |
Constructor from data. | |
TAO_Bounded_Pseudo_Sequence (const TAO_Bounded_Pseudo_Sequence< T, MAX > &) | |
Copy constructor. | |
~TAO_Bounded_Pseudo_Sequence (void) | |
destructor | |
TAO_Bounded_Pseudo_Sequence & | operator= (const TAO_Bounded_Pseudo_Sequence< T, MAX > &) |
Assignment from another Bounded sequence. | |
TAO_Pseudo_Object_Manager< T > | operator[] (CORBA::ULong slot) const |
Read-write accessor. | |
virtual void | _allocate_buffer (CORBA::ULong length) |
virtual void | _deallocate_buffer (void) |
Must deallocate the buffer and then set it to zero. | |
virtual void | _shrink_buffer (CORBA::ULong new_length, CORBA::ULong old_length) |
Static Public Member Functions | |
T ** | allocbuf (CORBA::ULong length) |
Allocate storage for a sequence.. | |
void | freebuf (T **buffer) |
Please see the documentation for the unbounded case.
|
default ctor.
|
|
Constructor from data.
|
|
Copy constructor.
|
|
destructor
|
|
Ensure that the buffer contains space for at least <length> elements. The constructor must be called for any new elements, the old ones (if any) must be copied into the buffer using operator= and then their destructors must be called. Finally the old buffer must be released. Implements TAO_Base_Sequence. |
|
Must deallocate the buffer and then set it to zero.
Implements TAO_Base_Sequence. |
|
Some sequences (of objects and strings) require some cleanup if the sequence is shrunk. The spec requires the destructor to release the objects only from position <0> to <length-1>; so shrink and then delete could result in a memory leak. Reimplemented from TAO_Base_Sequence. |
|
Allocate storage for a sequence..
|
|
Free a buffer allocated by allocbuf() and release each element on it. |
|
Assignment from another Bounded sequence.
|
|
Read-write accessor.
|