#include <Sequence_T.h>
Inheritance diagram for TAO_Unbounded_Valuetype_Sequence:
Public Methods | |
TAO_Unbounded_Valuetype_Sequence (void) | |
TAO_Unbounded_Valuetype_Sequence (CORBA::ULong max) | |
Constructor with a "hint" for the maximum capacity. More... | |
TAO_Unbounded_Valuetype_Sequence (CORBA::ULong maximum, CORBA::ULong length, T **data, CORBA::Boolean release=0) | |
Constructor with a given buffer. More... | |
TAO_Unbounded_Valuetype_Sequence (const TAO_Unbounded_Valuetype_Sequence< T, T_var > &) | |
Copy ctor, deep copies. More... | |
~TAO_Unbounded_Valuetype_Sequence (void) | |
The destructor releases all object reference memebrs and frees all string members. More... | |
TAO_Unbounded_Valuetype_Sequence< T, T_var > & | operator= (const TAO_Unbounded_Valuetype_Sequence< T, T_var > &) |
The assignment operator first releases all object reference members and frees all string members, and then performs a deepcopy to create a new structure. More... | |
TAO_Valuetype_Manager< T, T_var > | operator[] (CORBA::ULong slot) const |
read-write accessor. More... | |
virtual void | _allocate_buffer (CORBA::ULong length) |
No default to workaround egcs problem with templates and namespaces. More... | |
virtual void | _deallocate_buffer (void) |
Must deallocate the buffer and then set it to zero. More... | |
virtual void | _shrink_buffer (CORBA::ULong new_length, CORBA::ULong old_length) |
Some sequences (of objects and strings) require some cleanup if the sequence is shrunk. More... | |
Static Public Methods | |
T ** | allocbuf (CORBA::ULong) |
The allocbuf function allocates a vector of T elements that can be passed to the T *data constructor. More... | |
void | freebuf (T **) |
Release all the elements. More... |
|
|
|
Constructor with a "hint" for the maximum capacity.
|
|
Constructor with a given buffer.
|
|
Copy ctor, deep copies.
|
|
The destructor releases all object reference memebrs and frees all string members.
|
|
No default to workaround egcs problem with templates and namespaces.
Reimplemented from TAO_Base_Sequence. |
|
Must deallocate the buffer and then set it to zero.
Reimplemented from 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. |
|
The allocbuf function allocates a vector of T elements that can be passed to the T *data constructor.
|
|
Release all the elements.
|
|
The assignment operator first releases all object reference members and frees all string members, and then performs a deepcopy to create a new structure.
|
|
read-write accessor.
|