#include <cfg_drive.h>


Definition at line 24 of file cfg_drive.h.
Public Member Functions | |
| cfg_DriveType () | |
| virtual | ~cfg_DriveType () |
| cfg_DriveType (const string &a_type, const pf_Group &a_group) | |
Public Attributes | |
| ivd_MediaType_e | m_type |
| UInt64_t | m_threshold |
Static Public Attributes | |
| static const string | m_threshold_c |
Private Attributes | |
| log_CLASSID_m | |
| cfg_DriveType::cfg_DriveType | ( | ) |
| cfg_DriveType::~cfg_DriveType | ( | ) | [virtual] |
Definition at line 47 of file cfg_drive.cpp.
References log_FUNC_m.
00047 { 00048 log_FUNC_m(~cfg_DriveType); 00049 }
| cfg_DriveType::cfg_DriveType | ( | const string & | a_type, | |
| const pf_Group & | a_group | |||
| ) |
Definition at line 53 of file cfg_drive.cpp.
References val_RuleVec::Add(), cfg_KILOBYTE, cfg_TERABYTE, cfg_Base::Convert(), ivd_MediaType(), log_FUNC_A_m, m_threshold, m_threshold_c, and m_type.
00054 : m_threshold(0) { 00055 00056 log_FUNC_A_m(cfg_DriveType, "type: \'" << a_type); 00057 00058 // Converting medium type string to number 00059 m_type = ivd_MediaType(a_type); 00060 00061 // Converting threshold 00062 val_RuleVec rules; 00063 rules.Add(new val_Size( 00064 cfg_DriveType::m_threshold_c, val_Limit(cfg_KILOBYTE, cfg_TERABYTE), 0, 1), m_threshold); 00065 00066 Convert(a_group, rules); 00067 }

const string cfg_DriveType::m_threshold_c [static] |
Definition at line 34 of file cfg_drive.h.
Referenced by cfg_DriveType(), and cfg_DriveVendor::cfg_DriveVendor().
cfg_DriveType::log_CLASSID_m [private] |
1.5.6