A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair. More...
#include <parser.hpp>
Public Member Functions | |
bool | isConstant () const |
True if field is a constant in message definition. | |
const SString & | name () const |
ROSField (const std::string &name, const ROSType &type) | |
ROSField (const std::string &definition) | |
const ROSType & | type () const |
const SString & | value () const |
If constant, value of field, else undefined. | |
Protected Attributes | |
SString | _name |
ROSType | _type |
SString | _value |
Friends | |
class | ROSMessage |
A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair.
Definition at line 137 of file parser.hpp.
RosIntrospection::ROSField::ROSField | ( | const std::string & | name, |
const ROSType & | type | ||
) | [inline] |
Definition at line 139 of file parser.hpp.
RosIntrospection::ROSField::ROSField | ( | const std::string & | definition | ) |
Definition at line 370 of file parser.cpp.
bool RosIntrospection::ROSField::isConstant | ( | ) | const [inline] |
True if field is a constant in message definition.
Definition at line 149 of file parser.hpp.
const SString& RosIntrospection::ROSField::name | ( | ) | const [inline] |
Definition at line 144 of file parser.hpp.
const ROSType& RosIntrospection::ROSField::type | ( | ) | const [inline] |
Definition at line 146 of file parser.hpp.
const SString& RosIntrospection::ROSField::value | ( | ) | const [inline] |
If constant, value of field, else undefined.
Definition at line 154 of file parser.hpp.
friend class ROSMessage [friend] |
Definition at line 156 of file parser.hpp.
SString RosIntrospection::ROSField::_name [protected] |
Definition at line 159 of file parser.hpp.
ROSType RosIntrospection::ROSField::_type [protected] |
Definition at line 160 of file parser.hpp.
SString RosIntrospection::ROSField::_value [protected] |
Definition at line 161 of file parser.hpp.