Skip to main content

Crate ifc_tabular

Crate ifc_tabular 

Source
Expand description

Structured IFC value containers indexed by position or time.

A table indexes values by row and column; a time series indexes them by time. Neither carries domain meaning of its own: both bottom out in lists of IfcValue, and both appear side by side in the schema’s own IfcMetricValueSelect and IfcObjectReferenceSelect.

§Cells are the caller’s to type

A cell is an IfcValue: a SELECT over measure types. 4.2 and IFCLENGTHMEASURE(4.2) are different files, and only the second can be converted or compared dimensionally. This crate never invents a measure; the caller passes a Value and chooses.

§Derived attributes are not stored

IfcTable DERIVEs three counts from its rows. STEP writes a derived attribute as *, not as a number, so they are emitted as ifc_model::Value::Derived and never computed into the file.

§Reading back

TabularView borrows a model and returns Table and TimeSeries views under a declared IFC4 or IFC4X3 schema. A read reports every malformed slot and WR1/WR2 violation as a TabularIssue rather than dropping it.

Structs§

ColumnDraft
Attributes of an IfcTableColumn.
SeriesDraft
The IfcTimeSeries supertype attributes, shared by both subtypes.
SeriesValue
A borrowed IfcTimeSeriesValue or IfcIrregularTimeSeriesValue.
Table
A borrowed IfcTable, its resolved rows and columns, and every defect found on the way.
TableColumn
A borrowed IfcTableColumn.
TableRow
A borrowed IfcTableRow.
TabularView
Borrowed entry point for reading tables and time series.
TimeSeries
A borrowed time series, its resolved value records, and every defect found on the way.

Enums§

TabularError
Why a tabular record was refused.
TabularIssue
One defect found while reading a table or time series.
TabularReadError
Why a read could not produce a view at all.
TimeSeriesKind
Which IfcTimeSeries subtype was read.

Functions§

add_irregular_time_series
Stage an IfcIrregularTimeSeries.
add_irregular_value
Stage an IfcIrregularTimeSeriesValue.
add_regular_time_series
Stage an IfcRegularTimeSeries.
add_table
Stage an IfcTable.
add_table_column
Stage an IfcTableColumn.
add_table_row
Stage an IfcTableRow.
add_time_series_value
Stage an IfcTimeSeriesValue.

Type Aliases§

TabularReadResult
Result alias for tabular reads.
TabularResult
Result alias for tabular staging.