cfg_PMTree Class Reference
[Parser for config files; validation]

#include <cfg_pm.h>

Inheritance diagram for cfg_PMTree:

Inheritance graph
[legend]
Collaboration diagram for cfg_PMTree:

Collaboration graph
[legend]

List of all members.


Detailed Description

This class is member of cfg_pmCfg.

Warning:
This class is currently not used. See also cfg_pm.cpp.

Definition at line 65 of file cfg_pm.h.


Public Member Functions

 cfg_PMTree ()
virtual ~cfg_PMTree ()
 cfg_PMTree (const string &a_name, const pf_Group &a_group)

Public Attributes

string name
vector< val_Element< string > > pools

Static Public Attributes

static const string c_pools

Private Attributes

 log_CLASSID_m

Constructor & Destructor Documentation

cfg_PMTree::cfg_PMTree (  )  [inline]

Definition at line 68 of file cfg_pm.h.

00068 {};

virtual cfg_PMTree::~cfg_PMTree (  )  [inline, virtual]

Definition at line 69 of file cfg_pm.h.

00069 {};

cfg_PMTree::cfg_PMTree ( const string &  a_name,
const pf_Group a_group 
)

Definition at line 685 of file cfg_pm.cpp.

References val_RuleVec::Add(), c_pools, cfg_MAX_POOL_NAME, cfg_MIN_POOL_NAME, cfg_Base::CheckMandatory(), cfg_Base::Convert(), name, and pools.

00685                                                                     {
00686     this->name = a_name;
00687     val_RuleVec  rules;
00688 
00689     rules.Add(
00690         new val_StrictStringList( c_pools,
00691                             val_Limit(cfg_MIN_POOL_NAME, cfg_MAX_POOL_NAME)),
00692         this->pools);
00693 
00694 
00695     Convert(a_group, rules);
00696     CheckMandatory(rules);
00697 }

Here is the call graph for this function:


Member Data Documentation

const string cfg_PMTree::c_pools [static]

Definition at line 73 of file cfg_pm.h.

Referenced by cfg_PMTree(), and cfg_PMCfg::Refresh().

Definition at line 75 of file cfg_pm.h.

Referenced by cfg_PMTree(), and i_PartitionManager_i::ParseConfig().

Reimplemented from cfg_Base.

Definition at line 80 of file cfg_pm.h.


The documentation for this class was generated from the following files:

Generated on Mon Feb 27 19:04:03 2012 for OPENARCHIVE by  doxygen 1.5.6