Variable to be specified on the command line or in input files. 更多...
Public 成员函数 | |
variable () | |
constructors, destructors, assignment operator 更多... | |
variable (const variable &) | |
variable (const char *Name, const char *Value, const char *FieldSeparator) | |
~variable () | |
variable & | operator= (const variable &Other) |
void | take (const char *Value, const char *FieldSeparator) |
const std::string * | get_element (unsigned Idx) const |
get a specific element in the string vector (return 0 if not present) 更多... | |
Public 属性 | |
std::string | name |
data members 更多... | |
STRING_VECTOR | value |
std::string | original |
Variable to be specified on the command line or in input files.
(i.e. of the form var='12 312 341')
|
inline |
constructors, destructors, assignment operator
|
inline |
参考 GETPOT_NAMESPACE::GetPot::operator=() , 以及 operator=().
|
inline |
参考 take().
|
inline |
get a specific element in the string vector (return 0 if not present)
参考自 GETPOT_NAMESPACE::GetPot::get_value_no_default() , 以及 GETPOT_NAMESPACE::GetPot::operator()().
|
inline |
参考自 variable().
|
inline |
参考自 variable().
std::string GETPOT_NAMESPACE::GetPot::variable::name |
std::string GETPOT_NAMESPACE::GetPot::variable::original |
STRING_VECTOR GETPOT_NAMESPACE::GetPot::variable::value |