|
Fawkes API
Fawkes Development Version
|
Interface generator internal representation of a constant as parsed from the XML template file. More...
#include <interfaces/generator/constant.h>
Public Member Functions | |
| InterfaceConstant (const std::string &name, const std::string &type, const std::string &value, const std::string &comment) | |
| Constructor. More... | |
| std::string | getName () |
| Get name of constant. More... | |
| std::string | getValue () |
| Get value of constant. More... | |
| std::string | getType () |
| Get type of constant. More... | |
| std::string | getComment () |
| Get comment of constant. More... | |
Interface generator internal representation of a constant as parsed from the XML template file.
Definition at line 28 of file constant.h.
| InterfaceConstant::InterfaceConstant | ( | const std::string & | name, |
| const std::string & | type, | ||
| const std::string & | value, | ||
| const std::string & | comment | ||
| ) |
Constructor.
| name | name of constant |
| type | type of constant |
| value | value of constant |
| comment | comment of message |
| InterfaceGeneratorInvalidTypeException | thrown if InterfaceDataTypeChecker reports an invalid type. |
| InterfaceGeneratorInvalidValueException | thrown if InterfaceDataTypeChecker reports an illegal value for the given type. |
Definition at line 43 of file constant.cpp.
References InterfaceDataTypeChecker::validType(), and InterfaceDataTypeChecker::validValue().
| std::string InterfaceConstant::getComment | ( | ) |
| std::string InterfaceConstant::getName | ( | void | ) |
| std::string InterfaceConstant::getType | ( | ) |
| std::string InterfaceConstant::getValue | ( | ) |