Skip to main content

ifc_resource/
lib.rs

1//! `ifc-resource` -- bounded IFC4 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. Selected authoring APIs stage records through
7//! `ifc_model::Transaction`.
8//!
9//! It does not schedule work, level resources, calculate costs or quantities,
10//! interpret calendars, or claim generic actor/inventory schema conformance.
11
12mod author;
13mod error;
14mod query;
15mod resource;
16mod usage;
17mod view;
18
19mod actor;
20mod crew;
21mod equipment;
22mod inventory;
23mod labour;
24mod material;
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::{ComplexQuantity, ResourceTime, SimpleQuantity, SimpleQuantityValue};
39pub use view::ResourceView;