\section{Var\-Def Class Reference}
\label{class_var_def}\index{VarDef@{VarDef}}
Class defining module variables.  


{\tt \#include $<$vardef.h$>$}

Inheritance diagram for Var\-Def::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_var_def}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf itypes} 
\begin{CompactList}\small\item\em variable instance types \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
const char $\ast$ {\bf get\-Type} () const 
\begin{CompactList}\small\item\em Return type of class. \item\end{CompactList}\item 
const char $\ast$ {\bf get\-Name} () const \label{class_var_def_233fbd39cb42a5f4340815d2190fd55d}

\begin{CompactList}\small\item\em return name of variable \item\end{CompactList}\item 
const char $\ast$ {\bf get\-Descr} () const \label{class_var_def_94de66e01cb925c2b4548632c22c4f97}

\begin{CompactList}\small\item\em return variable description \item\end{CompactList}\item 
const {\bf itypes} {\bf get\-IType} () const \label{class_var_def_e605ad88fc49d9369af122e2af49cdb9}

\begin{CompactList}\small\item\em return variable instance type \item\end{CompactList}\item 
const char $\ast$ {\bf get\-IType\-Name} () const \label{class_var_def_9a3a603e4d255a9e4c2971273a98ebec}

\begin{CompactList}\small\item\em return variable instance type name \item\end{CompactList}\item 
{\bf Var\-Def} (const char $\ast$name, const char $\ast$descr, const {\bf itypes} itype)
\begin{CompactList}\small\item\em ctor \item\end{CompactList}\item 
{\bf Var\-Def} (const char $\ast$name, const char $\ast$descr, const {\bf itypes} itype, const char $\ast$defval)
\begin{CompactList}\small\item\em ctor \item\end{CompactList}\item 
{\bf Var\-Inst} $\ast$ {\bf instantiate} ({\bf IModule} $\ast$m)
\begin{CompactList}\small\item\em Create variable instance in module instance. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Class defining module variables. 

\begin{Desc}
\item[Date:]01-29-2006\end{Desc}
\begin{Desc}
\item[Author:]Ondrej Svejdar\end{Desc}
\begin{Desc}
\item[{\bf Todo}]\end{Desc}
\begin{Desc}
\item[{\bf Bug}]\end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{VarDef@{Var\-Def}!VarDef@{VarDef}}
\index{VarDef@{VarDef}!VarDef@{Var\-Def}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Var\-Def::Var\-Def (const char $\ast$ {\em name}, const char $\ast$ {\em descr}, const {\bf itypes} {\em itype})\hspace{0.3cm}{\tt  [inline]}}\label{class_var_def_6aeb8c38370dbc96ac99d229382f53e3}


ctor 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em name}]unique identifier, representating name of variable \item[{\em descr}]description of variable \item[{\em itype}]one of VAR\_\-BOOL,VAR\_\-CHAR,VAR\_\-INT,VAR\_\-DOUBLE,VAR\_\-STRING \end{description}
\end{Desc}
\index{VarDef@{Var\-Def}!VarDef@{VarDef}}
\index{VarDef@{VarDef}!VarDef@{Var\-Def}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Var\-Def::Var\-Def (const char $\ast$ {\em name}, const char $\ast$ {\em descr}, const {\bf itypes} {\em itype}, const char $\ast$ {\em defval})\hspace{0.3cm}{\tt  [inline]}}\label{class_var_def_625b22eda8891e958a68fd8a3ea91cf0}


ctor 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em name}]unique identifier, representating name of variable \item[{\em descr}]description of variable \item[{\em itype}]one of VAR\_\-BOOL,VAR\_\-CHAR,VAR\_\-INT,VAR\_\-DOUBLE,VAR\_\-STRING \item[{\em defval}]default value of variable \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]\end{Desc}


\subsection{Member Function Documentation}
\index{VarDef@{Var\-Def}!getType@{getType}}
\index{getType@{getType}!VarDef@{Var\-Def}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Var\-Def::get\-Type () const\hspace{0.3cm}{\tt  [virtual]}}\label{class_var_def_1413702cbda682553d02b08afccebfc3}


Return type of class. 

\begin{Desc}
\item[Returns:]type of class \end{Desc}


Reimplemented from {\bf TObject} {\rm (p.\,\pageref{class_t_object_1413702cbda682553d02b08afccebfc3})}.\index{VarDef@{Var\-Def}!instantiate@{instantiate}}
\index{instantiate@{instantiate}!VarDef@{Var\-Def}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Var\-Inst} $\ast$ Var\-Def::instantiate ({\bf IModule} $\ast$ {\em m})}\label{class_var_def_ce73faa9050a573c3d6e7aa3f87503cd}


Create variable instance in module instance. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em m}]module instance \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]variable instance \end{Desc}


The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
H:/projs/dot\-NET/eda/src/modulemanager/vardef.h\item 
H:/projs/dot\-NET/eda/src/modulemanager/vardef.cpp\end{CompactItemize}
