A base class for internal handles to section keys for configuration implementations. More...
#include <Configuration.h>
Public Member Functions | |
virtual | ~ACE_Section_Key_Internal (void) |
Virtual destructor, make sure descendants are virtual! | |
virtual int | add_ref (void) |
Increment reference count. | |
virtual int | dec_ref (void) |
Decrement reference count. Will delete this if count gets to 0. | |
Protected Member Functions | |
ACE_Section_Key_Internal (void) | |
ACE_Section_Key_Internal (const ACE_Section_Key_Internal &rhs) | |
ACE_Section_Key_Internal & | operator= (ACE_Section_Key_Internal &rhs) |
Protected Attributes | |
u_int | ref_count_ |
A base class for internal handles to section keys for configuration implementations.
For internal use only.
Implementations subclass this base class to represent a section key.
Definition at line 68 of file Configuration.h.
ACE_Section_Key_Internal::~ACE_Section_Key_Internal | ( | void | ) | [virtual] |
Virtual destructor, make sure descendants are virtual!
Definition at line 28 of file Configuration.cpp.
{ }
ACE_Section_Key_Internal::ACE_Section_Key_Internal | ( | void | ) | [protected] |
Definition at line 23 of file Configuration.cpp.
: ref_count_ (0) { }
ACE_Section_Key_Internal::ACE_Section_Key_Internal | ( | const ACE_Section_Key_Internal & | rhs | ) | [protected] |
int ACE_Section_Key_Internal::add_ref | ( | void | ) | [virtual] |
Increment reference count.
Definition at line 33 of file Configuration.cpp.
{ ++ref_count_; return 0; }
int ACE_Section_Key_Internal::dec_ref | ( | void | ) | [virtual] |
Decrement reference count. Will delete this if count gets to 0.
Definition at line 40 of file Configuration.cpp.
{ if (!--ref_count_) delete this; return 0; }
ACE_Section_Key_Internal& ACE_Section_Key_Internal::operator= | ( | ACE_Section_Key_Internal & | rhs | ) | [protected] |
u_int ACE_Section_Key_Internal::ref_count_ [protected] |
Definition at line 84 of file Configuration.h.