#include <dynamic-graph/value.h>
◆ Type
Enumerator |
---|
NONE | |
BOOL | |
UNSIGNED | |
INT | |
FLOAT | |
DOUBLE | |
STRING | |
VECTOR | |
MATRIX | |
NB_TYPES | |
◆ ~Value()
dynamicgraph::command::Value::~Value |
( |
| ) |
|
◆ Value() [1/10]
dynamicgraph::command::Value::Value |
( |
const bool & |
value | ) |
|
|
explicit |
◆ Value() [2/10]
dynamicgraph::command::Value::Value |
( |
const unsigned & |
value | ) |
|
|
explicit |
◆ Value() [3/10]
dynamicgraph::command::Value::Value |
( |
const int & |
value | ) |
|
|
explicit |
◆ Value() [4/10]
dynamicgraph::command::Value::Value |
( |
const float & |
value | ) |
|
|
explicit |
◆ Value() [5/10]
dynamicgraph::command::Value::Value |
( |
const double & |
value | ) |
|
|
explicit |
◆ Value() [6/10]
dynamicgraph::command::Value::Value |
( |
const std::string & |
value | ) |
|
|
explicit |
◆ Value() [7/10]
dynamicgraph::command::Value::Value |
( |
const Vector & |
value | ) |
|
|
explicit |
◆ Value() [8/10]
dynamicgraph::command::Value::Value |
( |
const Matrix & |
value | ) |
|
|
explicit |
◆ Value() [9/10]
dynamicgraph::command::Value::Value |
( |
const Value & |
value | ) |
|
◆ Value() [10/10]
dynamicgraph::command::Value::Value |
( |
| ) |
|
|
explicit |
◆ boolValue()
bool dynamicgraph::command::Value::boolValue |
( |
| ) |
const |
◆ deleteValue()
void dynamicgraph::command::Value::deleteValue |
( |
| ) |
|
◆ doubleValue()
double dynamicgraph::command::Value::doubleValue |
( |
| ) |
const |
◆ floatValue()
float dynamicgraph::command::Value::floatValue |
( |
| ) |
const |
◆ intValue()
int dynamicgraph::command::Value::intValue |
( |
| ) |
const |
◆ matrixValue()
Matrix dynamicgraph::command::Value::matrixValue |
( |
| ) |
const |
◆ operator=()
Value dynamicgraph::command::Value::operator= |
( |
const Value & |
value | ) |
|
◆ stringValue()
std::string dynamicgraph::command::Value::stringValue |
( |
| ) |
const |
◆ type()
Type dynamicgraph::command::Value::type |
( |
| ) |
const |
Return the type of the value.
◆ typeName()
static std::string dynamicgraph::command::Value::typeName |
( |
Type |
type | ) |
|
|
static |
Return the name of the type.
◆ unsignedValue()
unsigned dynamicgraph::command::Value::unsignedValue |
( |
| ) |
const |
◆ value()
const EitherType dynamicgraph::command::Value::value |
( |
| ) |
const |
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 dynamicgraph::command::Value::vectorValue |
( |
| ) |
const |
◆ EitherType
◆ operator<<
◆ type_
Type dynamicgraph::command::Value::type_ |
◆ value_
const void* const dynamicgraph::command::Value::value_ |