#[non_exhaustive]pub enum AuditCode {
Show 20 variants
EntityNameCase,
EntityUnknown,
EntityPatternMatchesNothing,
PredefinedTypeUnavailable,
EntityRequirementContradictsApplicability,
AttributeUnknown,
AttributeDerived,
AttributePatternMatchesNothing,
AttributeValueNotComparable,
ValueTypeMismatch,
PatternOnNonString,
PatternUnverified,
RestrictionBoundsContradict,
DataTypeUnknown,
PropertyNotInStandardSet,
PropertyDataTypeMismatch,
StandardSetUnknown,
PartOfRelationEntity,
ProhibitedWithRequirements,
OccurrenceBoundsContradict,
}Expand description
What a finding is about. AuditCode::as_str is the stable code.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EntityNameCase
entity-name-case: an entity name is not upper case. IDS compares
entity names case-sensitively against the upper-case IFC name.
EntityUnknown
entity-unknown: the release does not define the entity.
EntityPatternMatchesNothing
entity-pattern-matches-nothing: no entity of the release matches.
predefined-type-unavailable: a predefined type is stated for an
entity that has none, neither itself nor through its type entity.
EntityRequirementContradictsApplicability
entity-requirement-contradicts-applicability: no object the
applicability selects can be the entity the requirement demands.
Subtypes do not count; IDS matches entity names exactly. In IFC2X3 a
name of the occurrence/type mapping table overlaps its occurrence
class (IFCAIRTERMINAL is an IFCFLOWTERMINAL with an
IFCAIRTERMINALTYPE).
AttributeUnknown
attribute-unknown: the applicable entity has no such explicit
attribute (inverse attributes are not checkable).
AttributeDerived
attribute-derived: the attribute is derived, so a model never
stores it.
AttributePatternMatchesNothing
attribute-pattern-matches-nothing: no attribute of the applicable
entity matches the name pattern.
AttributeValueNotComparable
attribute-value-not-comparable: a value is required of an attribute
holding a list, an entity or a select, which never equals a literal.
ValueTypeMismatch
value-type-mismatch: a value cannot be cast to the IFC type it is
compared with, e.g. 42.0 for an integer or FALSE for a boolean.
PatternOnNonString
pattern-on-non-string: an xs:pattern is applied to a non-string
value, which never matches.
PatternUnverified
pattern-unverified (warning): the pattern uses an XSD construct this
audit cannot evaluate, so checks depending on it were skipped.
RestrictionBoundsContradict
restriction-bounds-contradict: the restriction’s bounds or lengths
admit no value.
DataTypeUnknown
data-type-unknown: a property dataType is not an IFC defined or
enumeration type of the release.
PropertyNotInStandardSet
property-not-in-standard-set: a standard property or quantity set of
the release does not define the property.
PropertyDataTypeMismatch
property-data-type-mismatch: the standard set defines the property
with a different data type.
StandardSetUnknown
standard-set-unknown: a set named with the reserved Pset_ or
Qto_ prefix is not a standard set of the release.
PartOfRelationEntity
part-of-relation-entity: the relation cannot have this entity as
its whole, e.g. IFCRELASSIGNSTOGROUP with a non-group.
ProhibitedWithRequirements
prohibited-with-requirements: a prohibited specification
(maxOccurs="0") has requirements, which can never be checked.
OccurrenceBoundsContradict
occurrence-bounds-contradict: minOccurs exceeds maxOccurs.