- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# VarDef Class Reference

Class defining module variables. More...

`#include <vardef.h>`

Inheritance diagram for VarDef:

List of all members.

## Public Types

enum | itypes
| variable instance types

## Public Member Functions

const char * | getType () const
| Return type of class.
const char * | getName () const
| return name of variable
const char * | getDescr () const
| return variable description
const itypes | getIType () const
| return variable instance type
const char * | getITypeName () const
| return variable instance type name
| VarDef (const char *name, const char *descr, const itypes itype)
| ctor
| VarDef (const char *name, const char *descr, const itypes itype, const char *defval)
| ctor
VarInst * | instantiate (IModule *m)
| Create variable instance in module instance.

## Detailed Description

Class defining module variables.

Date:
  01-29-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Constructor & Destructor Documentation

VarDef::VarDef | ( | const char * | name,
|  | const char * | descr,
|  | const itypes | itype
| ) | `[inline]`

| ctor

Parameters:

  | name | unique identifier, representating name of variable
  | descr | description of variable
  | itype | one of VAR_BOOL,VAR_CHAR,VAR_INT,VAR_DOUBLE,VAR_STRING

VarDef::VarDef | ( | const char * | name,
|  | const char * | descr,
|  | const itypes | itype,
|  | const char * | defval
| ) | `[inline]`

| ctor

Parameters:

  | name | unique identifier, representating name of variable
  | descr | description of variable
  | itype | one of VAR_BOOL,VAR_CHAR,VAR_INT,VAR_DOUBLE,VAR_STRING
  | defval | default value of variable

Returns:

## Member Function Documentation

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

| Return type of class.

Returns:
  type of class

Reimplemented from TObject.

VarInst * VarDef::instantiate | ( | IModule * | m | ) |

| Create variable instance in module instance.

Parameters:

  | m | module instance

Returns:
  variable instance

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

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