Public Member Functions | |
Engine * | build () |
returns object of templated type filled with data stored in this UserInfo instance | |
void | Save (char *fileName) |
Save UserInfo to the file (typically with an XML extension). | |
void | Load (char *fileName) |
Load UserInfo from the file (typically with an XML extension). | |
void | Attach (MappedElements &externalElements) |
This method is the key method to connect the element to its parent UI element. | |
void | ParseElement (DOMElement *element) |
Fills internal attributes and descendant elements according DOMElement. | |
void | FillElement (DOMElement &element) |
Fills DOMElement according internal attributes and descendant elements. | |
Public Attributes | |
StringAttribute | producer |
DoubleAttribute | consumption |
StringAttribute | help |
Explanation for an user is the only obligatory attribute. | |
Protected Attributes | |
MappedElements | elements |
MappiLength of the output vector. | |
Attribute::MappedAttributes | attributes |
Length of the output vector. |