# uiscalar< T > Class Template Reference

User info for scalars. More...

`#include <userinfo.h>`

Inheritance diagram for uiscalar< T >:

[legend]
Collaboration diagram for uiscalar< T >:

[legend]

List of all members.

## Public Member Functions
| uiscalar (std::string com, uibase *par=NULL)
| Default constructor.
void | getsummary (std::string &S)
| returns a summary of its contents (used in dialogs)
void | askuser ()
| interaction with the user
void | save (std::ostream &os)
| Save to file.
void | load (std::istream &is)
| load from file
| ~uiscalar ()
| for future use
void | set_value (T N0)
| access function
virtual bool | isvalid ()
| test if the info is valid
int | get_level ()
| access function
## Protected Attributes
T | N
| Value.
string | name
| String identifier of a field.
string | help
| Explanation for a user what the field means.
uibase * | parent
| Possible parent of the userinfo.
int | ilevel
| Indentation level, i.e. number of parents.

## Detailed Description

### template<class T>
class uiscalar< T >

User info for scalars.

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

- work/mixpp/bdm/userinfo.h