#include <epr_bitmask.h>
Public Attributes | |
EPR_EBmOpCode | op_code |
union { | |
struct { | |
char * band_name | |
char * flag_name | |
ulong flag_mask | |
EPR_SRaster * flag_raster | |
} ref | |
struct { | |
EPR_SBmTerm * arg | |
} unary | |
struct { | |
EPR_SBmTerm * arg1 | |
EPR_SBmTerm * arg2 | |
} binary | |
} | op |
The EPR_BmTerm
structure is the union of structures: each of them can contain either the subject (operand) for the logic operators or this operators itself with referd operand(s). Thus they are recursive. The example of term: flags.WATER or flags.LAND
here: 'flags' is a band_name; 'WATER' and 'LAND' - flag_name's; 'or' - logical operator.