#include <Context.h>
Collaboration diagram for CORBA::ContextList:
Public Types | |
typedef CORBA::ContextList_ptr | _ptr_type |
typedef CORBA::ContextList_var | _var_type |
Public Member Functions | |
ContextList (void) | |
Constructor. | |
ContextList (CORBA::ULong len, char **ctx_list) | |
~ContextList (void) | |
Destructor. | |
CORBA::ULong | count (void) |
Return the number of elements. | |
ContextList_ptr | _duplicate (void) |
Increment the reference count. | |
void | _destroy (void) |
Decrement the reference count and delete if it is 0. | |
void | add (char *ctx) |
Add a string to the list. | |
void | add_consume (char *ctx) |
Add and consume a string to the list. | |
char * | item (CORBA::ULong slot ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
Return the typecode at slot i. Raises the "Bounds" exception. | |
void | remove (CORBA::ULong slot ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
Remove the typecode at slot i. Raises the "Bounds" exception. | |
void | _incr_refcnt (void) |
Increment and decrement ref counts. | |
void | _decr_refcnt (void) |
Static Public Member Functions | |
ContextList_ptr | _duplicate (ContextList *) |
Increment the reference count. | |
ContextList_ptr | _nil () |
Return null pointer of this type. | |
Private Member Functions | |
ContextList (const ContextList &) | |
ContextList & | operator= (const ContextList &) |
Private Attributes | |
ACE_Atomic_Op< TAO_SYNCH_MUTEX, CORBA::ULong > | ref_count_ |
Reference counter. | |
ACE_Unbounded_Queue< char * > | ctx_list_ |
Internal list of typecodes. |
Maintains a list of strings for Contexts.
|
|
|
|
|
Constructor.
|
|
Constructor - initialize given a length and an array of strings. |
|
Destructor.
|
|
|
|
|
|
Decrement the reference count and delete if it is 0.
|
|
Increment the reference count.
|
|
Increment the reference count.
|
|
Increment and decrement ref counts.
|
|
Return null pointer of this type.
|
|
Add a string to the list.
|
|
Add and consume a string to the list.
|
|
Return the number of elements.
|
|
Return the typecode at slot i. Raises the "Bounds" exception.
|
|
|
|
Remove the typecode at slot i. Raises the "Bounds" exception.
|
|
Internal list of typecodes.
|
|
Reference counter.
|