#include <dynamic-graph/value.h>
|
enum | Type {
NONE,
BOOL,
UNSIGNED,
INT,
FLOAT,
DOUBLE,
STRING,
VECTOR,
MATRIX,
MATRIX4D,
NB_TYPES
} |
|
Enumerator |
---|
NONE |
|
BOOL |
|
UNSIGNED |
|
INT |
|
FLOAT |
|
DOUBLE |
|
STRING |
|
VECTOR |
|
MATRIX |
|
MATRIX4D |
|
NB_TYPES |
|
dynamicgraph::command::Value::~Value |
( |
| ) |
|
dynamicgraph::command::Value::Value |
( |
const bool & |
value | ) |
|
|
explicit |
dynamicgraph::command::Value::Value |
( |
const unsigned & |
value | ) |
|
|
explicit |
dynamicgraph::command::Value::Value |
( |
const int & |
value | ) |
|
|
explicit |
dynamicgraph::command::Value::Value |
( |
const float & |
value | ) |
|
|
explicit |
dynamicgraph::command::Value::Value |
( |
const double & |
value | ) |
|
|
explicit |
dynamicgraph::command::Value::Value |
( |
const std::string & |
value | ) |
|
|
explicit |
dynamicgraph::command::Value::Value |
( |
const Vector & |
value | ) |
|
|
explicit |
dynamicgraph::command::Value::Value |
( |
const Eigen::MatrixXd & |
value | ) |
|
|
explicit |
dynamicgraph::command::Value::Value |
( |
const Eigen::Matrix4d & |
value | ) |
|
|
explicit |
dynamicgraph::command::Value::Value |
( |
const Value & |
value | ) |
|
dynamicgraph::command::Value::Value |
( |
| ) |
|
|
explicit |
bool dynamicgraph::command::Value::boolValue |
( |
| ) |
const |
void dynamicgraph::command::Value::deleteValue |
( |
| ) |
|
double dynamicgraph::command::Value::doubleValue |
( |
| ) |
const |
float dynamicgraph::command::Value::floatValue |
( |
| ) |
const |
int dynamicgraph::command::Value::intValue |
( |
| ) |
const |
Eigen::Matrix4d dynamicgraph::command::Value::matrix4dValue |
( |
| ) |
const |
Eigen::MatrixXd dynamicgraph::command::Value::matrixXdValue |
( |
| ) |
const |
Value dynamicgraph::command::Value::operator= |
( |
const Value & |
value | ) |
|
std::string dynamicgraph::command::Value::stringValue |
( |
| ) |
const |
Type dynamicgraph::command::Value::type |
( |
| ) |
const |
Return the type of the value.
static std::string dynamicgraph::command::Value::typeName |
( |
Type |
type | ) |
|
|
static |
Return the name of the type.
unsigned dynamicgraph::command::Value::unsignedValue |
( |
| ) |
const |
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.
Vector dynamicgraph::command::Value::vectorValue |
( |
| ) |
const |
Type dynamicgraph::command::Value::type_ |
const void* const dynamicgraph::command::Value::value_ |