Skip to main content

Crate ifc_classification

Crate ifc_classification 

Source
Expand description

Borrowed IFC2X3/IFC4 classification, document, library and association semantics.

Views borrow ifc_model::Model and read every record against the release its header declares (see classification_schema): slot positions, selects and domains come from that release’s bundled table. Authoring helpers stage IFC4 records on a caller-owned ifc_model::Transaction. No query performs external I/O.

Structs§

AssociationDraft
Draft shared by IfcRelAssociatesClassification/Document/Library.
ClassificationAssignment
Borrowed projection of an IFCRELASSOCIATESCLASSIFICATION entity.
ClassificationDraft
Draft for one IFC4 IfcClassification.
ClassificationHierarchy
Chain of IfcClassificationReference nodes from a leaf up to its root, plus the terminating IfcClassification system if the chain resolved fully.
ClassificationNotation
Borrowed projection of an IFCCLASSIFICATIONNOTATION entity.
ClassificationReference
Borrowed projection of an IFCCLASSIFICATIONREFERENCE entity.
ClassificationReferenceDraft
Draft for one IFC4 IfcClassificationReference.
ClassificationSystem
Borrowed projection of an IFCCLASSIFICATION entity.
ClassificationView
Entry point for classification/document/library queries over a borrowed Model.
DocumentAssignment
Borrowed projection of an IFCRELASSOCIATESDOCUMENT entity.
DocumentDraft
Draft for one IFC4 IfcDocumentInformation.
DocumentInformation
Borrowed projection of an IFCDOCUMENTINFORMATION entity.
DocumentReference
Borrowed projection of an IFCDOCUMENTREFERENCE entity.
DocumentReferenceDraft
Draft for one IFC4 IfcDocumentReference.
EffectiveClassifications
Classification assignments effective on an object: those directly assigned plus, when the object has an IfcRelDefinesByType type, those inherited from that type.
ExternalReferenceRelationship
Borrowed projection of an IFCEXTERNALREFERENCERELATIONSHIP entity.
ExternalReferenceRelationshipDraft
Draft for one IFC4 generic external-reference relationship.
LibraryAssignment
Borrowed projection of an IFCRELASSOCIATESLIBRARY entity.
LibraryDraft
Draft for one IFC4 IfcLibraryInformation.
LibraryInformation
Borrowed projection of an IFCLIBRARYINFORMATION entity.
LibraryReference
Borrowed projection of an IFCLIBRARYREFERENCE entity.
LibraryReferenceDraft
Draft for one IFC4 IfcLibraryReference.

Enums§

ClassificationError
Failure decoding, cross-checking, or authoring classification/document/library records.
SchemaVersion
The IFC release a classification read binds to (re-exported from ifc-schema). Which IFC schema version a table describes.

Functions§

associate_classification
Validate and stage an IfcRelAssociatesClassification linking draft.related_objects to target; fails if target is not an IfcClassificationSelect, or on any shared association precondition.
associate_document
Validate and stage an IfcRelAssociatesDocument linking draft.related_objects to target; fails if target is not an IfcDocumentSelect, or on any shared association precondition.
associate_library
Validate and stage an IfcRelAssociatesLibrary linking draft.related_objects to target; fails if target is not an IfcLibrarySelect, or on any shared association precondition.
classification_schema
The IFC release model’s classification records are read against.
create_classification
Validate and stage one IfcClassification; fails if reference_tokens is Some and empty.
create_classification_reference
Validate and stage one IfcClassificationReference; fails if location/identification/name are all unstated or referenced_source does not resolve to an IfcClassificationReferenceSelect.
create_document
Validate and stage one IfcDocumentInformation; fails on an invalid Confidentiality/Status enumerator, a document_owner/editors entry that is not an IfcActorSelect, or a duplicate/empty editors set.
create_document_reference
Validate and stage one IfcDocumentReference; fails if location/identification/name are all unstated, if name and referenced_document are not exactly one, or if referenced_document is not an IfcDocumentInformation.
create_external_reference_relationship
Validate and stage one IfcExternalReferenceRelationship.
create_library
Validate and stage one IfcLibraryInformation; fails if publisher does not resolve to an IfcActorSelect.
create_library_reference
Validate and stage one IfcLibraryReference; fails if location/identification/name are all unstated or referenced_library is not an IfcLibraryInformation.
relate_documents
Stage an IfcDocumentInformationRelationship.

Type Aliases§

ClassificationResult
Result of a classification/document/library query or authoring operation.