TAO_DynamicInterface  2.1.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
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]

List of all members.

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Private Member Functions

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

Private Attributes

ACE_Atomic_Op< TAO_SYNCH_MUTEX,
CORBA::ULong
ref_count_
 Reference counter.
ACE_Unbounded_Queue
< CORBA::TypeCode_ptr
tc_list_
 Internal list of typecodes.

Detailed Description

ExceptionList definition taken from CORBA v2.2 Feb 1998.

Maintains a list of TypeCodes for Exceptions.


Member Typedef Documentation

Useful for template programming.


Constructor & Destructor Documentation

Constructor.

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

Destructor.


Member Function Documentation

Increase the reference count.

Increase the reference count in the spec defined manner.

Increment and decrement ref counts.

Add a TypeCode to the list.

Add and consume a TypeCode to the list.

Return the number of elements.

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

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

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


Member Data Documentation

Reference counter.

Internal list of typecodes.


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