#include <Persistent_Entries.h>
Public Member Functions | |
TAO_Persistent_Index_ExtId (void) | |
Constructor. | |
TAO_Persistent_Index_ExtId (const char *poa_id) | |
Constructor. | |
TAO_Persistent_Index_ExtId (const TAO_Persistent_Index_ExtId &rhs) | |
Copy constructor. | |
~TAO_Persistent_Index_ExtId (void) | |
Destructor. | |
void | operator= (const TAO_Persistent_Index_ExtId &rhs) |
Assignment operator (does copy memory). | |
bool | operator== (const TAO_Persistent_Index_ExtId &rhs) const |
Equality comparison operator (must match both id_ and kind_). | |
bool | operator!= (const TAO_Persistent_Index_ExtId &rhs) const |
Inequality comparison operator. | |
u_long | hash (void) const |
Public Attributes | |
const char * | poa_id_ |
We need this wrapper class around the actual data because we must provide function for it to work with ACE_Hash_Map_Manager.
Definition at line 191 of file Persistent_Entries.h.
|
Constructor.
Definition at line 160 of file Persistent_Entries.cpp.
00161 : poa_id_ (0) 00162 { 00163 } |
|
Constructor.
Definition at line 165 of file Persistent_Entries.cpp.
00166 : poa_id_ (poa_id) 00167 { 00168 } |
|
Copy constructor.
Definition at line 170 of file Persistent_Entries.cpp. References poa_id_.
|
|
Destructor.
Definition at line 175 of file Persistent_Entries.cpp.
00176 { 00177 } |
|
function is required in order for this class to be usable by ACE_Hash_Map_Manager. Definition at line 202 of file Persistent_Entries.cpp. References ACE_CString.
00203 { 00204 ACE_CString temp (poa_id_); 00205 return temp.hash (); 00206 } |
|
Inequality comparison operator.
Definition at line 196 of file Persistent_Entries.cpp. References poa_id_, and ACE_OS::strcmp().
00197 { 00198 return (ACE_OS::strcmp (poa_id_, rhs.poa_id_) != 0); 00199 } |
|
Assignment operator (does copy memory).
Definition at line 180 of file Persistent_Entries.cpp. References poa_id_.
|
|
Equality comparison operator (must match both id_ and kind_).
Definition at line 190 of file Persistent_Entries.cpp. References poa_id_, and ACE_OS::strcmp().
00191 { 00192 return (ACE_OS::strcmp (poa_id_, rhs.poa_id_) == 0); 00193 } |
|
POA id to be associated with the rest of the info for some Persistent Naming Context in the Persistent Context Index. Definition at line 227 of file Persistent_Entries.h. Referenced by operator!=(), operator=(), operator==(), and TAO_Persistent_Index_ExtId(). |