#include <userinfo.h>


Public Member Functions | |
| UserInfo (const string name, const string help_msg="") | |
| The only constructor which fills both the transcodedName and the help attribute.  | |
| ~UserInfo () | |
| Destructor.  | |
| virtual T * | build (void)=0 | 
| 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 | 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.  | |
You should derive this class whenever you need new UserInfo.
 1.5.6