23 #ifndef VARIANT_TOPIC_TOOLS_MESSAGE_DEFINITION_PARSER_H 24 #define VARIANT_TOPIC_TOOLS_MESSAGE_DEFINITION_PARSER_H 28 #include <boost/regex.hpp> 41 static size_t parse(
const std::string& messageDataType,
const std::string&
46 static bool matchType(
const std::string& expression);
50 static bool matchArrayType(
const std::string& expression, std::string&
51 memberType,
size_t& size);
55 static bool match(
const std::string& expression, std::string& name,
60 static bool matchConstant(
const std::string& expression, std::string&
61 name, std::string& type, std::string& value);
65 static bool matchVariable(
const std::string& expression, std::string&
66 name, std::string& type);
70 static bool matchArray(
const std::string& expression, std::string& name,
71 std::string& memberType,
size_t& size);
variant_topic_tools::MessageDefinition messageDefinition
Header file providing the MessageType class interface.