Class Ifc4::IfcRelationship

Nested Relationships

This class is a nested type of Struct Ifc4.

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class Ifc4::IfcRelationship : public Ifc4::IfcRoot

IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior.

There are two different types of relationships, 1-to-1 relationships and 1-to-many relationship. used within the subtypes of IfcRelationship. The following convention applies to all subtypes:

The two sides of the objectified relationship are named - Relating+ and - Related+ In case of the 1-to-many relationship, the related side of the relationship shall be an aggregate SET 1:N

HISTORY: New entity in IFC Release 1.0.

Subclassed by Ifc4::IfcRelAssigns, Ifc4::IfcRelAssociates, Ifc4::IfcRelConnects, Ifc4::IfcRelDeclares, Ifc4::IfcRelDecomposes, Ifc4::IfcRelDefines

Public Types

typedef IfcTemplatedEntityList<IfcRelationship> list

Public Functions

const IfcParse::entity &declaration() const
IfcRelationship(IfcEntityInstanceData *e)
IfcRelationship(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description)

Public Static Functions

const IfcParse::entity &Class()