#include <hpp/core/parameter.hh>
hpp::core::Parameter::~Parameter |
( |
| ) |
|
hpp::core::Parameter::Parameter |
( |
const bool & |
value | ) |
|
|
explicit |
hpp::core::Parameter::Parameter |
( |
const size_type & |
value | ) |
|
|
explicit |
hpp::core::Parameter::Parameter |
( |
const value_type & |
value | ) |
|
|
explicit |
hpp::core::Parameter::Parameter |
( |
const std::string & |
value | ) |
|
|
explicit |
hpp::core::Parameter::Parameter |
( |
const vector_t & |
value | ) |
|
|
explicit |
hpp::core::Parameter::Parameter |
( |
const matrix_t & |
value | ) |
|
|
explicit |
hpp::core::Parameter::Parameter |
( |
const Parameter & |
value | ) |
|
hpp::core::Parameter::Parameter |
( |
| ) |
|
|
explicit |
Construct an empty parameter (None)
bool hpp::core::Parameter::boolValue |
( |
| ) |
const |
void hpp::core::Parameter::deleteValue |
( |
| ) |
|
value_type hpp::core::Parameter::floatValue |
( |
| ) |
const |
size_type hpp::core::Parameter::intValue |
( |
| ) |
const |
matrix_t hpp::core::Parameter::matrixValue |
( |
| ) |
const |
std::string hpp::core::Parameter::stringValue |
( |
| ) |
const |
Type hpp::core::Parameter::type |
( |
| ) |
const |
Return the type of the value.
static std::string hpp::core::Parameter::typeName |
( |
Type |
type | ) |
|
|
static |
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. Return the name of the type
vector_t hpp::core::Parameter::vectorValue |
( |
| ) |
const |
HPP_CORE_DLLAPI friend std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Parameter & |
value |
|
) |
| |
|
friend |
Type hpp::core::Parameter::type_ |
const void* const hpp::core::Parameter::value_ |