#include <stiltimeexpr.h>
Public Types | |
enum | Operator { UndefinedOperator, Plus, Minus, LeftParen, RightParen } |
Public Member Functions | |
STILTimeExpr () | |
STILTimeExpr (const STILTimeExpr &) | |
~STILTimeExpr () | |
STILTimeExpr & | operator= (const STILTimeExpr &) |
void | init () |
virtual void | write (FILE *pOutFile, LONG indentation=0) const |
void | addOp (const Operator) |
void | addId (const sstring) |
void | addNumber (const STILNumber &) |
sstring | getText () const |
STILNumber | eval (const STILEvalEngine &ee) const |
STILNumber | eval () const |
|
|
|
Default constructor.
|
|
Construct a STILTimeExpr object from another TimeExpr obj.
|
|
Destructor.
|
|
Add an Id to this expression.
|
|
add a STILNumber (Engineering expression) to this expression|
|
|
Add an operator to this expression.
|
|
|
|
|
|
|
|
Initialize the time expr obj.
|
|
Equals operator.
|
|
Output this TimeExpr to a file.
|