Example 2: Specifying Search Rules
Boolean expressions built using operators SE_AND, SE_OR and SE_NOT, and the following set of matching criteria:
- Object type match. (Abstract or concrete classes are valid.)
- Exact field value match and field value range match.
- Hierarchy depth. Matches objects within a given number of levels from the base object.
- Component object type match.
- Component exact field value or field value range match.
- Predicates: application functions “called back” by the user to evaluate the object.
Implemented as arrays which can be initialized with convenient C Macros.
SE_Search_Rule polygon_rules[] =
SE_DRM_CLASS_MATCH( POLYGON ),