Module data_model

Module data_model 

Source
Expand description

Data model extraction service - extracts properties, relationships, and spatial hierarchy.

Re-exportsΒ§

pub use rooted::DataModelEntities;
pub use types::*;

ModulesΒ§

classifications πŸ”’
Classification association extraction.
documents πŸ”’
Document association extraction.
generated πŸ”’
Generated tables for the data-model service (see the sibling files’ headers for their generator scripts).
material_units πŸ”’
Per-owner length units for material layers in federated, multi-project IFC.
materials πŸ”’
Material association extraction.
metadata πŸ”’
Entity metadata extraction.
properties πŸ”’
Property set extraction.
property_value πŸ”’
Property VALUE resolution: turning a decoded IfcProperty attribute (nominal value, enumerated/list members, complex-property nesting) into the display string + kind + measure tag + candidate list that properties::extract_property wires onto a Property. Split out of properties.rs to keep entity-shape extraction (which pset/property to walk) separate from value-shape resolution (how to stringify one).
quantities πŸ”’
Quantity set extraction.
relationships πŸ”’
Relationship extraction.
rooted πŸ”’
Which rows the data model’s entities table carries (issue #6034).
spatial πŸ”’
Spatial hierarchy extraction.
types πŸ”’
Data model DTO structs shared by the extractor submodules.

FunctionsΒ§

extract_data_model
Extract complete data model from IFC content.
read_logical πŸ”’
Read an IfcLogical / IfcBoolean attribute as a tri-state Option<bool> (.U. / absent β†’ None).
related_object_ids πŸ”’
Collect the RelatedObjects (attribute 4) entity ids of an IfcRelAssociates*.