#include <Configuration.h>
Public Member Functions | |
| ACE_Configuration_ExtId (void) | |
| Defeault ctor. | |
| ACE_Configuration_ExtId (const ACE_TCHAR *name) | |
| Named constructor. | |
| ACE_Configuration_ExtId (const ACE_Configuration_ExtId &rhs) | |
| Copy ctor. | |
| ~ACE_Configuration_ExtId (void) | |
| destructor | |
| ACE_Configuration_ExtId & | operator= (const ACE_Configuration_ExtId &rhs) |
| Assignment operator. | |
| bool | operator== (const ACE_Configuration_ExtId &rhs) const |
| Equality comparison operator (must match name_). | |
| bool | operator!= (const ACE_Configuration_ExtId &rhs) const |
| Inequality comparison operator. | |
| void | free (ACE_Allocator *alloc) |
| u_long | hash (void) const |
| const ACE_TCHAR * | name (void) |
Public Attributes | |
| const ACE_TCHAR * | name_ |
Contains a pointer to the section or value name.
Definition at line 575 of file Configuration.h.
|
|
Defeault ctor.
Definition at line 1132 of file Configuration.cpp.
01133 : name_ (0) 01134 { 01135 } |
|
|
Named constructor.
Definition at line 1137 of file Configuration.cpp. References ACE_TCHAR.
01138 : name_ (name) 01139 { 01140 } |
|
|
Copy ctor.
Definition at line 1142 of file Configuration.cpp.
|
|
|
destructor
Definition at line 1147 of file Configuration.cpp.
01148 {
01149 }
|
|
|
Frees the name of the value. needed since we don't know the allocator name_ was created in Definition at line 1185 of file Configuration.cpp. References ACE_Allocator::free(), and name_. Referenced by ACE_Configuration_Heap::remove_section().
01186 {
01187 alloc->free ((void *) (name_));
01188 }
|
|
|
function is required in order for this class to be usable by ACE_Hash_Map_Manager. Definition at line 1172 of file Configuration.cpp. References ACE_TString, ACE_String_Base< CHAR >::hash(), and name_.
01173 {
01174 ACE_TString temp (name_, 0, false);
01175 return temp.hash ();
01176 }
|
|
|
Definition at line 1179 of file Configuration.cpp. References name_.
01180 {
01181 return name_;
01182 }
|
|
|
Inequality comparison operator.
Definition at line 1166 of file Configuration.cpp. References name_, and ACE_OS::strcasecmp().
01167 {
01168 return (ACE_OS::strcasecmp (name_, rhs.name_) != 0);
01169 }
|
|
|
Assignment operator.
Definition at line 1151 of file Configuration.cpp. References name_.
|
|
|
Equality comparison operator (must match name_).
Definition at line 1160 of file Configuration.cpp. References name_, and ACE_OS::strcasecmp().
01161 {
01162 return (ACE_OS::strcasecmp (name_, rhs.name_) == 0);
01163 }
|
|
|
Definition at line 609 of file Configuration.h. Referenced by free(), hash(), name(), operator!=(), operator=(), and operator==(). |
1.3.6