#include <basic_types.h>
Public Member Functions | |
const Any & | defaultValue () const |
const std::string & | defaultValueString () const |
const std::string & | description () const |
PortDirection | direction () const |
PortInfo (PortDirection direction, std::type_index type_info, StringConverter conv) | |
PortInfo (PortDirection direction=PortDirection::INOUT) | |
template<typename T > | |
void | setDefaultValue (const T &default_value) |
void | setDescription (StringView description) |
![]() | |
const StringConverter & | converter () const |
bool | isStronglyTyped () const |
Any | parseString (const char *str) const |
Any | parseString (const std::string &str) const |
template<typename T > | |
Any | parseString (const T &) const |
const std::type_index & | type () const |
TypeInfo () | |
TypeInfo (std::type_index type_info, StringConverter conv) | |
const std::string & | typeName () const |
Private Attributes | |
Any | default_value_ |
std::string | default_value_str_ |
std::string | description_ |
PortDirection | direction_ |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static TypeInfo | Create () |
Definition at line 394 of file basic_types.h.
|
inline |
Definition at line 397 of file basic_types.h.
|
inline |
Definition at line 401 of file basic_types.h.
const Any & BT::PortInfo::defaultValue | ( | ) | const |
Definition at line 412 of file basic_types.cpp.
const std::string & BT::PortInfo::defaultValueString | ( | ) | const |
Definition at line 417 of file basic_types.cpp.
const std::string & BT::PortInfo::description | ( | ) | const |
Definition at line 407 of file basic_types.cpp.
PortDirection BT::PortInfo::direction | ( | ) | const |
Definition at line 369 of file basic_types.cpp.
|
inline |
Definition at line 410 of file basic_types.h.
void BT::PortInfo::setDescription | ( | StringView | description | ) |
Definition at line 402 of file basic_types.cpp.
|
private |
Definition at line 430 of file basic_types.h.
|
private |
Definition at line 431 of file basic_types.h.
|
private |
Definition at line 429 of file basic_types.h.
|
private |
Definition at line 428 of file basic_types.h.