31 #ifndef HPP_CORE_PARAMETER_HH
32 #define HPP_CORE_PARAMETER_HH
131 std::string doc =
"",
133 : name_(name), doc_(doc), type_(type), defaultValue_(defaultValue) {}
137 const std::string&
name()
const {
return name_; }
139 const std::string&
doc()
const {
return doc_; }
Definition: parameter.hh:128
const Parameter::Type & type() const
Definition: parameter.hh:138
ParameterDescription(Parameter::Type type, std::string name, std::string doc="", Parameter defaultValue=Parameter())
Definition: parameter.hh:130
const Parameter & defaultValue() const
ParameterDescription()
Definition: parameter.hh:135
const std::string & name() const
Definition: parameter.hh:137
const std::string & doc() const
Definition: parameter.hh:139
Definition: parameter.hh:63
Parameter(const value_type &value)
matrix_t matrixValue() const
Parameter()
Construct an empty parameter (None)
Type
Definition: parameter.hh:65
@ STRING
Definition: parameter.hh:72
@ VECTOR
as vector_t
Definition: parameter.hh:74
@ NONE
Definition: parameter.hh:66
@ BOOL
Definition: parameter.hh:67
@ FLOAT
as value_type
Definition: parameter.hh:71
@ MATRIX
as matrix_t
Definition: parameter.hh:76
@ INT
as size_type
Definition: parameter.hh:69
Type type() const
Return the type of the value.
Parameter operator=(const Parameter &value)
value_type floatValue() const
Parameter(const matrix_t &value)
Type type_
Definition: parameter.hh:123
HPP_CORE_DLLAPI friend std::ostream & operator<<(std::ostream &os, const Parameter &value)
Output in a stream.
static std::string typeName(Type type)
Return the name of the type.
Parameter(const std::string &value)
size_type intValue() const
Parameter(const Parameter &value)
Copy constructor.
Parameter(const bool &value)
Parameter(const size_type &value)
Parameter(const vector_t &value)
std::string stringValue() const
const void *const value_
Definition: parameter.hh:125
vector_t vectorValue() const
#define HPP_CORE_DLLAPI
Definition: config.hh:88
pinocchio::value_type value_type
Definition: fwd.hh:174
pinocchio::vector_t vector_t
Definition: fwd.hh:220
pinocchio::size_type size_type
Definition: fwd.hh:173
pinocchio::matrix_t matrix_t
Definition: fwd.hh:162
Definition: bi-rrt-planner.hh:35