Class Ifc4x1::IfcTable

Nested Relationships

This class is a nested type of Struct Ifc4x1.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x1::IfcTable : public IfcUtil::IfcBaseEntity

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 335 illustrates table use.

Figure 335 — Table use

Figure 336 depicts how tables were structured prior to IFC2x4.

Figure 336 — Table use alternative

HISTORY New entity in IFC R1.5.

IFC2x4 CHANGE Columns attribute added.

Public Types

typedef IfcTemplatedEntityList<IfcTable> list

Public Functions

bool hasName() const

Whether the optional attribute Name is defined for this IfcTable.

std::string Name() const

A unique name which is intended to describe the usage of the Table.

void setName(std::string v)
bool hasRows() const

Whether the optional attribute Rows is defined for this IfcTable.

IfcTemplatedEntityList<::Ifc4x1::IfcTableRow>::ptr Rows() const

Reference to information content of rows.

void setRows(IfcTemplatedEntityList<::Ifc4x1::IfcTableRow>::ptr v)
bool hasColumns() const

Whether the optional attribute Columns is defined for this IfcTable.

IfcTemplatedEntityList<::Ifc4x1::IfcTableColumn>::ptr Columns() const

The column information associated with this table.

void setColumns(IfcTemplatedEntityList<::Ifc4x1::IfcTableColumn>::ptr v)
const IfcParse::entity &declaration() const
IfcTable(IfcEntityInstanceData *e)
IfcTable(boost::optional<std::string> v1_Name, boost::optional<IfcTemplatedEntityList<::Ifc4x1::IfcTableRow>::ptr> v2_Rows, boost::optional<IfcTemplatedEntityList<::Ifc4x1::IfcTableColumn>::ptr> v3_Columns)

Public Static Functions

const IfcParse::entity &Class()