- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# TclVar Class Reference

Encapsulates variable in Tcl shell. More...

`#include <tcl_var.h>`

Inheritance diagram for TclVar:

List of all members.

## Public Member Functions

const char * | getType () const
| Return type of class.
| TclVar (Ptr< TclInterp > &interp)
const string & | toString () const
| Simple text dump.
void | addListener (TclVarListener *listener)
| Add variable change listener.
void | setEventsEnabled (bool value)
| Enable or disable event generation.
bool | isEventsEnabled () const

## Detailed Description

Encapsulates variable in Tcl shell.

Date:
  01-11-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Constructor & Destructor Documentation

TclVar::TclVar | ( | Ptr< TclInterp > & | interp | ) |

Parameters:

  | interp | interpret

## Member Function Documentation

void TclVar::addListener | ( | TclVarListener * | listener | ) |

| Add variable change listener.

Parameters:

  | listener | listener

const char * TclVar::getType | ( |  | ) | const`[virtual]`

| Return type of class.

Returns:
  type of class

Reimplemented from TXmlObject.

Reimplemented in TclBoolVar, TclDoubleVar, TclIntVar, TclListVar, and TclStringVar.

bool TclVar::isEventsEnabled | ( |  | ) | const

Returns:
  true if events are enabled

void TclVar::setEventsEnabled | ( | bool | value | ) |

| Enable or disable event generation.

Parameters:

  | value | if true events will be enabled

const string & TclVar::toString | ( |  | ) | const`[virtual]`

| Simple text dump.

Returns:
  if not overriden, it returns type of class

Reimplemented from TObject.

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

- H:/projs/dotNET/eda/src/tk/vars/tcl_var.h
- H:/projs/dotNET/eda/src/tk/vars/tcl_var.cpp