ifc_resource/lib.rs
1//! `ifc-resource` -- bounded construction-resource semantics.
2//!
3//! The crate exposes schema-resolved borrowed projections for construction
4//! resource occurrences, resource types, actor and inventory metadata,
5//! authored `IfcResourceTime`, allocation relationships, and budgeted resource
6//! composition, for IFC4 ADD2 TC1 and IFC4X3 ADD2. IFC2X3 TC1 is read
7//! through its own table: shared concepts answer the shared accessors,
8//! IFC2X3-only attributes have their own, and what IFC2X3 lacks is a typed
9//! [`ResourceError::NotInSchema`] (see `ResourceView`). Selected authoring
10//! APIs, IFC4 and IFC4X3 only, stage records through
11//! `ifc_model::Transaction`.
12//!
13//! It does not schedule work, level resources, calculate costs or quantities,
14//! interpret calendars, or claim generic actor/inventory schema conformance.
15
16mod author;
17mod error;
18mod query;
19mod resource;
20mod usage;
21mod view;
22
23mod actor;
24mod inventory;
25
26pub use actor::{ActorRole, Organization, OrganizationRelationship, Person, PersonAndOrganization};
27pub use author::{
28 ActorDraft, ActorRoleDraft, AllocationDraft, AppliedValueDraft, AssetDraft, InventoryDraft,
29 NestingDraft, PostalAddressDraft, ResourceDraft, ResourceEditor, ResourceTimeDraft,
30 TelecomAddressDraft, TelecomLists,
31};
32pub use error::{ResourceError, ResourceResult};
33pub use inventory::Inventory;
34pub use query::ResourceAllocation;
35pub use resource::{
36 ConstructionResource, ConstructionResourceType, ResourceKind, ResourceTypeKind,
37};
38pub use usage::{
39 ComplexQuantity, MeasureWithUnit, ResourceTime, SimpleQuantity, SimpleQuantityValue,
40};
41pub use view::ResourceView;