Interface generator internal representation of a message as parsed from the XML template file. More...
#include <interfaces/generator/message.h>
Public Member Functions | |
InterfaceMessage (const std::string &name, const std::string &comment) | |
Constructor. | |
std::string | getName () |
Get name of message. | |
std::string | getComment () |
Get comment of message. | |
void | setFields (const std::vector< InterfaceField > &fields) |
Set fields of message. | |
std::vector< InterfaceField > | getFields () |
Get fields of message. |
Interface generator internal representation of a message as parsed from the XML template file.
Definition at line 31 of file message.h.
InterfaceMessage::InterfaceMessage | ( | const std::string & | name, | |
const std::string & | comment | |||
) |
Constructor.
name | name of message | |
comment | comment of message |
Definition at line 35 of file message.cpp.
std::string InterfaceMessage::getComment | ( | ) |
std::vector< InterfaceField > InterfaceMessage::getFields | ( | ) |
std::string InterfaceMessage::getName | ( | void | ) |
void InterfaceMessage::setFields | ( | const std::vector< InterfaceField > & | fields | ) |
Set fields of message.
fields | fields of message. |
Definition at line 71 of file message.cpp.
Referenced by InterfaceParser::parse().