#include <userinfo.h>
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. |