#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 212 of file basic_types.h.
|
inline |
Definition at line 216 of file basic_types.h.
|
inline |
Definition at line 219 of file basic_types.h.
const std::string & BT::PortInfo::defaultValue | ( | ) | const |
Definition at line 321 of file basic_types.cpp.
const std::string & BT::PortInfo::description | ( | ) | const |
Definition at line 316 of file basic_types.cpp.
PortDirection BT::PortInfo::direction | ( | ) | const |
Definition at line 278 of file basic_types.cpp.
Any BT::PortInfo::parseString | ( | const char * | str | ) | const |
Definition at line 288 of file basic_types.cpp.
Any BT::PortInfo::parseString | ( | const std::string & | str | ) | const |
Definition at line 297 of file basic_types.cpp.
|
inline |
Definition at line 236 of file basic_types.h.
void BT::PortInfo::setDefaultValue | ( | StringView | default_value_as_string | ) |
Definition at line 311 of file basic_types.cpp.
void BT::PortInfo::setDescription | ( | StringView | description | ) |
Definition at line 306 of file basic_types.cpp.
const std::type_info * BT::PortInfo::type | ( | ) | const |
Definition at line 283 of file basic_types.cpp.
|
private |
Definition at line 254 of file basic_types.h.
|
private |
Definition at line 253 of file basic_types.h.
|
private |
Definition at line 252 of file basic_types.h.
|
private |
Definition at line 256 of file basic_types.h.
|
private |
Definition at line 255 of file basic_types.h.