uibase Class Reference

User Info base class. More...

#include <userinfo.h>

Inheritance diagram for uibase:

Inheritance graph
[legend]
Collaboration diagram for uibase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 uibase (string com="Abstract class, please ignore!", uibase *par=NULL)
 Default constructor.
virtual void getsummary (std::string &S)
 returns a summary of its contents (used in dialogs)
virtual void askuser ()
 interaction with the user
virtual bool isvalid ()
 test if the info is valid
virtual ~uibase ()
 for future use
virtual void save (std::ostream &os)
 Save to file.
virtual void load (std::istream &is)
 load from file
int get_level ()
 access function

Protected Attributes

string name
 String identifier of a field.
string help
 Explanation for a user what the field means.
uibaseparent
 Possible parent of the userinfo.
int ilevel
 Indentation level, i.e. number of parents.


Detailed Description

User Info base class.

This class is used to store information about parameters of an object. It support loading and saving of the information and, potentially, interaction with the user.


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

Generated on Fri May 9 16:15:28 2008 for mixpp by  doxygen 1.5.5