Variable Class Reference

[libkorigin Index] [libkorigin Heirarchy]


Class for representing variables in the formula interpreter More...

#include </home/mh/korigin/korigin/doc/tmp/formula.h>

Public Members


Detailed Description

Class for representing variables in the formula interpreter. A variable for the formula interpreter consists of a name (maximum length maxNameLen=32) and a value.


Variable()

Construct empty variable.

Variable(const char*, double=0.0)

Construct named variable, optionally with initial value.

void setName(const char*)

Change variable's name.

void setValue(double v)

Change variable's value.

const char* const getName() const

Retrieve variable's name.

double getValue()

Retrieve variable's value.


  • Author: Patrick Schemitz
  • Documentation generated by mh@jeff_clever on Thu Feb 5 14:15:25 MET 1998
Kdoc