External ID for the section and value hash. More...
#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_ |
External ID for the section and value hash.
Contains a pointer to the section or value name.
Definition at line 573 of file Configuration.h.
| ACE_Configuration_ExtId::ACE_Configuration_ExtId | ( | void | ) |
| ACE_Configuration_ExtId::ACE_Configuration_ExtId | ( | const ACE_TCHAR * | name | ) | [explicit] |
| ACE_Configuration_ExtId::ACE_Configuration_ExtId | ( | const ACE_Configuration_ExtId & | rhs | ) |
| ACE_Configuration_ExtId::~ACE_Configuration_ExtId | ( | void | ) |
| void ACE_Configuration_ExtId::free | ( | ACE_Allocator * | alloc | ) |
Frees the name of the value. needed since we don't know the allocator name_ was created in
Definition at line 1175 of file Configuration.cpp.
| u_long ACE_Configuration_ExtId::hash | ( | void | ) | const |
hash function is required in order for this class to be usable by ACE_Hash_Map_Manager.
Definition at line 1168 of file Configuration.cpp.
{
ACE_TString temp (name_, 0, false);
return temp.hash ();
}
| const ACE_TCHAR * ACE_Configuration_ExtId::name | ( | void | ) | [inline] |
Definition at line 8 of file Configuration.inl.
{
return name_;
}
| bool ACE_Configuration_ExtId::operator!= | ( | const ACE_Configuration_ExtId & | rhs | ) | const |
Inequality comparison operator.
Definition at line 1162 of file Configuration.cpp.
{
return !this->operator== (rhs);
}
| ACE_Configuration_ExtId & ACE_Configuration_ExtId::operator= | ( | const ACE_Configuration_ExtId & | rhs | ) |
Assignment operator.
Definition at line 1147 of file Configuration.cpp.
| bool ACE_Configuration_ExtId::operator== | ( | const ACE_Configuration_ExtId & | rhs | ) | const |
Equality comparison operator (must match name_).
Definition at line 1156 of file Configuration.cpp.
{
return (ACE_OS::strcasecmp (name_, rhs.name_) == 0);
}
Definition at line 607 of file Configuration.h.
1.7.0