TExprWorkspace Class

Header: Dew.Math/MtxParseClass.h · Cross-compiler
tObjectTExprWorkspace

class TExprWorkspace : public tObject;

Stores workspace for expression parser.

The workspace includes command line history, names and values of named variables, script names and corresponding scripts (list of expressions). All data properties need to be assigned by the programmer. Use the object to load and save the workspace to/from files.

Constructors

NameDescription
TExprWorkspace

Destructors

NameDescription
~TExprWorkspace

Properties

NameTypeDescription
HistorytStringList*List of strings to store command line history.
NameDewStringThe name of the workspace.
ScriptNamestStringList*Stores the names of scripts in the Script property.
ScriptstStringList*Stores lists of scripts.
VariablesTExprContext*Stores names and data of named variables.

Methods

NameDescription
Assign
LoadFromFile
LoadFromStream
SaveToFile
SaveToStream