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

ACE_Configuration_Section_IntId Class Reference

The internal ID for a section hash table. More...

#include <Configuration.h>

Collaboration diagram for ACE_Configuration_Section_IntId:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_Configuration_Section_IntId (void)
 Default ctor. More...

ACE_EXPLICIT ACE_Configuration_Section_IntId (VALUE_MAP *value_hash_map, SUBSECTION_MAP *section_hash_map)
 Named ctor. More...

 ACE_Configuration_Section_IntId (const ACE_Configuration_Section_IntId &rhs)
 Copy ctor. More...

 ~ACE_Configuration_Section_IntId (void)
 Destructor. More...

ACE_Configuration_Section_IntId & operator= (const ACE_Configuration_Section_IntId &rhs)
 Assignment operator. More...

void free (ACE_Allocator *alloc)
 Frees the hash table and all its values. More...


Public Attributes

VALUE_MAPvalue_hash_map_
SUBSECTION_MAPsection_hash_map_

Detailed Description

The internal ID for a section hash table.

Contains a hash table containing value name/values

Definition at line 676 of file Configuration.h.


Constructor & Destructor Documentation

ACE_Configuration_Section_IntId::ACE_Configuration_Section_IntId void   
 

Default ctor.

Definition at line 1190 of file Configuration.cpp.

01191   : value_hash_map_ (0),
01192     section_hash_map_ (0)
01193 {
01194 }

ACE_Configuration_Section_IntId::ACE_Configuration_Section_IntId VALUE_MAP   value_hash_map,
SUBSECTION_MAP   section_hash_map
 

Named ctor.

Definition at line 1196 of file Configuration.cpp.

01197   : value_hash_map_ (value_hash_map),
01198     section_hash_map_ (section_hash_map)
01199 {
01200 }

ACE_Configuration_Section_IntId::ACE_Configuration_Section_IntId const ACE_Configuration_Section_IntId &    rhs
 

Copy ctor.

Definition at line 1202 of file Configuration.cpp.

01203   : value_hash_map_ (rhs.value_hash_map_),
01204     section_hash_map_ (rhs.section_hash_map_)
01205 {
01206 
01207 }

ACE_Configuration_Section_IntId::~ACE_Configuration_Section_IntId void   
 

Destructor.

Definition at line 1209 of file Configuration.cpp.

01210 {
01211 }


Member Function Documentation

void ACE_Configuration_Section_IntId::free ACE_Allocator   alloc
 

Frees the hash table and all its values.

Definition at line 1225 of file Configuration.cpp.

References ACE_Allocator::free, section_hash_map_, and value_hash_map_.

Referenced by ACE_Configuration_Heap::remove_section.

01226 {
01227   alloc->free ((void *) (value_hash_map_));
01228   alloc->free ((void *) (section_hash_map_));
01229 }

ACE_Configuration_Section_IntId & ACE_Configuration_Section_IntId::operator= const ACE_Configuration_Section_IntId &    rhs
 

Assignment operator.

Definition at line 1214 of file Configuration.cpp.

References section_hash_map_, and value_hash_map_.

01215 {
01216   if (this != &rhs)
01217     {
01218       value_hash_map_ = rhs.value_hash_map_;
01219       section_hash_map_ = rhs.section_hash_map_;
01220     }
01221   return *this;
01222 }


Member Data Documentation

SUBSECTION_MAP* ACE_Configuration_Section_IntId::section_hash_map_
 

Definition at line 702 of file Configuration.h.

Referenced by ACE_Configuration_Heap::add_section, ACE_Configuration_Heap::enumerate_sections, free, operator=, and ACE_Configuration_Heap::remove_section.

VALUE_MAP* ACE_Configuration_Section_IntId::value_hash_map_
 

Definition at line 700 of file Configuration.h.

Referenced by ACE_Configuration_Heap::enumerate_values, ACE_Configuration_Heap::find_value, free, ACE_Configuration_Heap::get_binary_value, ACE_Configuration_Heap::get_integer_value, ACE_Configuration_Heap::get_string_value, operator=, ACE_Configuration_Heap::remove_section, ACE_Configuration_Heap::remove_value, ACE_Configuration_Heap::set_binary_value, ACE_Configuration_Heap::set_integer_value, and ACE_Configuration_Heap::set_string_value.


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