#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 1162 of file Configuration.cpp.
01163 : name_ (0) 01164 { 01165 } |
|
|
Named constructor.
Definition at line 1167 of file Configuration.cpp. References ACE_TCHAR.
01168 : name_ (name) 01169 { 01170 } |
|
|
Copy ctor.
Definition at line 1172 of file Configuration.cpp.
|
|
|
destructor
Definition at line 1177 of file Configuration.cpp.
01178 {
01179 }
|
|
|
Frees the name of the value. needed since we don't know the allocator name_ was created in Definition at line 1215 of file Configuration.cpp. References ACE_Allocator::free(), and name_. Referenced by ACE_Configuration_Heap::remove_section().
01216 {
01217 alloc->free ((void *) (name_));
01218 }
|
|
|
function is required in order for this class to be usable by ACE_Hash_Map_Manager. Definition at line 1202 of file Configuration.cpp. References ACE_TString, ACE_String_Base< CHAR >::hash(), and name_.
01203 {
01204 ACE_TString temp (name_, 0, 0);
01205 return temp.hash ();
01206 }
|
|
|
Definition at line 1209 of file Configuration.cpp. References name_.
01210 {
01211 return name_;
01212 }
|
|
|
Inequality comparison operator.
Definition at line 1196 of file Configuration.cpp. References name_, and ACE_OS::strcmp().
01197 {
01198 return (ACE_OS::strcmp (name_, rhs.name_) != 0);
01199 }
|
|
|
Assignment operator.
Definition at line 1181 of file Configuration.cpp. References name_.
|
|
|
Equality comparison operator (must match name_).
Definition at line 1190 of file Configuration.cpp. References name_, and ACE_OS::strcmp().
01191 {
01192 return (ACE_OS::strcmp (name_, rhs.name_) == 0);
01193 }
|
|
|
Definition at line 609 of file Configuration.h. Referenced by free(), hash(), name(), operator!=(), operator=(), and operator==(). |
1.3.6