Expand description
Transaction-staged cost authoring.
The quantity writer (#190), the cost item and schedule writers and
their relationships (#202), and assign_cost_quantities (#203) bind the
model’s declared release (IFC2X3, IFC4 or IFC4X3) and lay their records
out by attribute name, as ifc-properties does. IFC2X3 requires
IfcRoot.OwnerHistory: the IfcRoot writers that leave it unset refuse
an IFC2X3 model, and their *_with_owner_history variants take a
caller-supplied one. The cost value, currency and monetary-unit writers
bind the release too (#213), so each record has its release’s arity.
Assigning cost items to their schedule is authored here; assigning a cost
item to the products it prices is deliberately read-only
(crate::relation::controlled_by). Validating that an arbitrary target
is an IfcObjectDefinition needs the schema’s inheritance tables, which
this crate reads only for the quantity layout.
Structs§
- Calendar
Date - An IFC2X3
IfcCalendarDate: a Gregorian day. - Cost
Item Draft - Draft for a selected IFC4
IfcCostItem. - Cost
Schedule Draft - Draft for an IFC4
IfcCostSchedule. - Cost
Value Draft - Draft for one supported
IfcCostValue. - Local
Time - An IFC2X3
IfcLocalTime: a time of day. - Nesting
Draft - Draft for ordered cost-item nesting through
IfcRelNests. - Quantity
Draft - Authored fields for a simple physical quantity.
- Schedule
Assignment Draft - Draft assigning cost items to a cost schedule.
Enums§
- Cost
Authoring Error - Why a bounded IFC4 cost draft was refused before staging.
- Cost
Item Type - Supported
IfcCostItemTypeEnumvalues. - Cost
Schedule Type - Supported
IfcCostScheduleTypeEnumvalues. - Cost
Value Kind - The unambiguous applied-value shape supported by bounded authoring.
- Date
Time Value - A date, a time or both, as one release or another declares it.
- Quantity
Kind - The physical dimension a simple quantity measures.
Functions§
- assign_
cost_ quantities - Attach quantities to an existing
IfcCostItem, in the model’s declared release. - assign_
schedule_ items - Validate and stage a schedule-to-items
IfcRelAssignsToControl, withOwnerHistoryunset. - assign_
schedule_ items_ with_ owner_ history assign_schedule_itemswith a caller-suppliedIfcOwnerHistory, which IFC2X3 requires.- create_
cost_ item - Validate and stage one cost item in the model’s declared release, with
OwnerHistoryunset. - create_
cost_ item_ with_ owner_ history create_cost_itemwith a caller-suppliedIfcOwnerHistory, which IFC2X3 requires.- create_
cost_ schedule - Validate and stage one cost schedule in the model’s declared release,
with
OwnerHistoryunset. - create_
cost_ schedule_ with_ owner_ history create_cost_schedulewith a caller-suppliedIfcOwnerHistory, which IFC2X3 requires.- create_
cost_ value - Validate and stage one scalar or explicitly composed cost value in the model’s declared release.
- create_
currency_ relationship - Stage an
IfcCurrencyRelationship: an exchange rate between two monetary units, in the model’s declared release. - create_
monetary_ unit - Stage an
IfcMonetaryUnitin the model’s declared release. - create_
quantity - Stage one simple physical quantity, in the model’s declared release.
- nest_
cost_ items - Validate and stage ordered cost-item nesting, with
OwnerHistoryunset. - nest_
cost_ items_ with_ owner_ history nest_cost_itemswith a caller-suppliedIfcOwnerHistory, which IFC2X3 requires.
Type Aliases§
- Cost
Authoring Result - Result returned by bounded cost authoring helpers.