Package com.nt.udc.io
Class COSARExprFunc
java.lang.Object
com.nt.udc.io.COSARExpr
com.nt.udc.io.COSARExprFunc
This class represents the custom function call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
This constant represents the key used to store Callback implementors in the HashMap passed in for expression evaluation.protected COSARExpr[]
This member represents the argument expressions.protected String
This members represents the function name.protected COSARAttr[]
This member represents the argument values.static final String
This constant represents the key used to store an OSAR in the HashMap passed in for expression evaluation.Fields inherited from class com.nt.udc.io.COSARExpr
m_bIsConstant
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.nt.udc.io.COSARExpr
isConstant
-
Field Details
-
CALLBACK_KEY
This constant represents the key used to store Callback implementors in the HashMap passed in for expression evaluation. It should be used by objects evaluating this expression.- See Also:
-
OSAR_KEY
This constant represents the key used to store an OSAR in the HashMap passed in for expression evaluation. It should be used by objects evaluating this expression.- See Also:
-
m_funcName
This members represents the function name. -
m_args
This member represents the argument expressions. -
m_values
This member represents the argument values.
-
-
Constructor Details
-
COSARExprFunc
- Throws:
Exception
-
-
Method Details
-
eval
Description copied from class:COSARExpr
This function is used to evaluate the expression. A symbol table is passed to help in retrieving the value of referenced symbols. The HashMap should contain values stored as COSARAttr objects, keyed by their associated symbol's name. -
toString
-