Expression tree header

<< Click to Display Table of Contents >>

Navigation:  Application development > Filtering records >

Expression tree header

Previous pageReturn to chapter overviewNext page

The expression tree header defines:

_bm0        the version tag of the expression
_bm0        the size of the tree structure
_bm0        the number of nodes in the node area
_bm0        the offset locations of the first node and the beginning of the literal pool.

The header is in this form:

#define CANEXPRVERSION 2

typedef struct{
         UINT16                iVer;
         UINIT16                iTotalSize;
         UINT16                iNodes;
         UINT16                iNodeStart;
         UINT16                iLiteralStart;
} CANExpr;
typedef CANExpr far *pCANExpr;
typedef pCANExpr far *ppCANExpr;