ConfigVariableInt
-
class ConfigVariableInt
Bases:
ConfigVariableThis is a convenience class to specialize
ConfigVariableas an integer type.Inheritance diagram
-
explicit ConfigVariableInt(std::string_view name)
-
explicit ConfigVariableInt(std::string_view name, int default_value, std::string_view description = string_view(), int flags = 0)
-
explicit ConfigVariableInt(std::string_view name, std::string_view default_value, std::string_view description = string_view(), int flags = 0)
-
ConfigVariableInt(ConfigVariableInt const&) = default
-
int get_default_value(void) const
Returns the variable’s default value.
-
int get_value(void) const
Returns the variable’s value.
-
int get_word(std::size_t n) const
Returns the variable’s nth value.
-
void set_value(int value)
Reassigns the variable’s local value.
-
void set_word(std::size_t n, int value)
Reassigns the variable’s nth value. This makes a local copy of the variable’s overall value.
-
std::size_t size(void) const
Returns the number of unique words in the variable.
-
explicit ConfigVariableInt(std::string_view name)
