- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# VarInst Class Reference

Represent variable instance. More...

`#include <varinst.h>`

Inheritance diagram for VarInst:

List of all members.

## Public Member Functions

bool | isNotificationOn () const
void | setNotification (bool value)
| enables or disables notification about variable changes to modular system
virtual bool | fromString (const char *value)=0
| initialize variable value from string
const VarDef * | getVarDef () const
| VarInst (const VarDef *definition, IModule *module)
| ctor
const string & | toString () const =0
| convert variable value to string

## Detailed Description

Represent variable instance.

Date:
  01-29-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Constructor & Destructor Documentation

VarInst::VarInst | ( | const VarDef * | definition,
|  | IModule * | module
| ) | `[inline]`

| ctor

Parameters:

  | definition | variable definition
  | module | module instance

## Member Function Documentation

virtual bool VarInst::fromString | ( | const char * | value | ) | `[pure virtual]`

| initialize variable value from string

Parameters:

  | value | string

Returns:
  true if there was no conversion error

Implemented in VarBool, VarChar, VarInteger, VarDouble, and VarString.

const VarDef* VarInst::getVarDef | ( |  | ) | const`[inline]`

Returns:
  variable definition

bool VarInst::isNotificationOn | ( |  | ) | const`[inline]`

Returns:
  true if modular system receives notifications

void VarInst::setNotification | ( | bool | value | ) | `[inline]`

| enables or disables notification about variable changes to modular system

Parameters:

  | value | value

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

| convert variable value to string

Returns:
  string

Reimplemented from TObject.

Implemented in VarBool, VarChar, VarInteger, VarDouble, and VarString.

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

- H:/projs/dotNET/eda/src/modulemanager/varinst.h
- H:/projs/dotNET/eda/src/modulemanager/varinst.cpp