Tconstants Struct Reference

Detailed Description

Holds the information about a set of constants.

This is basically a vector and is not implemented using the generic Tvector just for legacy reasons (Tconstants was implemented much before that the generic vector).

See Also
constants.h constants.c Tconstant Tvector

Definition at line 53 of file constants.h.

Data Fields

unsigned int max_constants
 
unsigned int n
 
Tconstantcts
 

Field Documentation

unsigned int Tconstants::max_constants

Maximum number of constants in the set

Definition at line 54 of file constants.h.

Referenced by AddConstant(), CopyConstants(), and InitConstants().

unsigned int Tconstants::n

Current number of constants in the set

Definition at line 55 of file constants.h.

Referenced by AddConstant(), CopyConstants(), DeleteConstants(), InitConstants(), MergeConstants(), NConstants(), and PrintConstants().

Tconstant* Tconstants::cts

Pointers to the constants stored in the set

Definition at line 56 of file constants.h.

Referenced by AddConstant(), CopyConstants(), DeleteConstants(), GetConstantValue(), GetConstantWithName(), InitConstants(), MergeConstants(), and PrintConstants().