Class Ifc4x2::IfcRelationship

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class Ifc4x2::IfcRelationship : public Ifc4x2::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 Ifc4x2::IfcRelAssigns, Ifc4x2::IfcRelAssociates, Ifc4x2::IfcRelConnects, Ifc4x2::IfcRelDeclares, Ifc4x2::IfcRelDecomposes, Ifc4x2::IfcRelDefines

Public Types

typedef IfcTemplatedEntityList<IfcRelationship> list

Public Functions

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

Public Static Functions

const IfcParse::entity &Class()