Skip to main content

Crate ifc_classification

Crate ifc_classification 

Source
Expand description

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

Views borrow ifc_model::Model and read every record against the release its header declares (see classification_schema): IFC2X3 TC1, IFC4 ADD2 TC1 or IFC4X3 ADD2. Slot positions, selects, domains and enumerations come from that release’s bundled table, looked up by attribute name. A header declaring several schemas, or one with no bundled table, is refused rather than read as IFC4; a header declaring none (an in-memory model) binds IFC4.

Authoring helpers stage records on a caller-owned ifc_model::Transaction in the same release’s layout, refusing values and entities the release cannot hold. 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 IfcClassification, fields named as IFC4 names them.
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 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 IfcDocumentInformation.
DocumentInformation
Borrowed projection of an IFCDOCUMENTINFORMATION entity.
DocumentReference
Borrowed projection of an IFCDOCUMENTREFERENCE entity.
DocumentReferenceDraft
Draft for one 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 generic external-reference relationship (IFC4 onwards).
LibraryAssignment
Borrowed projection of an IFCRELASSOCIATESLIBRARY entity.
LibraryDraft
Draft for one IfcLibraryInformation.
LibraryInformation
Borrowed projection of an IFCLIBRARYINFORMATION entity.
LibraryReference
Borrowed projection of an IFCLIBRARYREFERENCE entity.
LibraryReferenceDraft
Draft for one 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, with OwnerHistory unset.
associate_classification_with_owner_history
associate_classification with a caller-supplied IfcOwnerHistory, which IFC2X3 requires.
associate_document
Validate and stage an IfcRelAssociatesDocument linking draft.related_objects to target, with OwnerHistory unset.
associate_document_with_owner_history
associate_document with a caller-supplied IfcOwnerHistory, which IFC2X3 requires.
associate_library
Validate and stage an IfcRelAssociatesLibrary linking draft.related_objects to target, with OwnerHistory unset.
associate_library_with_owner_history
associate_library with a caller-supplied IfcOwnerHistory, which IFC2X3 requires.
classification_schema
The IFC release model’s classification records are read and written against.
create_classification
Validate and stage one IfcClassification in the IFC4 layout; fails if reference_tokens is Some and empty.
create_classification_in
Validate and stage one IfcClassification in the layout of model’s declared release.
create_classification_reference
Validate and stage one IfcClassificationReference in the layout of model’s declared release.
create_document
Validate and stage one IfcDocumentInformation in the layout of model’s declared release.
create_document_reference
Validate and stage one IfcDocumentReference in the layout of model’s declared release.
create_external_reference_relationship
Validate and stage one IfcExternalReferenceRelationship in the layout of model’s declared release.
create_library
Validate and stage one IfcLibraryInformation in the layout of model’s declared release.
create_library_reference
Validate and stage one IfcLibraryReference in the layout of model’s declared release.
relate_documents
Stage an IfcDocumentInformationRelationship in the layout of model’s declared release.

Type Aliases§

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