20 #ifndef HPP_CORE_PARAMETER_HH
21 # define HPP_CORE_PARAMETER_HH
122 std::string doc =
"",
127 , defaultValue_ (defaultValue)
132 const std::string&
name ()
const {
return name_; }
134 const std::string&
doc ()
const {
return doc_ ; }
Definition: parameter.hh:118
const Parameter::Type & type() const
Definition: parameter.hh:133
ParameterDescription(Parameter::Type type, std::string name, std::string doc="", Parameter defaultValue=Parameter())
Definition: parameter.hh:120
const Parameter & defaultValue() const
ParameterDescription()
Definition: parameter.hh:130
const std::string & name() const
Definition: parameter.hh:132
const std::string & doc() const
Definition: parameter.hh:134
Definition: parameter.hh:54
Parameter(const value_type &value)
matrix_t matrixValue() const
Parameter()
Construct an empty parameter (None)
Type
Definition: parameter.hh:56
@ STRING
Definition: parameter.hh:63
@ VECTOR
as vector_t
Definition: parameter.hh:65
@ NONE
Definition: parameter.hh:57
@ BOOL
Definition: parameter.hh:58
@ FLOAT
as value_type
Definition: parameter.hh:62
@ MATRIX
as matrix_t
Definition: parameter.hh:67
@ INT
as size_type
Definition: parameter.hh:60
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:112
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:114
vector_t vectorValue() const
#define HPP_CORE_DLLAPI
Definition: config.hh:64
pinocchio::value_type value_type
Definition: fwd.hh:157
pinocchio::vector_t vector_t
Definition: fwd.hh:202
pinocchio::size_type size_type
Definition: fwd.hh:156
pinocchio::matrix_t matrix_t
Definition: fwd.hh:145
Definition: bi-rrt-planner.hh:24