|
Fawkes API
Fawkes Development Version
|
Interface generator internal representation of a pseudo map as parsed from
the XML template file. More...
#include "pseudomap.h"
Public Types | |
| typedef std::list< std::pair < std::string, std::string > > | RefList |
| Reference list. | |
Public Member Functions | |
| InterfacePseudoMap (std::string name, std::string type, std::string keytype, std::string comment) | |
| Constructor. | |
| void | valid () |
| Assert validity. | |
| std::string | getName () const |
| Get name of field. | |
| std::string | getComment () const |
| Get comment of field. | |
| std::string | getType () const |
| Get type of field. | |
| std::string | getKeyType () const |
| Get type of key value. | |
| void | addRef (std::string fieldname, std::string key) |
| Add reference. | |
| RefList & | getRefList () |
| Get reference list. | |
Interface generator internal representation of a pseudo map as parsed from
the XML template file.
Definition at line 31 of file pseudomap.h.
| typedef std::list<std::pair<std::string, std::string> > InterfacePseudoMap::RefList |
Reference list.
Definition at line 35 of file pseudomap.h.
| InterfacePseudoMap::InterfacePseudoMap | ( | std::string | name, |
| std::string | type, | ||
| std::string | keytype, | ||
| std::string | comment | ||
| ) |
Constructor.
| name | name of the pseudo map |
| type | type of the values in the map |
| keytype | type of the keys |
| comment | comment of the pseudo map |
Definition at line 43 of file pseudomap.cpp.
| void InterfacePseudoMap::addRef | ( | std::string | fieldname, |
| std::string | key | ||
| ) |
Add reference.
| fieldname | name of the field that is referenced |
| key | key of the field in the pseudo map |
Definition at line 129 of file pseudomap.cpp.
Referenced by InterfaceParser::getPseudoMaps().
| std::string InterfacePseudoMap::getComment | ( | ) | const |
| std::string InterfacePseudoMap::getKeyType | ( | ) | const |
| std::string InterfacePseudoMap::getName | ( | void | ) | const |
| InterfacePseudoMap::RefList & InterfacePseudoMap::getRefList | ( | ) |
| std::string InterfacePseudoMap::getType | ( | ) | const |
| void InterfacePseudoMap::valid | ( | ) |
Assert validity.
Calling valid() acts like an assertion. An Exception is thrown if something is wrong.
| InterfaceGeneratorInvalidTypeException | thrown if InterfaceDataTypeChecker reports invalid type. |
| InterfaceGeneratorInvalidValueException | thrown if any supplied value is illegal. |
| InterfaceGeneratorInvalidFlagException | thrown if invalid flag has been supplied. |
Definition at line 104 of file pseudomap.cpp.
Referenced by InterfaceParser::getPseudoMaps().