#include <dynamic-graph/value.h>
|
| enum | Type {
NONE,
BOOL,
UNSIGNED,
INT,
FLOAT,
DOUBLE,
STRING,
VECTOR,
MATRIX,
MATRIX4D,
VALUES,
NB_TYPES
} |
| |
◆ Type
| Enumerator |
|---|
| NONE | |
| BOOL | |
| UNSIGNED | |
| INT | |
| FLOAT | |
| DOUBLE | |
| STRING | |
| VECTOR | |
| MATRIX | |
| MATRIX4D | |
| VALUES | |
| NB_TYPES | |
◆ ~Value()
| dynamicgraph::command::Value::~Value |
( |
| ) |
|
◆ Value() [1/12]
| dynamicgraph::command::Value::Value |
( |
const bool & |
value | ) |
|
|
explicit |
◆ Value() [2/12]
| dynamicgraph::command::Value::Value |
( |
const unsigned & |
value | ) |
|
|
explicit |
◆ Value() [3/12]
| dynamicgraph::command::Value::Value |
( |
const int & |
value | ) |
|
|
explicit |
◆ Value() [4/12]
| dynamicgraph::command::Value::Value |
( |
const float & |
value | ) |
|
|
explicit |
◆ Value() [5/12]
| dynamicgraph::command::Value::Value |
( |
const double & |
value | ) |
|
|
explicit |
◆ Value() [6/12]
| dynamicgraph::command::Value::Value |
( |
const std::string & |
value | ) |
|
|
explicit |
◆ Value() [7/12]
| dynamicgraph::command::Value::Value |
( |
const Vector & |
value | ) |
|
|
explicit |
◆ Value() [8/12]
| dynamicgraph::command::Value::Value |
( |
const Eigen::MatrixXd & |
value | ) |
|
|
explicit |
◆ Value() [9/12]
| dynamicgraph::command::Value::Value |
( |
const Eigen::Matrix4d & |
value | ) |
|
|
explicit |
◆ Value() [10/12]
| dynamicgraph::command::Value::Value |
( |
const Values & |
value | ) |
|
|
explicit |
◆ Value() [11/12]
| dynamicgraph::command::Value::Value |
( |
const Value & |
value | ) |
|
◆ Value() [12/12]
| dynamicgraph::command::Value::Value |
( |
| ) |
|
|
explicit |
◆ boolValue()
| bool dynamicgraph::command::Value::boolValue |
( |
| ) |
const |
◆ constValuesValue()
| const Values& dynamicgraph::command::Value::constValuesValue |
( |
| ) |
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 |
◆ matrix4dValue()
| Eigen::Matrix4d dynamicgraph::command::Value::matrix4dValue |
( |
| ) |
const |
◆ matrixXdValue()
| Eigen::MatrixXd dynamicgraph::command::Value::matrixXdValue |
( |
| ) |
const |
◆ operator=()
| Value dynamicgraph::command::Value::operator= |
( |
const Value & |
value | ) |
|
◆ operator==()
| bool dynamicgraph::command::Value::operator== |
( |
const Value & |
other | ) |
const |
◆ 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.
◆ valuesValue()
| Values dynamicgraph::command::Value::valuesValue |
( |
| ) |
const |
◆ vectorValue()
| Vector dynamicgraph::command::Value::vectorValue |
( |
| ) |
const |
◆ EitherType
◆ operator<<
◆ type_
| Type dynamicgraph::command::Value::type_ |
◆ value_
| const void* const dynamicgraph::command::Value::value_ |