\section{Tcl\-Var Class Reference}
\label{class_tcl_var}\index{TclVar@{TclVar}}
Encapsulates variable in Tcl shell.  


{\tt \#include $<$tcl\_\-var.h$>$}

Inheritance diagram for Tcl\-Var::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4cm]{class_tcl_var}
\end{center}
\end{figure}
\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 
{\bf Tcl\-Var} ({\bf Ptr}$<$ {\bf Tcl\-Interp} $>$ \&interp)
\item 
const string \& {\bf to\-String} () const 
\begin{CompactList}\small\item\em Simple text dump. \item\end{CompactList}\item 
void {\bf add\-Listener} ({\bf Tcl\-Var\-Listener} $\ast$listener)
\begin{CompactList}\small\item\em Add variable change listener. \item\end{CompactList}\item 
void {\bf set\-Events\-Enabled} (bool value)
\begin{CompactList}\small\item\em Enable or disable event generation. \item\end{CompactList}\item 
bool {\bf is\-Events\-Enabled} () const 
\end{CompactItemize}


\subsection{Detailed Description}
Encapsulates variable in Tcl shell. 

\begin{Desc}
\item[Date:]01-11-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{TclVar@{Tcl\-Var}!TclVar@{TclVar}}
\index{TclVar@{TclVar}!TclVar@{Tcl\-Var}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Tcl\-Var::Tcl\-Var ({\bf Ptr}$<$ {\bf Tcl\-Interp} $>$ \& {\em interp})}\label{class_tcl_var_de7810a67bc1a508a5ef57e14e8c603b}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em interp}]interpret \end{description}
\end{Desc}


\subsection{Member Function Documentation}
\index{TclVar@{Tcl\-Var}!addListener@{addListener}}
\index{addListener@{addListener}!TclVar@{Tcl\-Var}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tcl\-Var::add\-Listener ({\bf Tcl\-Var\-Listener} $\ast$ {\em listener})}\label{class_tcl_var_ebcf8c5edce60412763ee7a50225a14b}


Add variable change listener. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em listener}]listener \end{description}
\end{Desc}
\index{TclVar@{Tcl\-Var}!getType@{getType}}
\index{getType@{getType}!TclVar@{Tcl\-Var}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Tcl\-Var::get\-Type () const\hspace{0.3cm}{\tt  [virtual]}}\label{class_tcl_var_1413702cbda682553d02b08afccebfc3}


Return type of class. 

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


Reimplemented from {\bf TXml\-Object} {\rm (p.\,\pageref{class_t_xml_object_1413702cbda682553d02b08afccebfc3})}.

Reimplemented in {\bf Tcl\-Bool\-Var} {\rm (p.\,\pageref{class_tcl_bool_var_1413702cbda682553d02b08afccebfc3})}, {\bf Tcl\-Double\-Var} {\rm (p.\,\pageref{class_tcl_double_var_1413702cbda682553d02b08afccebfc3})}, {\bf Tcl\-Int\-Var} {\rm (p.\,\pageref{class_tcl_int_var_1413702cbda682553d02b08afccebfc3})}, {\bf Tcl\-List\-Var} {\rm (p.\,\pageref{class_tcl_list_var_1413702cbda682553d02b08afccebfc3})}, and {\bf Tcl\-String\-Var} {\rm (p.\,\pageref{class_tcl_string_var_1413702cbda682553d02b08afccebfc3})}.\index{TclVar@{Tcl\-Var}!isEventsEnabled@{isEventsEnabled}}
\index{isEventsEnabled@{isEventsEnabled}!TclVar@{Tcl\-Var}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Tcl\-Var::is\-Events\-Enabled () const}\label{class_tcl_var_df979f259f53adf3b4a00e3bc7486864}


\begin{Desc}
\item[Returns:]true if events are enabled \end{Desc}
\index{TclVar@{Tcl\-Var}!setEventsEnabled@{setEventsEnabled}}
\index{setEventsEnabled@{setEventsEnabled}!TclVar@{Tcl\-Var}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tcl\-Var::set\-Events\-Enabled (bool {\em value})}\label{class_tcl_var_d8f9371e9c83226baf78ad493f2d2598}


Enable or disable event generation. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em value}]if true events will be enabled \end{description}
\end{Desc}
\index{TclVar@{Tcl\-Var}!toString@{toString}}
\index{toString@{toString}!TclVar@{Tcl\-Var}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const string \& Tcl\-Var::to\-String () const\hspace{0.3cm}{\tt  [virtual]}}\label{class_tcl_var_ca11bae3941982bbc2db10b06d450336}


Simple text dump. 

\begin{Desc}
\item[Returns:]if not overriden, it returns type of class \end{Desc}


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

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