Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes

cfg_PMTree Class Reference
[Parser for config files; validation]

This class is member of cfg_pmCfg. More...

#include <cfg_pm.h>

Inheritance diagram for cfg_PMTree:
Inheritance graph
[legend]
Collaboration diagram for cfg_PMTree:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

This class is member of cfg_pmCfg.

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

Definition at line 85 of file cfg_pm.h.


Constructor & Destructor Documentation

cfg_PMTree::cfg_PMTree (  )  [inline]

Definition at line 88 of file cfg_pm.h.

{};

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

Definition at line 89 of file cfg_pm.h.

{};

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

Definition at line 737 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.

                                                                    {
    this->name = a_name;
    val_RuleVec  rules;

    rules.Add(
        new val_StrictStringList( c_pools,
                            val_Limit(cfg_MIN_POOL_NAME, cfg_MAX_POOL_NAME)),
        this->pools);


    Convert(a_group, rules);
    CheckMandatory(rules);
}

Here is the call graph for this function:


Member Data Documentation

const string cfg_PMTree::c_pools [static]

Definition at line 93 of file cfg_pm.h.

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

Reimplemented from cfg_Base.

Definition at line 100 of file cfg_pm.h.

Definition at line 95 of file cfg_pm.h.

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

vector<val_Element<string> > cfg_PMTree::pools

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