#include <basic_types.h>
Public Member Functions | |
const std::string & | defaultValue () const |
const std::string & | description () const |
PortDirection | direction () const |
Any | parseString (const char *str) const |
Any | parseString (const std::string &str) const |
template<typename T > | |
Any | parseString (const T &) const |
PortInfo (PortDirection direction=PortDirection::INOUT) | |
PortInfo (PortDirection direction, const std::type_info &type_info, StringConverter conv) | |
void | setDefaultValue (StringView default_value_as_string) |
void | setDescription (StringView description) |
const std::type_info * | type () const |
Private Attributes | |
StringConverter | _converter |
const std::type_info * | _info |
PortDirection | _type |
std::string | default_value_ |
std::string | description_ |
Definition at line 203 of file basic_types.h.
|
inline |
Definition at line 207 of file basic_types.h.
|
inline |
Definition at line 210 of file basic_types.h.
const std::string & BT::PortInfo::defaultValue | ( | ) | const |
Definition at line 297 of file basic_types.cpp.
const std::string & BT::PortInfo::description | ( | ) | const |
Definition at line 292 of file basic_types.cpp.
PortDirection BT::PortInfo::direction | ( | ) | const |
Definition at line 254 of file basic_types.cpp.
Any BT::PortInfo::parseString | ( | const char * | str | ) | const |
Definition at line 264 of file basic_types.cpp.
Any BT::PortInfo::parseString | ( | const std::string & | str | ) | const |
Definition at line 273 of file basic_types.cpp.
|
inline |
Definition at line 227 of file basic_types.h.
void BT::PortInfo::setDefaultValue | ( | StringView | default_value_as_string | ) |
Definition at line 287 of file basic_types.cpp.
void BT::PortInfo::setDescription | ( | StringView | description | ) |
Definition at line 282 of file basic_types.cpp.
const std::type_info * BT::PortInfo::type | ( | ) | const |
Definition at line 259 of file basic_types.cpp.
|
private |
Definition at line 245 of file basic_types.h.
|
private |
Definition at line 244 of file basic_types.h.
|
private |
Definition at line 243 of file basic_types.h.
|
private |
Definition at line 247 of file basic_types.h.
|
private |
Definition at line 246 of file basic_types.h.