An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects.

Limitation: For backwards compatibility, the rows of an IfcTable object are constrained to have the same number of cells. The first row of the table provides the number of cells. All other rows are forced to include the same number of cells. This is enforced by the WR2.

Figure 1 illustrates table use.

Figure 2 depicts how tables were structured prior to IFC4.

The column information associated with this table.

NumberOfCellsInRow

INVALID

The number of cells in each row, this complies to the number of columns in a table. See WR2 that ensures that each row has the same number of cells. The actual value is derived from the first member of the Rows list.

NumberOfHeadings

INVALID

The number of headings in a table. This is restricted by WR3 to max. one.

NumberOfDataRows

INVALID

The number of rows in a table that contains data, i.e. total number of rows minus number of heading rows in table.