#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.
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 1183 of file Configuration.cpp.
References ACE_Allocator::free(), and name_.
Referenced by ACE_Configuration_Heap::remove_section().
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 1176 of file Configuration.cpp.
References ACE_String_Base< CHAR >::hash(), and name_.
01177 { 01178 ACE_TString temp (name_, 0, false); 01179 return temp.hash (); 01180 }
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE const ACE_TCHAR * ACE_Configuration_ExtId::name | ( | void | ) |
Definition at line 8 of file Configuration.inl.
References name_.
00009 { 00010 return name_; 00011 }
bool ACE_Configuration_ExtId::operator!= | ( | const ACE_Configuration_ExtId & | rhs | ) | const |
Inequality comparison operator.
Definition at line 1170 of file Configuration.cpp.
References operator==().
01171 { 01172 return !this->operator== (rhs); 01173 }
ACE_Configuration_ExtId & ACE_Configuration_ExtId::operator= | ( | const ACE_Configuration_ExtId & | rhs | ) |
bool ACE_Configuration_ExtId::operator== | ( | const ACE_Configuration_ExtId & | rhs | ) | const |
Equality comparison operator (must match name_).
Definition at line 1164 of file Configuration.cpp.
References name_, and ACE_OS::strcasecmp().
Referenced by operator!=().
01165 { 01166 return (ACE_OS::strcasecmp (name_, rhs.name_) == 0); 01167 }
Definition at line 609 of file Configuration.h.
Referenced by ACE_Configuration_Heap::enumerate_sections(), ACE_Configuration_Heap::enumerate_values(), free(), hash(), name(), operator=(), and operator==().