Skip to main content

ifc_constraint/
lib.rs

1//! Bounded IFC4 metric, objective, and constraint-relationship semantics.
2//!
3//! Values are projected and preserved; this crate does not evaluate compliance,
4//! formulas, references, tables, or time series.
5
6mod association;
7mod authoring;
8mod error;
9mod projection;
10mod release;
11mod types;
12mod view;
13
14pub use association::{
15    associate_constraint, associate_constraint_with_owner_history, ConstraintAssociationDraft,
16};
17pub use authoring::{
18    create_metric, create_objective, create_reference, relate_resource_constraint,
19    ConstraintBaseDraft, MetricDraft, ObjectiveDraft, ReferenceDraft, ResourceConstraintDraft,
20};
21pub use error::{ConstraintError, ConstraintResult};
22pub use projection::{ConstraintAssignment, Metric, Objective, ResourceConstraintRelationship};
23pub use types::{
24    Benchmark, ConstraintGrade, LogicalOperator, MetricValue, MetricValueDraft, ObjectiveQualifier,
25};
26pub use view::ConstraintView;