#include <val.h>


Definition at line 858 of file val.h.
Public Member Functions | |
| val_DbgFlags (const string &a_name, const val_Limit a_limits, const UInt32_t a_minNumOfVal=1, const UInt32_t a_maxNumOfVal=6, const string &a_defaultStr="") | |
| virtual | ~val_DbgFlags () |
| virtual string | Validate (const string &a_strVal) |
Private Attributes | |
| log_CLASSID_m | |
| val_DbgFlags::val_DbgFlags | ( | const string & | a_name, | |
| const val_Limit | a_limits, | |||
| const UInt32_t | a_minNumOfVal = 1, |
|||
| const UInt32_t | a_maxNumOfVal = 6, |
|||
| const string & | a_defaultStr = "" | |||
| ) |
Definition at line 1289 of file val.cpp.
01295 : val_StrictString( a_name, a_limits, a_minNumOfVal, a_maxNumOfVal, a_defaultStr ) { 01296 01297 }
| string val_DbgFlags::Validate | ( | const string & | a_strVal | ) | [virtual] |
Reimplemented from val_Value.
Definition at line 1302 of file val.cpp.
References ie_NOT_VALID, ivd_Error, and log_FUNC_m.
01302 { 01303 log_FUNC_m(Validate); 01304 for (UInt32_t i(0); i < a_strVal.size(); i++){ 01305 if ('I' != a_strVal[i] && 01306 'N' != a_strVal[i] && 01307 'C' != a_strVal[i] && 01308 'T' != a_strVal[i] && 01309 'E' != a_strVal[i] && 01310 'V' != a_strVal[i] && 01311 'S' != a_strVal[i] && 01312 'O' != a_strVal[i] ){ 01313 throw ivd_Error(ie_NOT_VALID, 01314 string("Invalid Debug Flags. "\ 01315 "Possible dbgFlags are: I,N,C,T,E,V,O and S.")); 01316 } 01317 } 01318 return a_strVal; 01319 }
val_DbgFlags::log_CLASSID_m [private] |
1.5.6