boolean expression handling routines
Detailed Description
Group of methods related to executing the boolean expression on UBF buffer. In case if compiled boolean expression is used, then AtmiCtx.Bboolco() shall be used.
- Exceptions:
-
Function Documentation
native boolean org.endurox.TypedUbf.Bboolev |
( |
BExprTree |
tree |
) |
[inherited] |
Evaluate boolean expression by given expression tree. For more information see Bboolev(3) manpage.
- Parameters:
-
| tree | compiled boolean expression |
- Returns:
- true or false
native double org.endurox.TypedUbf.Bfloatev |
( |
BExprTree |
tree |
) |
[inherited] |
Evaluate compiled expression and return the result as a float value. For more information see Bfloatev(3) manpage
- Parameters:
-
| tree | compiled boolean expression |
- Returns:
- evaluated floating point value
long org.endurox.TypedUbf.boolcbfDispatch |
( |
String |
funcname |
) |
[package, inherited] |
Dispatch callback function. The callback object must be registered in the ubfcbMap. If not there, then AtmiTPENOENTException exception is thrown
- Parameters:
-
| funcname | function name received from expression evaluator. |
- Exceptions:
-
native boolean org.endurox.TypedUbf.Bqboolev |
( |
String |
expr |
) |
[inherited] |
Evaluate the boolean expression immediately and the release the compiled expression. For more information see Bboolco(3) and Bboolev(3) manpages.
- Parameters:
-
| expr | boolean expression string |
- Returns:
- true or false