Class of values of parameters.
More...
#include <stat_bench/param/parameter_value.h>
Class of values of parameters.
Definition at line 146 of file parameter_value.h.
◆ as()
template<typename T>
auto stat_bench::param::ParameterValue::as |
( |
| ) |
const -> const T& |
|
inlinenodiscard |
◆ calculate_hash()
auto stat_bench::param::ParameterValue::calculate_hash |
( |
| ) |
const -> std::size_t |
|
inlinenodiscard |
◆ clear()
void stat_bench::param::ParameterValue::clear |
( |
| ) |
|
|
inlinenoexcept |
◆ emplace()
template<typename T, typename... Args>
auto stat_bench::param::ParameterValue::emplace |
( |
Args &&... | args | ) |
-> ParameterValue& |
|
inline |
Initialize data.
- Template Parameters
-
T | Type of data. |
Args | Type of constructor arguments. |
- Parameters
-
[in] | args | Constructor arguments. |
- Returns
- This.
Definition at line 162 of file parameter_value.h.
◆ is_type_of()
template<typename T>
auto stat_bench::param::ParameterValue::is_type_of |
( |
| ) |
const -> bool |
|
inlinenodiscard |
Check data type.
- Template Parameters
-
- Returns
- Whether data is a object of type T.
Definition at line 185 of file parameter_value.h.
◆ operator!=()
auto stat_bench::param::ParameterValue::operator!= |
( |
const ParameterValue & | rhs | ) |
const -> bool |
|
inlinenodiscard |
Check whether two values are not equal.
- Parameters
-
[in] | rhs | Right-hand-side value. |
- Return values
-
true | Two values are not equal. |
false | Two values are equal. |
Definition at line 290 of file parameter_value.h.
◆ operator==()
auto stat_bench::param::ParameterValue::operator== |
( |
const ParameterValue & | rhs | ) |
const -> bool |
|
inlinenodiscard |
Check whether two values are equal.
- Parameters
-
[in] | rhs | Right-hand-side value. |
- Return values
-
true | Two values are equal. |
false | Two values are not equal. |
Definition at line 270 of file parameter_value.h.
◆ to_double()
auto stat_bench::param::ParameterValue::to_double |
( |
| ) |
const -> double |
|
inlinenodiscard |
◆ to_string()
◆ to_variant()
Convert to a variant object.
- Returns
- Value as a variant object.
Definition at line 242 of file parameter_value.h.
The documentation for this class was generated from the following file: