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 Member Functions

 ACE_Configuration_Section_IntId (void)
 Default ctor.
 ACE_Configuration_Section_IntId (VALUE_MAP *value_hash_map, SUBSECTION_MAP *section_hash_map)
 Named ctor.
 ACE_Configuration_Section_IntId (const ACE_Configuration_Section_IntId &rhs)
 Copy ctor.
 ~ACE_Configuration_Section_IntId (void)
 Destructor.
ACE_Configuration_Section_IntIdoperator= (const ACE_Configuration_Section_IntId &rhs)
 Assignment operator.
void free (ACE_Allocator *alloc)
 Frees the hash table and all its values.

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 696 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 722 of file Configuration.h.

Referenced by ACE_Configuration_Heap::enumerate_sections(), free(), and operator=().

VALUE_MAP* ACE_Configuration_Section_IntId::value_hash_map_

Definition at line 720 of file Configuration.h.

Referenced by ACE_Configuration_Heap::enumerate_values(), free(), and operator=().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:35:00 2010 for ACE by  doxygen 1.4.7