2.2.6.1.2.6 ComparePropsRestriction Structure
The ComparePropsRestriction structure is used to compare the values of two properties by using a relational operator.
The ComparePropsRestriction structure has the following format.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RestrictionType |
|||||||||||||||||||||||||||||||
RelOp |
|||||||||||||||||||||||||||||||
PropertyType1 |
PropertyID1 |
||||||||||||||||||||||||||||||
PropertyType2 |
PropertyID2 |
RestrictionType (4 bytes): This field specifies the type of restriction and MUST be set to RES_COMPAREPROPS (0x00000005) for the ComparePropsRestriction structure.
RelOp (4 bytes): This field specifies the relational operator that is to be used in the comparison. Valid values for this field are the same as those specified for the RelOp field of the PropertyRestriction structure in section 2.2.6.1.2.5.
PropertyType1 (2 bytes): This field specifies the type of the first property. Valid types are specified in section 2.2.6.1.3.
PropertyID1 (2 bytes): This field specifies the property ID of the first property.
PropertyType2 (2 bytes): This field specifies the type of the second property. The type of the second property MUST match the type of the first property.
PropertyID2 (2 bytes): This field specifies the property ID of the second property.