TAO_DynamicInterface  2.5.0
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CORBA::ExceptionList Class Reference

ExceptionList definition taken from CORBA v2.2 Feb 1998. More...

#include <ExceptionList.h>

Collaboration diagram for CORBA::ExceptionList:
Collaboration graph
[legend]

Public Types

typedef CORBA::ExceptionList_ptr _ptr_type
 Useful for template programming. More...
 
typedef CORBA::ExceptionList_var _var_type
 
typedef CORBA::ExceptionList_out _out_type
 

Public Member Functions

 ExceptionList (void)
 Constructor. More...
 
 ExceptionList (CORBA::ULong len, CORBA::TypeCode_ptr *tc_list)
 
 ~ExceptionList (void)
 Destructor. More...
 
CORBA::ULong count (void)
 Return the number of elements. More...
 
ExceptionList_ptr _duplicate (void)
 Increase the reference count. More...
 
void _destroy (void)
 
void add (CORBA::TypeCode_ptr tc)
 Add a TypeCode to the list. More...
 
void add_consume (CORBA::TypeCode_ptr tc)
 Add and consume a TypeCode to the list. More...
 
CORBA::TypeCode_ptr item (CORBA::ULong slot)
 Return the typecode at slot i. Raises the "Bounds" exception. More...
 
void remove (CORBA::ULong slot)
 Remove the typecode at slot i. Raises the "Bounds" exception. More...
 
void _incr_refcount (void)
 Increment and decrement ref counts. More...
 
void _decr_refcount (void)
 

Static Public Member Functions

static ExceptionList_ptr _duplicate (ExceptionList *)
 Increase the reference count in the spec defined manner. More...
 
static ExceptionList_ptr _nil (void)
 

Private Member Functions

 ExceptionList (const ExceptionList &)
 
ExceptionListoperator= (const ExceptionList &)
 

Private Attributes

ACE_Atomic_Op< TAO_SYNCH_MUTEX, CORBA::ULongref_count_
 Reference counter. More...
 
ACE_Unbounded_Queue< CORBA::TypeCode_ptrtc_list_
 Internal list of typecodes. More...
 

Detailed Description

ExceptionList definition taken from CORBA v2.2 Feb 1998.

Maintains a list of TypeCodes for Exceptions.

Member Typedef Documentation

◆ _out_type

◆ _ptr_type

Useful for template programming.

◆ _var_type

Constructor & Destructor Documentation

◆ ExceptionList() [1/3]

CORBA::ExceptionList::ExceptionList ( void  )

Constructor.

◆ ExceptionList() [2/3]

CORBA::ExceptionList::ExceptionList ( CORBA::ULong  len,
CORBA::TypeCode_ptr tc_list 
)

Constructor - initialize given a length and an array of TypeCodes.

◆ ~ExceptionList()

CORBA::ExceptionList::~ExceptionList ( void  )

Destructor.

◆ ExceptionList() [3/3]

CORBA::ExceptionList::ExceptionList ( const ExceptionList )
private

Member Function Documentation

◆ _decr_refcount()

void CORBA::ExceptionList::_decr_refcount ( void  )

◆ _destroy()

void CORBA::ExceptionList::_destroy ( void  )

◆ _duplicate() [1/2]

CORBA::ExceptionList_ptr CORBA::ExceptionList::_duplicate ( void  )

Increase the reference count.

◆ _duplicate() [2/2]

static ExceptionList_ptr CORBA::ExceptionList::_duplicate ( ExceptionList )
static

Increase the reference count in the spec defined manner.

◆ _incr_refcount()

void CORBA::ExceptionList::_incr_refcount ( void  )

Increment and decrement ref counts.

◆ _nil()

CORBA::ExceptionList_ptr CORBA::ExceptionList::_nil ( void  )
static

◆ add()

void CORBA::ExceptionList::add ( CORBA::TypeCode_ptr  tc)

Add a TypeCode to the list.

◆ add_consume()

void CORBA::ExceptionList::add_consume ( CORBA::TypeCode_ptr  tc)

Add and consume a TypeCode to the list.

◆ count()

CORBA::ULong CORBA::ExceptionList::count ( void  )

Return the number of elements.

◆ item()

CORBA::TypeCode_ptr CORBA::ExceptionList::item ( CORBA::ULong  slot)

Return the typecode at slot i. Raises the "Bounds" exception.

◆ operator=()

ExceptionList& CORBA::ExceptionList::operator= ( const ExceptionList )
private

◆ remove()

void CORBA::ExceptionList::remove ( CORBA::ULong  slot)

Remove the typecode at slot i. Raises the "Bounds" exception.

Member Data Documentation

◆ ref_count_

ACE_Atomic_Op<TAO_SYNCH_MUTEX, CORBA::ULong> CORBA::ExceptionList::ref_count_
private

Reference counter.

◆ tc_list_

ACE_Unbounded_Queue<CORBA::TypeCode_ptr> CORBA::ExceptionList::tc_list_
private

Internal list of typecodes.


The documentation for this class was generated from the following files: