21 INLINE ConfigVariableList::
22 ~ConfigVariableList() {
30 INLINE ConfigVariableList::
31 ConfigVariableList(
const string &name,
32 const string &description,
int flags) :
33 #ifdef PRC_SAVE_DESCRIPTIONS
43 _core->set_default_value(
"");
56 return _core->get_num_trusted_references();
82 return _core->get_num_unique_references();
125 variable.output(out);
int size() const
Returns the number of unique values of the variable.
The internal definition of a ConfigVariable.
int get_num_values() const
Returns the number of values in the variable.
This class is similar to ConfigVariable, but it reports its value as a list of strings.
string get_string_value(int n) const
Returns the nth value of the variable.
string get_unique_value(int n) const
Returns the nth unique value of the variable.
int get_num_unique_values() const
Returns the number of unique values in the variable.
This class is the base class for both ConfigVariableList and ConfigVariable (and hence for all of the...
string operator[](int n) const
Returns the nth unique value of the variable.
A single declaration of a config variable, typically defined as one line in a .prc file...
const string & get_string_value() const
Returns the value assigned to this variable.