1 | \section{uibase Class Reference} |
---|
2 | \label{classuibase}\index{uibase@{uibase}} |
---|
3 | User Info base class. |
---|
4 | |
---|
5 | |
---|
6 | {\tt \#include $<$userinfo.h$>$} |
---|
7 | |
---|
8 | Inheritance diagram for uibase:\nopagebreak |
---|
9 | \begin{figure}[H] |
---|
10 | \begin{center} |
---|
11 | \leavevmode |
---|
12 | \includegraphics[width=400pt]{classuibase__inherit__graph} |
---|
13 | \end{center} |
---|
14 | \end{figure} |
---|
15 | Collaboration diagram for uibase:\nopagebreak |
---|
16 | \begin{figure}[H] |
---|
17 | \begin{center} |
---|
18 | \leavevmode |
---|
19 | \includegraphics[width=66pt]{classuibase__coll__graph} |
---|
20 | \end{center} |
---|
21 | \end{figure} |
---|
22 | \subsection*{Public Member Functions} |
---|
23 | \begin{CompactItemize} |
---|
24 | \item |
---|
25 | {\bf uibase} (string com=\char`\"{}Abstract class, please ignore!\char`\"{}, uibase $\ast$par=NULL)\label{classuibase_2f0551822ed7af25f8e7ffbe7c0a8f97} |
---|
26 | |
---|
27 | \begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item |
---|
28 | virtual void {\bf getsummary} (std::string \&S)\label{classuibase_de805f1ce9c1b261dc47d57c506d36f1} |
---|
29 | |
---|
30 | \begin{CompactList}\small\item\em returns a summary of its contents (used in dialogs) \item\end{CompactList}\item |
---|
31 | virtual void {\bf askuser} ()\label{classuibase_d28232d94715c153afb9280a8a4552eb} |
---|
32 | |
---|
33 | \begin{CompactList}\small\item\em interaction with the user \item\end{CompactList}\item |
---|
34 | virtual bool {\bf isvalid} ()\label{classuibase_e7403110752e92a31db563556124742e} |
---|
35 | |
---|
36 | \begin{CompactList}\small\item\em test if the info is valid \item\end{CompactList}\item |
---|
37 | virtual {\bf $\sim$uibase} ()\label{classuibase_1972e8d075e083e0f033ac2e4fee3a7a} |
---|
38 | |
---|
39 | \begin{CompactList}\small\item\em for future use \item\end{CompactList}\item |
---|
40 | virtual void {\bf save} (std::ostream \&os)\label{classuibase_6986cef72dc78d8caaddf05481dc9eb2} |
---|
41 | |
---|
42 | \begin{CompactList}\small\item\em Save to file. \item\end{CompactList}\item |
---|
43 | virtual void {\bf load} (std::istream \&is)\label{classuibase_eb22da8503624c0d52d84817b00acba3} |
---|
44 | |
---|
45 | \begin{CompactList}\small\item\em load from file \item\end{CompactList}\item |
---|
46 | int {\bf get\_\-level} ()\label{classuibase_e05d51c68e5e690110208ebad4c0a037} |
---|
47 | |
---|
48 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} |
---|
49 | \subsection*{Protected Attributes} |
---|
50 | \begin{CompactItemize} |
---|
51 | \item |
---|
52 | string {\bf name}\label{classuibase_b093af7c0a2a8b9bc3e71c1dc83779c3} |
---|
53 | |
---|
54 | \begin{CompactList}\small\item\em String identifier of a field. \item\end{CompactList}\item |
---|
55 | string {\bf help}\label{classuibase_4bf69e2353bf0620e0dd714e0d92473a} |
---|
56 | |
---|
57 | \begin{CompactList}\small\item\em Explanation for a user what the field means. \item\end{CompactList}\item |
---|
58 | {\bf uibase} $\ast$ {\bf parent}\label{classuibase_0b6ae5af990c9edfa34fe9e1ea95afe7} |
---|
59 | |
---|
60 | \begin{CompactList}\small\item\em Possible parent of the userinfo. \item\end{CompactList}\item |
---|
61 | int {\bf ilevel}\label{classuibase_d903be35ad6f3932eb5d8df8777e0fa1} |
---|
62 | |
---|
63 | \begin{CompactList}\small\item\em Indentation level, i.e. number of parents. \item\end{CompactList}\end{CompactItemize} |
---|
64 | |
---|
65 | |
---|
66 | \subsection{Detailed Description} |
---|
67 | User Info base class. |
---|
68 | |
---|
69 | 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. |
---|
70 | |
---|
71 | The documentation for this class was generated from the following file:\begin{CompactItemize} |
---|
72 | \item |
---|
73 | work/mixpp/bdm/userinfo.h\end{CompactItemize} |
---|