#include <hpp/core/parameter.hh>
◆ Type
◆ ~Parameter()
hpp::core::Parameter::~Parameter |
( |
| ) |
|
◆ Parameter() [1/8]
hpp::core::Parameter::Parameter |
( |
const bool & |
value | ) |
|
|
explicit |
◆ Parameter() [2/8]
hpp::core::Parameter::Parameter |
( |
const size_type & |
value | ) |
|
|
explicit |
◆ Parameter() [3/8]
hpp::core::Parameter::Parameter |
( |
const value_type & |
value | ) |
|
|
explicit |
◆ Parameter() [4/8]
hpp::core::Parameter::Parameter |
( |
const std::string & |
value | ) |
|
|
explicit |
◆ Parameter() [5/8]
hpp::core::Parameter::Parameter |
( |
const vector_t & |
value | ) |
|
|
explicit |
◆ Parameter() [6/8]
hpp::core::Parameter::Parameter |
( |
const matrix_t & |
value | ) |
|
|
explicit |
◆ Parameter() [7/8]
hpp::core::Parameter::Parameter |
( |
const Parameter & |
value | ) |
|
◆ Parameter() [8/8]
hpp::core::Parameter::Parameter |
( |
| ) |
|
|
explicit |
Construct an empty parameter (None)
◆ boolValue()
bool hpp::core::Parameter::boolValue |
( |
| ) |
const |
◆ deleteValue()
void hpp::core::Parameter::deleteValue |
( |
| ) |
|
◆ floatValue()
value_type hpp::core::Parameter::floatValue |
( |
| ) |
const |
◆ intValue()
size_type hpp::core::Parameter::intValue |
( |
| ) |
const |
◆ matrixValue()
matrix_t hpp::core::Parameter::matrixValue |
( |
| ) |
const |
◆ operator=()
◆ stringValue()
std::string hpp::core::Parameter::stringValue |
( |
| ) |
const |
◆ type()
Type hpp::core::Parameter::type |
( |
| ) |
const |
Return the type of the value.
◆ typeName()
static std::string hpp::core::Parameter::typeName |
( |
Type |
type | ) |
|
|
static |
Return the name of the type.
Return the value as a castable value into the approriate type
For instance,
double x1 = v1.value();
double x2 = v2.value();
The first assignment will succeed, while the second one will throw an exception.
◆ vectorValue()
vector_t hpp::core::Parameter::vectorValue |
( |
| ) |
const |
◆ operator<<
HPP_CORE_DLLAPI friend std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Parameter & |
value |
|
) |
| |
|
friend |
◆ type_
Type hpp::core::Parameter::type_ |
◆ value_
const void* const hpp::core::Parameter::value_ |
The documentation for this class was generated from the following file: