#include <Configuration.h>
Public Methods | |
| ACE_Configuration_ExtId (void) | |
| Defeault ctor. More... | |
| ACE_EXPLICIT | ACE_Configuration_ExtId (const ACE_TCHAR *name) |
| Named constructor. More... | |
| ACE_Configuration_ExtId (const ACE_Configuration_ExtId &rhs) | |
| Copy ctor. More... | |
| ~ACE_Configuration_ExtId (void) | |
| destructor. More... | |
| ACE_Configuration_ExtId & | operator= (const ACE_Configuration_ExtId &rhs) |
| Assignment operator. More... | |
| int | operator== (const ACE_Configuration_ExtId &rhs) const |
| Equality comparison operator (must match name_). More... | |
| int | operator!= (const ACE_Configuration_ExtId &rhs) const |
| Inequality comparison operator. More... | |
| void | free (ACE_Allocator *alloc) |
| Frees the name of the value. needed since we don't know the allocator name_ was created in. More... | |
| u_long | hash (void) const |
| <hash> function is required in order for this class to be usable by ACE_Hash_Map_Manager. More... | |
| const ACE_TCHAR * | name (void) |
Public Attributes | |
| const ACE_TCHAR * | name_ |
Contains a pointer to the section or value name.
Definition at line 556 of file Configuration.h.
|
|
Defeault ctor.
Definition at line 1130 of file Configuration.cpp.
01131 : name_ (0) 01132 { 01133 } |
|
|
Named constructor.
Definition at line 1135 of file Configuration.cpp. References ACE_TCHAR.
|
|
|
Copy ctor.
Definition at line 1140 of file Configuration.cpp.
|
|
|
destructor.
Definition at line 1145 of file Configuration.cpp.
01146 {
01147 }
|
|
|
Frees the name of the value. needed since we don't know the allocator name_ was created in.
Definition at line 1183 of file Configuration.cpp. References ACE_Allocator::free, and name_. Referenced by ACE_Configuration_Heap::remove_section, and ACE_Configuration_Heap::remove_value.
|
|
|
<hash> function is required in order for this class to be usable by ACE_Hash_Map_Manager.
Definition at line 1170 of file Configuration.cpp. References ACE_String_Base< char >::hash, and name_.
01171 {
01172 ACE_TString temp (name_);
01173 return temp.hash ();
01174 }
|
|
|
Definition at line 1177 of file Configuration.cpp. References name_.
01178 {
01179 return name_;
01180 }
|
|
|
Inequality comparison operator.
Definition at line 1164 of file Configuration.cpp. References name_, and ACE_OS_String::strcmp.
01165 {
01166 return (ACE_OS::strcmp (name_, rhs.name_) != 0);
01167 }
|
|
|
Assignment operator.
Definition at line 1149 of file Configuration.cpp. References name_.
|
|
|
Equality comparison operator (must match name_).
Definition at line 1158 of file Configuration.cpp. References name_, and ACE_OS_String::strcmp.
01159 {
01160 return (ACE_OS::strcmp (name_, rhs.name_) == 0);
01161 }
|
|
|
Definition at line 590 of file Configuration.h. Referenced by free, hash, name, operator!=, operator=, and operator==. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002