Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList Class Reference

#include <DynamicC.h>

Inheritance diagram for Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList:

Inheritance graph
[legend]
Collaboration diagram for Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList:

Collaboration graph
[legend]
List of all members.

Public Methods

 _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList (void)
 _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList (CORBA::ULong maximum)
 _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList (CORBA::ULong maximum, CORBA::ULong length, CORBA::TypeCode **value, CORBA::Boolean release=0)
 _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList (const _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList &rhs)
_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList & operator= (const _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList &rhs)
virtual ~_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList (void)
TAO_Pseudo_Object_Manager<
Dynamic::TypeCode, Dynamic::TypeCode_var
operator[] (CORBA::ULong index) const
virtual void _allocate_buffer (CORBA::ULong length)
virtual void _deallocate_buffer (void)
 Must deallocate the buffer and then set it to zero. More...

CORBA::TypeCode ** get_buffer (CORBA::Boolean orphan=0)
const CORBA::TypeCode ** get_buffer (void) const
virtual void _shrink_buffer (CORBA::ULong nl, CORBA::ULong ol)

Static Public Methods

CORBA::TypeCode ** allocbuf (CORBA::ULong nelems)
void freebuf (CORBA::TypeCode **buffer)

Constructor & Destructor Documentation

Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList void   
 

Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList CORBA::ULong    maximum
 

Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList CORBA::ULong    maximum,
CORBA::ULong    length,
CORBA::TypeCode **    value,
CORBA::Boolean    release = 0
 

Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList const _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList &    rhs
 

Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::~_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList void    [virtual]
 


Member Function Documentation

virtual void Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_allocate_buffer CORBA::ULong    length [virtual]
 

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.

Reimplemented from TAO_Base_Sequence.

void Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_deallocate_buffer void    [virtual]
 

Must deallocate the buffer and then set it to zero.

Reimplemented from TAO_Base_Sequence.

void Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_shrink_buffer CORBA::ULong    nl,
CORBA::ULong    ol
[virtual]
 

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.

CORBA::TypeCode** Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::allocbuf CORBA::ULong    nelems [static]
 

void Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::freebuf CORBA::TypeCode **    buffer [static]
 

ACE_INLINE const CORBA::TypeCode ** Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::get_buffer void    const
 

ACE_INLINE CORBA::TypeCode ** Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::get_buffer CORBA::Boolean    orphan = 0
 

_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList& Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::operator= const _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList &    rhs
 

Dynamic::TypeCode_var Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::operator[] CORBA::ULong    index const
 


The documentation for this class was generated from the following files:
Generated on Wed Jan 15 21:10:31 2003 for TAO by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001