Expression context.
General | |
| virtual iExpressionContext * | GetParentContext () const =0 |
| Get the parent context. {Property}. More... | |
| virtual iExpressionContext * | CreateContext ()=0 |
| Create a child context. More... | |
Variables | |
| virtual iExpressionVariable * | CreateVariable (const achar *aaszName, eExpressionVariableType aType, tExpressionVariableFlags aFlags=eExpressionVariableFlags_Default)=0 |
| Create a new variable. More... | |
| virtual iExpressionVariable * | CreateVariableFromExpr (const achar *aaszName, const achar *aaszExpr, tExpressionVariableFlags aFlags=eExpressionVariableFlags_Default)=0 |
| Create a variable from an expression. More... | |
| virtual iExpressionVariable * | CreateVariableFromRunnable (const achar *aaszName, eExpressionVariableType aType, iRunnable *apRunnable, tExpressionVariableFlags aFlags=eExpressionVariableFlags_Default)=0 |
| Create a variable whos value is fetched from a runnable. More... | |
| virtual iExpressionVariable * | CreateVariableFromVar (const achar *aaszName, const Var &aInitialValue, tExpressionVariableFlags aFlags=eExpressionVariableFlags_Default)=0 |
| Create a variable initialized with the value of the specified variant. More... | |
| virtual tBool | AddVariable (iExpressionVariable *apVar)=0 |
| Add a variable to the expression context. More... | |
| virtual tBool | RemoveVariable (iExpressionVariable *apVariable)=0 |
| Remove a variable from the expression context. More... | |
| virtual iExpressionVariable * | FindVariable (iHString *ahspName) const =0 |
| Find the variable with the specified name. More... | |
Expressions | |
| virtual iExpression * | CreateExpression (const achar *aaszExpr)=0 |
| Create a new expression. More... | |
| virtual iExpressionVariable * | Eval (const achar *aaszExpr)=0 |
| Evaluate an expression. More... | |
| virtual tBool | GetUnknownSymbols (const achar *aaszExpr, tStringCVec *apList)=0 |
| Get the unknown symbols into the specified expression. More... | |
Enumerations | |
| virtual void | SetGlobalEnumSearch (tBool abEnabled)=0 |
| Allows the parser to search in all registered modules enumerations. {Property}. More... | |
| virtual tBool | GetGlobalEnumSearch () const =0 |
| Get the global enum search status. {Property}. More... | |
| virtual tBool | AddEnumDef (const sEnumDef *apEnumDef)=0 |
| Add an enumeration definition. More... | |
| virtual const sEnumDef * | GetEnumDef (const achar *aaszName) const =0 |
| Get the specified enumeration. {Property}. More... | |
| virtual void | SetDefaultEnumDef (const sEnumDef *apEnumDef)=0 |
| Set the default enumeration definition. {Property}. More... | |
| virtual const sEnumDef * | GetDefaultEnumDef () const =0 |
| Get the default enumeration definition. {Property}. More... | |
| virtual cString | GetEnumValueString (tU32 anValue) const =0 |
| Get an enumeration value string. More... | |
| virtual cString | GetEnumFlagsString (tU32 anValue) const =0 |
| Get an enumeration flags string. More... | |
URL Resolver | |
| virtual tBool | RegisterURLResolver (const achar *aaszProtocol, iExpressionURLResolver *apResolver)=0 |
| virtual tBool | UnregisterURLResolver (const achar *aaszProtocol)=0 |
| virtual iExpressionURLResolver * | FindURLResolver (const achar *aaszProtocol) const =0 |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the parent context. {Property}.
|
pure virtual |
Create a child context.
|
pure virtual |
Create a new variable.
|
pure virtual |
Create a variable from an expression.
|
pure virtual |
Create a variable whos value is fetched from a runnable.
|
pure virtual |
Create a variable initialized with the value of the specified variant.
|
pure virtual |
Add a variable to the expression context.
|
pure virtual |
Remove a variable from the expression context.
|
pure virtual |
Find the variable with the specified name.
|
pure virtual |
Create a new expression.
|
pure virtual |
Evaluate an expression.
|
pure virtual |
Get the unknown symbols into the specified expression.
| aaszExpr | the expression to retrieve the symbols from. |
| apList | the string list where the symbols will be place |
Allows the parser to search in all registered modules enumerations. {Property}.
|
pure virtual |
Get the global enum search status. {Property}.
Get the specified enumeration. {Property}.
Set the default enumeration definition. {Property}.
|
pure virtual |
Get the default enumeration definition. {Property}.
Get an enumeration value string.
Get an enumeration flags string.
|
pure virtual |
|
pure virtual |
1.8.7