#include <stilsigrefexpr.h>
Inheritance diagram for STILSigRefExpr:

Public Types | |
| enum | Operator { UndefinedOperator, Plus, Minus, LeftParen, RightParen } |
| enum | NodeType { UndefinedNodeType, Id, Op } |
Public Member Functions | |
| STILSigRefExpr () | |
| STILSigRefExpr (const STILSigRefExpr &) | |
| virtual | ~STILSigRefExpr () |
| STILSigRefExpr & | operator= (const STILSigRefExpr &) |
| void | init () |
| virtual void | write (FILE *pOutFile, LONG indentation=0) const |
| void | addOp (Operator op) |
| void | addId (const sstring &id, LONG idx1=-1, LONG idx2=-1) |
| const sstring & | getText () const |
| void | printTree (const STILSigRefExpr_Node *p_tree=NULL) const |
| void | clearTree (STILSigRefExpr_Node *p_tree=NULL) |
| void | copyTree (STILSigRefExpr_Node *&, const STILSigRefExpr_Node *) |
| STILSignalList | eval (const STILEvalEngine *, const STILSigRefExpr_Node *p_tree=NULL) |
Friends | |
| struct | STILSigRefExpr_Data |
The class to represent STIL Signal Reference Expressions
|
|
|
|
|
|
|
|
Default Constructor for a STILSigRefExpr object.
|
|
|
Constructor a STILSigRefExpr object from another STILSigRefExpr.
|
|
|
Destructor for a STILSigRefExpr object.
|
|
||||||||||||||||
|
Add an identifier (with optional indexing) to this expression.
|
|
|
Add an operator to this expression.
|
|
|
Clear out all storage associated with this expression.
|
|
||||||||||||
|
Copy (recursivly) the expression tree.
|
|
||||||||||||
|
Evaluate the SigRefExpr into it's component signals.
|
|
|
|
|
|
Initialize the STILSigRefExpr object.
|
|
|
Assignment operator.
|
|
|
Print the underlying expression tree (used for debug).
|
|
||||||||||||
|
Write the STILSigRefExpr object to a FILE.
Reimplemented from STILEntity. |
|
|
|