#include <Sequence_T.h>
Inheritance diagram for TAO_Bounded_Valuetype_Sequence:
Public Methods | |
TAO_Bounded_Valuetype_Sequence (void) | |
TAO_Bounded_Valuetype_Sequence (CORBA::ULong length, T **value, CORBA::Boolean release=0) | |
Constructor from data. More... | |
TAO_Bounded_Valuetype_Sequence (const TAO_Bounded_Valuetype_Sequence< T, T_var, MAX > &) | |
Copy constructor. More... | |
~TAO_Bounded_Valuetype_Sequence (void) | |
destructor. More... | |
TAO_Bounded_Valuetype_Sequence & | operator= (const TAO_Bounded_Valuetype_Sequence< T, T_var, MAX > &) |
Assignment from another Bounded sequence. 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 length) |
Allocate storage for a sequence.. More... | |
void | freebuf (T **buffer) |
Free a buffer allocated by allocbuf() and release each element on it. More... |
Please see the documentation for the unbounded case.
|
|
|
Constructor from data.
|
|
Copy constructor.
|
|
destructor.
|
|
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. |
|
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.
|