Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Configuration_Section_Key_Heap Class Reference

Internal section key class for heap based configuration database. More...

#include <Configuration.h>

Inheritance diagram for ACE_Configuration_Section_Key_Heap:

Inheritance graph
[legend]
Collaboration diagram for ACE_Configuration_Section_Key_Heap:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_Configuration_Section_Key_Heap (const ACE_TCHAR *path)
 Constructor based on the full path of the section. More...


Public Attributes

ACE_TCHARpath_
 The path itself. More...

VALUE_HASH::ITERATORvalue_iter_
 The value iterator. More...

SUBSECTION_HASH::ITERATORsection_iter_
 The sub section iterator. More...


Protected Methods

virtual ~ACE_Configuration_Section_Key_Heap (void)
 Destructor - will delete the iterators. More...

 ACE_Configuration_Section_Key_Heap (const ACE_Configuration_Section_Key_Heap &rhs)
ACE_Configuration_Section_Key_Heap & operator= (const ACE_Configuration_Section_Key_Heap &rhs)

Detailed Description

Internal section key class for heap based configuration database.

Contains a value iterator and full path name of section.

Definition at line 726 of file Configuration.h.


Constructor & Destructor Documentation

ACE_Configuration_Section_Key_Heap::ACE_Configuration_Section_Key_Heap const ACE_TCHAR   path
 

Constructor based on the full path of the section.

Definition at line 1231 of file Configuration.cpp.

References ACE_TCHAR, path_, and ACE_OS_String::strdup.

01232   : path_ (0),
01233     value_iter_ (0),
01234     section_iter_ (0)
01235 {
01236   path_ = ACE_OS::strdup (path);
01237 }

ACE_Configuration_Section_Key_Heap::~ACE_Configuration_Section_Key_Heap void    [protected, virtual]
 

Destructor - will delete the iterators.

Definition at line 1239 of file Configuration.cpp.

References ACE_OS_Memory::free, path_, section_iter_, and value_iter_.

01240 {
01241   delete value_iter_;
01242   delete section_iter_;
01243   ACE_OS::free (path_);
01244 }

ACE_Configuration_Section_Key_Heap::ACE_Configuration_Section_Key_Heap const ACE_Configuration_Section_Key_Heap &    rhs [protected]
 


Member Function Documentation

ACE_Configuration_Section_Key_Heap& ACE_Configuration_Section_Key_Heap::operator= const ACE_Configuration_Section_Key_Heap &    rhs [protected]
 


Member Data Documentation

ACE_TCHAR* ACE_Configuration_Section_Key_Heap::path_
 

The path itself.

Definition at line 734 of file Configuration.h.

Referenced by ACE_Configuration_Section_Key_Heap, ACE_Configuration_Heap::enumerate_sections, ACE_Configuration_Heap::enumerate_values, ACE_Configuration_Heap::load_key, and ~ACE_Configuration_Section_Key_Heap.

SUBSECTION_HASH::ITERATOR* ACE_Configuration_Section_Key_Heap::section_iter_
 

The sub section iterator.

Definition at line 740 of file Configuration.h.

Referenced by ACE_Configuration_Heap::enumerate_sections, and ~ACE_Configuration_Section_Key_Heap.

VALUE_HASH::ITERATOR* ACE_Configuration_Section_Key_Heap::value_iter_
 

The value iterator.

Definition at line 737 of file Configuration.h.

Referenced by ACE_Configuration_Heap::enumerate_values, and ~ACE_Configuration_Section_Key_Heap.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:46:51 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002