InterfaceMessage Class Reference
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. | |
Detailed Description
Interface generator internal representation of a message as parsed from the XML template file.Definition at line 31 of file message.h.
Constructor & Destructor Documentation
| InterfaceMessage::InterfaceMessage | ( | const std::string & | name, | |
| const std::string & | comment | |||
| ) |
Constructor.
- Parameters:
-
name name of message comment comment of message
Definition at line 35 of file message.cpp.
Member Function Documentation
| 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.
- Parameters:
-
fields fields of message.
Definition at line 71 of file message.cpp.
Referenced by InterfaceParser::parse().
The documentation for this class was generated from the following files:
- src/interfaces/generator/message.h
- src/interfaces/generator/message.cpp

