|
<< Click to Display Table of Contents >> CANExpr (expression tree descriptor) |
![]() ![]()
|
For details on usage of this descriptor, see Using an expression tree.
Nodes and literals are in this structure:
Type |
Name |
Description |
|
UINT16 |
iVer |
Version tag of expression |
|
UINT16 |
iTotalSize |
Size of this structure |
|
UINT16 |
iNodes |
Number of nodes |
|
UINT16 |
iNodeStart |
Starting offset of nodes |
|
UINT16 |
iLiteralStart |
Starting offset of literals |
|
canOP Type: CANOp
The following operators are valid:
Relational operators
Operator |
Meaning |
canNOTDEFINED |
Make this the first one. |
canISBLANK |
Unary; is operand blank. |
canNOTBLANK |
Unary; is operand not blank. |
canEQ |
Binary; equal. |
canNE |
Binary; not equal. |
canGT |
Binary; greater than. |
canLT |
Binary; less than. |
canGE |
Binary; greater or equal. |
canLE |
Binary; less or equal. |
Logical operators
Operator |
Meaning |
canNOT |
Unary; NOT. |
canAND |
Binary; AND. |
canOR |
Binary; OR. |
Operators identifying leaf operands
Operator |
Meaning |
canTUPLE |
Unary; entire record is operand. |
canFIELD |
Unary; operand is field. |
canCONST |
Unary; operand is constant. |
Miscellaneous operators
canCONTINUE Unary; Stops evaluating records when operand evaluates to false. This is provided as a stop at high range filter value.