\section{Var\-Inst Class Reference}
\label{class_var_inst}\index{VarInst@{VarInst}}
Represent variable instance.  


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

Inheritance diagram for Var\-Inst::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{class_var_inst}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf is\-Notification\-On} () const 
\item 
void {\bf set\-Notification} (bool value)
\begin{CompactList}\small\item\em enables or disables notification about variable changes to modular system \item\end{CompactList}\item 
virtual bool {\bf from\-String} (const char $\ast$value)=0
\begin{CompactList}\small\item\em initialize variable value from string \item\end{CompactList}\item 
const {\bf Var\-Def} $\ast$ {\bf get\-Var\-Def} () const 
\item 
{\bf Var\-Inst} (const {\bf Var\-Def} $\ast$definition, {\bf IModule} $\ast$module)
\begin{CompactList}\small\item\em ctor \item\end{CompactList}\item 
const string \& {\bf to\-String} () const =0
\begin{CompactList}\small\item\em convert variable value to string \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Represent variable instance. 

\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{VarInst@{Var\-Inst}!VarInst@{VarInst}}
\index{VarInst@{VarInst}!VarInst@{Var\-Inst}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Var\-Inst::Var\-Inst (const {\bf Var\-Def} $\ast$ {\em definition}, {\bf IModule} $\ast$ {\em module})\hspace{0.3cm}{\tt  [inline]}}\label{class_var_inst_82ab9e179539038b08b5b6fe7bf9b1b4}


ctor 

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


\subsection{Member Function Documentation}
\index{VarInst@{Var\-Inst}!fromString@{fromString}}
\index{fromString@{fromString}!VarInst@{Var\-Inst}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool Var\-Inst::from\-String (const char $\ast$ {\em value})\hspace{0.3cm}{\tt  [pure virtual]}}\label{class_var_inst_5cf69ea6f8fce26f5482558b6766affd}


initialize variable value from string 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em value}]string \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if there was no conversion error \end{Desc}


Implemented in {\bf Var\-Bool} {\rm (p.\,\pageref{class_var_bool_f6daa17aacb35a7770bb5fc2baf9b769})}, {\bf Var\-Char} {\rm (p.\,\pageref{class_var_char_f6daa17aacb35a7770bb5fc2baf9b769})}, {\bf Var\-Integer} {\rm (p.\,\pageref{class_var_integer_f6daa17aacb35a7770bb5fc2baf9b769})}, {\bf Var\-Double} {\rm (p.\,\pageref{class_var_double_f6daa17aacb35a7770bb5fc2baf9b769})}, and {\bf Var\-String} {\rm (p.\,\pageref{class_var_string_f6daa17aacb35a7770bb5fc2baf9b769})}.\index{VarInst@{Var\-Inst}!getVarDef@{getVarDef}}
\index{getVarDef@{getVarDef}!VarInst@{Var\-Inst}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Var\-Def}$\ast$ Var\-Inst::get\-Var\-Def () const\hspace{0.3cm}{\tt  [inline]}}\label{class_var_inst_3b156ddfdf343d13efa84d4f7c815af8}


\begin{Desc}
\item[Returns:]variable definition \end{Desc}
\index{VarInst@{Var\-Inst}!isNotificationOn@{isNotificationOn}}
\index{isNotificationOn@{isNotificationOn}!VarInst@{Var\-Inst}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Var\-Inst::is\-Notification\-On () const\hspace{0.3cm}{\tt  [inline]}}\label{class_var_inst_93229715adbdeb9ae5dc486771d60976}


\begin{Desc}
\item[Returns:]true if modular system receives notifications \end{Desc}
\index{VarInst@{Var\-Inst}!setNotification@{setNotification}}
\index{setNotification@{setNotification}!VarInst@{Var\-Inst}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Var\-Inst::set\-Notification (bool {\em value})\hspace{0.3cm}{\tt  [inline]}}\label{class_var_inst_0e873f1548435b5620a38bb452989a53}


enables or disables notification about variable changes to modular system 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em value}]value \end{description}
\end{Desc}
\index{VarInst@{Var\-Inst}!toString@{toString}}
\index{toString@{toString}!VarInst@{Var\-Inst}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const string\& Var\-Inst::to\-String () const\hspace{0.3cm}{\tt  [pure virtual]}}\label{class_var_inst_2016e7fc7fb9a0dfca0533ad256e87dd}


convert variable value to string 

\begin{Desc}
\item[Returns:]string \end{Desc}


Reimplemented from {\bf TObject} {\rm (p.\,\pageref{class_t_object_ca11bae3941982bbc2db10b06d450336})}.

Implemented in {\bf Var\-Bool} {\rm (p.\,\pageref{class_var_bool_ca11bae3941982bbc2db10b06d450336})}, {\bf Var\-Char} {\rm (p.\,\pageref{class_var_char_ca11bae3941982bbc2db10b06d450336})}, {\bf Var\-Integer} {\rm (p.\,\pageref{class_var_integer_ca11bae3941982bbc2db10b06d450336})}, {\bf Var\-Double} {\rm (p.\,\pageref{class_var_double_ca11bae3941982bbc2db10b06d450336})}, and {\bf Var\-String} {\rm (p.\,\pageref{class_var_string_ca11bae3941982bbc2db10b06d450336})}.

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