2.2.6.1.2.2 LogicalOrRestriction Structure

The LogicalOrRestriction structure is used to join a group of two or more subrestrictions by using a logical OR operation. The result of the OR operation is TRUE if any of the subrestrictions evaluates to TRUE. The result is FALSE if all subrestrictions evaluate to FALSE.

The LogicalOrRestriction structure has the following format.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RestrictionType

cRes

Reserved

...

SubCondition (variable)

...

RestrictionType (4 bytes):  This field specifies the type of restriction and MUST be set to RES_OR (0x00000001) for the LogicalOrRestriction structure.

cRes (4 bytes):  This field specifies the number of subrestrictions contained in the SubCondition field.

Reserved (8 bytes):  The application can fill this field with any value when writing the stream. The application MUST ignore the value of this field when reading the stream.

SubCondition (variable):  This field contains the subrestrictions that make up the LogicalOrRestriction structure. Each subrestriction MUST be one of the structures that is specified in section 2.2.6.1.2.1 through section 2.2.6.1.2.11.