#include <cfg_pm.h>


Definition at line 93 of file cfg_pm.h.
Public Member Functions | |
| cfg_PMFileExpiration () | |
| virtual | ~cfg_PMFileExpiration () |
| cfg_PMFileExpiration (const string &a_name, const pf_Group &a_group) | |
Public Attributes | |
| string | name |
| UInt32_t | m_fileAge |
| vector< val_Element< string > > | m_pathList |
Private Attributes | |
| log_CLASSID_m | |
| cfg_PMFileExpiration::cfg_PMFileExpiration | ( | ) | [inline] |
| virtual cfg_PMFileExpiration::~cfg_PMFileExpiration | ( | ) | [inline, virtual] |
| cfg_PMFileExpiration::cfg_PMFileExpiration | ( | const string & | a_name, | |
| const pf_Group & | a_group | |||
| ) |
Definition at line 699 of file cfg_pm.cpp.
References val_RuleVec::Add(), val_Duration::Bind(), cfg_DEF_EXPIRATIONAGE, cfg_MAX_EXPIRATIONAGE, cfg_MAX_PATHNAME, cfg_MIN_EXPIRATIONAGE, cfg_Base::CheckMandatory(), val_Value::Conv(), cfg_Base::Convert(), ie_NOT_VALID, ivd_Error, m_fileAge, m_pathList, and name.
00699 { 00700 static const string c_path("Path"); 00701 00702 this->name = a_name; 00703 val_RuleVec rules; 00704 val_Duration converter("", 00705 val_Limit( cfg_MIN_EXPIRATIONAGE, cfg_MAX_EXPIRATIONAGE ), 00706 1, 00707 1, 00708 cfg_DEF_EXPIRATIONAGE); 00709 converter.Bind(this->m_fileAge); 00710 try { 00711 converter.Conv(a_name); 00712 } 00713 catch (ivd_Error e) { 00714 throw ivd_Error(ie_NOT_VALID, 00715 string("Invalid file expiration age value: ") + name); 00716 } 00717 rules.Add( 00718 new val_PathList( c_path, 00719 val_Limit( 0, cfg_MAX_PATHNAME ), 00720 0), 00721 this->m_pathList 00722 ); 00723 00724 Convert(a_group, rules); 00725 CheckMandatory(rules); 00726 }

| string cfg_PMFileExpiration::name |
| vector<val_Element<string> > cfg_PMFileExpiration::m_pathList |
Definition at line 105 of file cfg_pm.h.
Referenced by cfg_PMFileExpiration(), cfg_PMCfg::ConvertGroup(), and cfg_PMCfg::ValidateFileExpiration().
cfg_PMFileExpiration::log_CLASSID_m [private] |
1.5.6