ConfigVariableInt64¶
-
class
ConfigVariableInt64
¶ Bases:
ConfigVariable
This is a convenience class to specialize
ConfigVariable
as a 64-bit integer type.Inheritance diagram
-
ConfigVariableInt64
(std::string const &name)¶
-
ConfigVariableInt64
(std::string const &name, int64_t default_value, std::string const &description = string(), int flags = 0)¶
-
ConfigVariableInt64
(std::string const &name, std::string const &default_value, std::string const &description = string(), int flags = 0)¶
-
ConfigVariableInt64
(ConfigVariableInt64 const&) = default¶
-
int64_t
get_default_value
(void) const¶ Returns the variable’s default value.
-
int64_t
get_value
(void) const¶ Returns the variable’s value.
-
int64_t
get_word
(std::size_t n) const¶ Returns the variable’s nth value.
-
void
set_value
(int64_t value)¶ Reassigns the variable’s local value.
-
void
set_word
(std::size_t n, int64_t 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.
-