#include <Entries.h>
Public Member Functions | |
TAO_ExtId (void) | |
Constructor. | |
TAO_ExtId (const char *id, const char *kind) | |
Constructor. | |
TAO_ExtId (const TAO_ExtId &rhs) | |
Copy constructor. | |
~TAO_ExtId (void) | |
Destructor. | |
void | operator= (const TAO_ExtId &rhs) |
Assignment operator (does copy memory). | |
bool | operator== (const TAO_ExtId &rhs) const |
Equality comparison operator (must match both id_ and kind_). | |
bool | operator!= (const TAO_ExtId &rhs) const |
Inequality comparison operator. | |
u_long | hash (void) const |
const char * | id (void) |
Return in a const char * format. | |
const char * | kind (void) |
Return in a const char * format. | |
Public Attributes | |
ACE_CString | kind_ |
ACE_CString | id_ |
This class holds id and kind strings, so they can be stored together as a for a in a hash table holding the state of a Transient Naming Context.
Definition at line 84 of file Entries.h.
|
Constructor.
Definition at line 57 of file Entries.cpp.
|
|
Constructor.
Definition at line 63 of file Entries.cpp.
|
|
Copy constructor.
Definition at line 70 of file Entries.cpp.
|
|
Destructor.
Definition at line 76 of file Entries.cpp.
00077 { 00078 } |
|
function is required in order for this class to be usable by ACE_Hash_Map_Manager. Definition at line 116 of file Entries.cpp. References ACE_CString, and kind_.
00117 { 00118 ACE_CString temp (id_); 00119 temp += kind_; 00120 00121 return temp.hash (); 00122 } |
|
Return in a const char * format.
Definition at line 81 of file Entries.cpp.
00082 { 00083 return id_.fast_rep (); 00084 } |
|
Return in a const char * format.
Definition at line 87 of file Entries.cpp. References kind_.
00088 { 00089 return kind_.fast_rep (); 00090 } |
|
Inequality comparison operator.
Definition at line 110 of file Entries.cpp.
|
|
Assignment operator (does copy memory).
Definition at line 93 of file Entries.cpp.
|
|
Equality comparison operator (must match both id_ and kind_).
Definition at line 104 of file Entries.cpp.
|
|
portion of the name to be associated with some object reference in a Transient Naming Context. Definition at line 125 of file Entries.h. Referenced by operator!=(), operator=(), operator==(), and TAO_ExtId(). |
|
portion of the name to be associated with some object reference in a Transient Naming Context. Definition at line 121 of file Entries.h. Referenced by hash(), kind(), operator!=(), operator=(), operator==(), and TAO_ExtId(). |