23 #include <interfaces/generator/message.h> 37 if ( name.find(
"Message") != std::string::npos ) {
40 this->name = name +
"Message";
42 this->comment = comment;
73 this->fields = fields;
80 std::vector<InterfaceField>
void setFields(const std::vector< InterfaceField > &fields)
Set fields of message.
InterfaceMessage(const std::string &name, const std::string &comment)
Constructor.
std::string getName()
Get name of message.
std::vector< InterfaceField > getFields()
Get fields of message.
std::string getComment()
Get comment of message.