# UserInfo< T > Class Template Reference

The main user info template class. More...

`#include <userinfo.h>`

Inheritance diagram for UserInfo< T >:

[legend]
Collaboration diagram for UserInfo< T >:

[legend]

List of all members.

## 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.

## Detailed Description

### template<typename T>
class UserInfo< T >

The main user info template class.

You should derive this class whenever you need new UserInfo.

The documentation for this class was generated from the following file:

- work/git/mixpp/bdm/userinfo.h