29 #include <unordered_map>
const std::string & name() const
void TrimStringRight(std::string &s)
std::shared_ptr< ROSMessage > _cache_message
std::shared_ptr< ROSMessage > getMessagePtr(const RosMessageLibrary &library) const
bool isArray() const
True if the type is an array.
const RosMessageLibrary * _cache_library
const std::string & value() const
If constant, value of field, else undefined.
A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair...
void TrimStringLeft(std::string &s)
void TrimString(std::string &s)
bool isConstant() const
True if field is a constant in message definition.
std::unordered_map< ROSType, std::shared_ptr< ROSMessage > > RosMessageLibrary
const ROSType & type() const
const char * definition()
void changeType(const ROSType &type)
ROSField(const ROSType &type, const std::string &name)