TAO_DynamicInterface
2.3.4
|
ContextList definition taken from CORBA v2.3a Dec 1998. More...
#include <Context.h>
Public Types | |
typedef CORBA::ContextList_ptr | _ptr_type |
typedef CORBA::ContextList_var | _var_type |
typedef CORBA::ContextList_out | _out_type |
Public Member Functions | |
ContextList (void) | |
Constructor. More... | |
ContextList (CORBA::ULong len, char **ctx_list) | |
~ContextList (void) | |
Destructor. More... | |
CORBA::ULong | count (void) |
Return the number of elements. More... | |
ContextList_ptr | _duplicate (void) |
Increment the reference count. More... | |
void | _destroy (void) |
Decrement the reference count and delete if it is 0. More... | |
void | add (char *ctx) |
Add a string to the list. More... | |
void | add_consume (char *ctx) |
Add and consume a string to the list. More... | |
char * | 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 ContextList_ptr | _duplicate (ContextList *) |
Increment the reference count. More... | |
static ContextList_ptr | _nil () |
Return null pointer of this type. More... | |
Private Member Functions | |
ContextList (const ContextList &) | |
ContextList & | operator= (const ContextList &) |
Private Attributes | |
ACE_Atomic_Op< TAO_SYNCH_MUTEX, CORBA::ULong > | ref_count_ |
Reference counter. More... | |
ACE_Unbounded_Queue< char * > | ctx_list_ |
Internal list of typecodes. More... | |
ContextList definition taken from CORBA v2.3a Dec 1998.
Maintains a list of strings for Contexts.
CORBA::ContextList::ContextList | ( | void | ) |
Constructor.
CORBA::ContextList::ContextList | ( | CORBA::ULong | len, |
char ** | ctx_list | ||
) |
Constructor - initialize given a length and an array of strings.
CORBA::ContextList::~ContextList | ( | void | ) |
Destructor.
|
private |
void CORBA::ContextList::_decr_refcount | ( | void | ) |
void CORBA::ContextList::_destroy | ( | void | ) |
Decrement the reference count and delete if it is 0.
CORBA::ContextList_ptr CORBA::ContextList::_duplicate | ( | void | ) |
Increment the reference count.
|
static |
Increment the reference count.
void CORBA::ContextList::_incr_refcount | ( | void | ) |
Increment and decrement ref counts.
|
static |
Return null pointer of this type.
void CORBA::ContextList::add | ( | char * | ctx | ) |
Add a string to the list.
void CORBA::ContextList::add_consume | ( | char * | ctx | ) |
Add and consume a string to the list.
CORBA::ULong CORBA::ContextList::count | ( | void | ) |
Return the number of elements.
char * CORBA::ContextList::item | ( | CORBA::ULong | slot | ) |
Return the typecode at slot i. Raises the "Bounds" exception.
|
private |
void CORBA::ContextList::remove | ( | CORBA::ULong | slot | ) |
Remove the typecode at slot i. Raises the "Bounds" exception.
|
private |
Internal list of typecodes.
|
private |
Reference counter.