Logical Operator Enum | |
Enumération des opérateurs logiques |
Item | SPF | XML | Change | Description | IFC2x3 to IFC4 4.0.0.0 |
---|---|---|---|---|
IfcLogicalOperatorEnum | ||||
LOGICALXOR | ADDED | |||
LOGICALNOTAND | ADDED | |||
LOGICALNOTOR | ADDED | IFC2x3 to IFC4 4.0.0.0 | ||
IfcLogicalOperatorEnum | ||||
LOGICALXOR | ADDED | |||
LOGICALNOTAND | ADDED | |||
LOGICALNOTOR | ADDED |
IfcLogicalOperatorEnum is an enumeration that defines the logical operators that may be applied for the satisfaction of one or more operands (IfcConstraint) at a time.
Table 693 illustrates application of IfcLogicalOperatorEnum in a case of three operands, A, B and C, for each operator.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table 693 — Logical operators |
HISTORY New enumeration in IFC2.0.
IFC4 CHANGE Extended to include LOGICALXOR, LOGICALNOTAND and LOGICALNOTOR.
Constant | Description |
---|---|
LOGICALAND | Defines a relationship between operands whereby the result is true if all operands are true, and false if at least one operand is false. |
LOGICALOR | Defines a relationship between operands whereby the result is true if at least one operand is true, and false if all operands are false. |
LOGICALXOR | Defines a relationship between operands whereby the result is true if exactly one operand is true (exclusive or). |
LOGICALNOTAND | Defines a relationship between operands whereby the result is true if at least one operand is false, and false if all operands are true. |
LOGICALNOTOR | Defines a relationship between operands whereby the result is true if all operands are false, and false if at least one operand is true. |
<xs:simpleType name="IfcLogicalOperatorEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="logicaland"/>
<xs:enumeration value="logicalor"/>
<xs:enumeration value="logicalxor"/>
<xs:enumeration value="logicalnotand"/>
<xs:enumeration value="logicalnotor"/>
</xs:restriction>
</xs:simpleType>
TYPE IfcLogicalOperatorEnum = ENUMERATION OF (
LOGICALAND,
LOGICALOR,
LOGICALXOR,
LOGICALNOTAND,
LOGICALNOTOR);
END_TYPE;
References: IfcObjective