#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 157 of file Persistent_Entries.cpp.
00158 : poa_id_ (0) 00159 { 00160 } |
|
|
Constructor.
Definition at line 162 of file Persistent_Entries.cpp.
00163 : poa_id_ (poa_id) 00164 { 00165 } |
|
|
Copy constructor.
Definition at line 167 of file Persistent_Entries.cpp. References poa_id_.
|
|
|
Destructor.
Definition at line 172 of file Persistent_Entries.cpp.
00173 {
00174 }
|
|
|
function is required in order for this class to be usable by ACE_Hash_Map_Manager. Definition at line 199 of file Persistent_Entries.cpp. References ACE_CString.
00200 {
00201 ACE_CString temp (poa_id_);
00202 return temp.hash ();
00203 }
|
|
|
Inequality comparison operator.
Definition at line 193 of file Persistent_Entries.cpp. References poa_id_, and ACE_OS::strcmp().
00194 {
00195 return (ACE_OS::strcmp (poa_id_, rhs.poa_id_) != 0);
00196 }
|
|
|
Assignment operator (does copy memory).
Definition at line 177 of file Persistent_Entries.cpp. References poa_id_.
|
|
|
Equality comparison operator (must match both id_ and kind_).
Definition at line 187 of file Persistent_Entries.cpp. References poa_id_, and ACE_OS::strcmp().
00188 {
00189 return (ACE_OS::strcmp (poa_id_, rhs.poa_id_) == 0);
00190 }
|
|
|
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(). |
1.3.6