#include <Sequence.h>
Inheritance diagram for TAO_Base_Sequence:

Public Member Functions | |
| virtual | ~TAO_Base_Sequence (void) |
| Destructor. | |
| CORBA::ULong | maximum (void) const |
| Return the maximum length of the sequence. | |
| virtual void | _allocate_buffer (CORBA::ULong length)=0 |
| virtual void | _deallocate_buffer (void)=0 |
| Must deallocate the buffer and then set it to zero. | |
| virtual void | _shrink_buffer (CORBA::ULong new_length, CORBA::ULong old_length) |
| virtual void | _downcast (void *target, CORBA::Object *src) |
| virtual CORBA::Object * | _upcast (void *src) const |
| CORBA::Boolean | release (void) const |
| Returns the state of the sequence release flag. | |
| TAO_Base_Sequence (const TAO_Base_Sequence &rhs) | |
| TAO_Base_Sequence & | operator= (const TAO_Base_Sequence &rhs) |
Protected Member Functions | |
| TAO_Base_Sequence (void) | |
| Default constructor. | |
| TAO_Base_Sequence (CORBA::ULong maximum, CORBA::ULong length, void *buffer, CORBA::Boolean release=0) | |
| Constructor with control of ownership. | |
| TAO_Base_Sequence (CORBA::ULong maximum, void *buffer) | |
| Assume ownership and set length to 0. | |
| void | check_bounds (char const *filename, unsigned long lineno, CORBA::ULong tao_idx, CORBA::ULong tao_max) const |
Protected Attributes | |
| CORBA::ULong | maximum_ |
| The maximum number of elements the buffer can contain. | |
| CORBA::ULong | length_ |
| The current number of elements in the buffer. | |
| void * | buffer_ |
| CORBA::Boolean | release_ |
Friends | |
| class | TAO_Marshal_Sequence |
This class provides a common interface for all IDL sequences, hence the interpreted marshal engine can manipulate them in a type safe manner.
|
|
Destructor.
|
|
|
Default constructor.
|
|
||||||||||||||||||||
|
Constructor with control of ownership.
|
|
||||||||||||
|
Assume ownership and set length to 0.
|
|
|
|
|
|
|
||||||||||||
|
Used for sequences of objects to downcast a recently demarshalled object reference into the right type. |
|
||||||||||||
|
|
Used for sequences of object to convert from the derived type into the Object class. |
|
||||||||||||||||||||
|
|
|
|
Return the maximum length of the sequence.
|
|
|
|
|
|
Returns the state of the sequence release flag.
|
|
|
We give access to TAO_Marshal_Sequence, this allows a safe yet small footprint implementation of the marshal engine. Reimplemented in TAO_Unbounded_Sequence< CORBA::Octet >. |
|
|
The buffer with all the elements, casting must be done in derived classes. |
|
|
The current number of elements in the buffer.
|
|
|
The maximum number of elements the buffer can contain.
|
|
|
If true then the sequence should release the buffer when it is destroyed. |
1.3.9.1