#include <Storable_Naming_Context.h>
Public Member Functions | |
| TAO_Storable_ExtId (void) | |
| Constructor. | |
| TAO_Storable_ExtId (const char *id, const char *kind) | |
| Constructor. | |
| TAO_Storable_ExtId (const TAO_Storable_ExtId &rhs) | |
| Copy constructor. | |
| ~TAO_Storable_ExtId (void) | |
| Destructor. | |
| void | operator= (const TAO_Storable_ExtId &rhs) |
| Assignment operator (does copy memory). | |
| bool | operator== (const TAO_Storable_ExtId &rhs) const |
| Equality comparison operator (must match both id_ and kind_). | |
| bool | operator!= (const TAO_Storable_ExtId &rhs) const |
| Inequality comparison operator. | |
| u_long | hash (void) const |
| const char * | id (void) |
| const char * | kind (void) |
Public Attributes | |
| CORBA::String_var | id_ |
| CORBA::String_var | kind_ |
|
|
Constructor.
Definition at line 65 of file Storable_Naming_Context.cpp.
|
|
||||||||||||
|
Constructor.
Definition at line 71 of file Storable_Naming_Context.cpp.
|
|
|
Copy constructor.
Definition at line 77 of file Storable_Naming_Context.cpp.
|
|
|
Destructor.
Definition at line 83 of file Storable_Naming_Context.cpp.
00084 {
00085 }
|
|
|
function is required in order for this class to be usable by ACE_Hash_Map_Manager. Definition at line 113 of file Storable_Naming_Context.cpp. References ACE_CString.
00114 {
00115 // @CJC I wager this could be optimized a bit better, but I'm not
00116 // sure how much it's called. At the very least, we could allocate
00117 // just one ACE_CString, and copy id_ and kind_ into that, rather than
00118 // taking a double-hit on allocations.
00119 ACE_CString temp (id_.in());
00120 temp += kind_.in();
00121
00122 return temp.hash ();
00123 }
|
|
|
Definition at line 126 of file Storable_Naming_Context.cpp.
00127 {
00128 return id_.in();
00129 }
|
|
|
Definition at line 132 of file Storable_Naming_Context.cpp.
00133 {
00134 return kind_.in();
00135 }
|
|
|
Inequality comparison operator.
Definition at line 106 of file Storable_Naming_Context.cpp. References id_, kind_, and ACE_OS::strcmp().
00107 {
00108 return (ACE_OS::strcmp (id_.in(), rhs.id_.in()) != 0)
00109 || (ACE_OS::strcmp (kind_.in(), rhs.kind_.in()) != 0);
00110 }
|
|
|
Assignment operator (does copy memory).
Definition at line 88 of file Storable_Naming_Context.cpp.
|
|
|
Equality comparison operator (must match both id_ and kind_).
Definition at line 99 of file Storable_Naming_Context.cpp. References id_, kind_, and ACE_OS::strcmp().
00100 {
00101 return (ACE_OS::strcmp (id_.in(), rhs.id_.in()) == 0)
00102 && (ACE_OS::strcmp (kind_.in(), rhs.kind_.in()) == 0);
00103 }
|
|
|
portion of the name to be associated with some object reference in a Storable Naming Context. Definition at line 95 of file Storable_Naming_Context.h. Referenced by operator!=(), operator=(), operator==(), and TAO_Storable_ExtId(). |
|
|
portion of the name to be associated with some object reference in a Storable Naming Context. Definition at line 99 of file Storable_Naming_Context.h. Referenced by operator!=(), operator=(), operator==(), and TAO_Storable_ExtId(). |
1.3.6