Public Member Functions | Protected Attributes | Friends
RosIntrospection::ROSField Class Reference

A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair. More...

#include <parser.hpp>

List of all members.

Public Member Functions

bool isConstant () const
 True if field is a constant in message definition.
const SStringname () const
 ROSField (const std::string &name, const ROSType &type)
 ROSField (const std::string &definition)
const ROSTypetype () const
const SStringvalue () const
 If constant, value of field, else undefined.

Protected Attributes

SString _name
ROSType _type
SString _value

Friends

class ROSMessage

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class ROSMessage [friend]

Definition at line 156 of file parser.hpp.


Member Data Documentation

Definition at line 159 of file parser.hpp.

Definition at line 160 of file parser.hpp.

Definition at line 161 of file parser.hpp.


The documentation for this class was generated from the following files:


ros_type_introspection
Author(s): Davide Faconti
autogenerated on Sun Oct 1 2017 02:54:53