Expand description
Transactional authoring for tasks, task times and sequence links.
The crate could read a programme and not write one. These constructors
reuse the slot constants the readers in crate::task and
crate::sequence already declare, so an authored task is readable by
construction rather than by coincidence – IfcTask carries thirteen
slots, seven of them inherited from IfcRoot, IfcObject and
IfcProcess, and a constructor that counted only the six declared
attributes would put Status where GlobalId belongs.
§Releases (#202)
The writers here take no model, so they cannot see the declared release.
They write the layout IFC4 ADD2 TC1 and IFC4X3 ADD2 share, with
IfcRoot.OwnerHistory unset, and are for those releases only. IFC2X3
requires OwnerHistory and lays several records out differently, so
each IfcRoot writer has a *_with_owner_history variant that binds the
model’s declared release, takes a caller-supplied IfcOwnerHistory and
places every attribute by name from that release’s table.
Durations and timestamps are written as authored: ISO 8601 strings are not parsed here, because a scheduling tool owns calendar semantics and silently normalising them would lose the authored intent.
Structs§
- Calendar
Date - An IFC2X3
IfcCalendarDate: a Gregorian day. - Event
Draft - Authored fields for
IfcEvent. - Event
Time Draft - Authored fields for
IfcEventTime. - Local
Time - An IFC2X3
IfcLocalTime: a time of day. - Procedure
Draft - Attributes of an
IfcProcedure. - Recurrence
Draft - Authored fields for
IfcRecurrencePattern. - Task
Draft - Authored fields for
IfcTask. - Task
Time Draft - Authored fields for
IfcTaskTime. - Work
Control Draft - Authored fields for
IfcWorkPlanandIfcWorkSchedule.
Enums§
- Date
Time Value - A date, a time or both, as one release or another declares it.
- TimeLag
IfcRelSequence.TimeLag, in the form the release declares.
Functions§
- assign_
tasks_ to_ control - Stage an
IfcRelAssignsToControlbinding tasks to a work control. - assign_
tasks_ to_ control_ with_ owner_ history assign_tasks_to_controlin the model’s declared release, with a caller-suppliedIfcOwnerHistory.- create_
event - Stage an
IfcEvent. - create_
event_ time - Stage an
IfcEventTime. - create_
event_ with_ owner_ history create_eventin the model’s declared release, with a caller-suppliedIfcOwnerHistory.- create_
lag_ time - Stage an
IfcLagTime. - create_
lag_ time_ in create_lag_timebound tomodel’s declared release (#211).- create_
procedure - Stage an
IfcProcedure. - create_
procedure_ with_ owner_ history create_procedurein the model’s declared release, with a caller-suppliedIfcOwnerHistory.- create_
recurrence_ pattern - Stage an
IfcRecurrencePatternwith all eight IFC4/IFC4X3 attributes. - create_
recurrence_ pattern_ in create_recurrence_patternbound tomodel’s declared release (#233).- create_
sequence - Stage an
IfcRelSequencelinking a predecessor to a successor. - create_
sequence_ with_ owner_ history create_sequencein the model’s declared release, with a caller-suppliedIfcOwnerHistory.- create_
task - Stage an
IfcTask. - create_
task_ time - Stage an
IfcTaskTime. - create_
task_ time_ recurring - Stage an
IfcTaskTimeRecurring. - create_
task_ with_ owner_ history create_taskin the model’s declared release, with a caller-suppliedIfcOwnerHistory, which IFC2X3 requires.- create_
time_ period - Stage an
IfcTimePeriod: a start and end time of day. - create_
time_ period_ in create_time_periodbound tomodel’s declared release (#233).- create_
work_ calendar - Stage an
IfcWorkCalendar. - create_
work_ calendar_ with_ owner_ history create_work_calendarin the model’s declared release, with a caller-suppliedIfcOwnerHistory.- create_
work_ control - Stage an
IfcWorkPlanorIfcWorkSchedule. - create_
work_ control_ with_ owner_ history create_work_controlin the model’s declared release, with a caller-suppliedIfcOwnerHistory.- create_
work_ time - Stage an
IfcWorkTime. - nest_
tasks - Stage an
IfcRelNestsnesting child tasks under a parent. - nest_
tasks_ with_ owner_ history nest_tasksin the model’s declared release, with a caller-suppliedIfcOwnerHistory.
Type Aliases§
- Schedule
Authoring Result - Result of a schedule authoring call.