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. | |
std::string | getName () |
Get name of constant. | |
std::string | getValue () |
Get value of constant. | |
std::string | getType () |
Get type of constant. | |
std::string | getComment () |
Get comment of constant. |
Interface generator internal representation of a constant as parsed from the XML template file.
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 | ( | ) |