$search
#include <BoolTypeInfo.hpp>
Public Member Functions | |
BoolTypeInfo () | |
virtual bool | isStreamable () const |
virtual std::istream & | read (std::istream &os, base::DataSourceBase::shared_ptr out) const |
virtual std::ostream & | write (std::ostream &os, base::DataSourceBase::shared_ptr in) const |
Write boolean as 'true' or 'false'.
Definition at line 46 of file BoolTypeInfo.hpp.
RTT::types::BoolTypeInfo::BoolTypeInfo | ( | ) | [inline] |
Definition at line 42 of file BoolTypeInfo.hpp.
virtual bool RTT::types::BoolTypeInfo::isStreamable | ( | ) | const [inline, virtual] |
Returns true if this type is directly streamable using read()/write() or toString()/fromString().
Reimplemented from RTT::types::PrimitiveTypeInfo< bool, false >.
Definition at line 71 of file BoolTypeInfo.hpp.
virtual std::istream& RTT::types::BoolTypeInfo::read | ( | std::istream & | os, | |
base::DataSourceBase::shared_ptr | out | |||
) | const [inline, virtual] |
Read a new value for this datasource from a human readable string. The default does nothing.
Reimplemented from RTT::types::PrimitiveTypeInfo< bool, false >.
Definition at line 57 of file BoolTypeInfo.hpp.
virtual std::ostream& RTT::types::BoolTypeInfo::write | ( | std::ostream & | os, | |
base::DataSourceBase::shared_ptr | in | |||
) | const [inline, virtual] |
Output this datasource as a human readable string. The default just writes the type name in parentheses to os.
Reimplemented from RTT::types::PrimitiveTypeInfo< bool, false >.
Definition at line 47 of file BoolTypeInfo.hpp.