Class Ifc4x1::IfcRelConnectsPorts

Nested Relationships

This class is a nested type of Struct Ifc4x1.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x1::IfcRelConnectsPorts : public Ifc4x1::IfcRelConnects

Definition from IAI: An IfcRelConnectsPorts defines the relationship that is made between two ports at their point of connection. It may include the connection geometry between two ports.

IfcRelConnectsPorts is required for defining how instances of IfcPort connect together. Each of the port is being logically attached to the IfcElement by using the IfcRelConnectsPortToElement relationship.

HISTORY New entity in IFC 2.0, modified in IFC2x.

Public Types

typedef IfcTemplatedEntityList<IfcRelConnectsPorts> list

Public Functions

::Ifc4x1::IfcPort *RelatingPort() const

Reference to the first port that is connected by the objectified relationship.

void setRelatingPort(::Ifc4x1::IfcPort *v)
::Ifc4x1::IfcPort *RelatedPort() const

Reference to the second port that is connected by the objectified relationship.

void setRelatedPort(::Ifc4x1::IfcPort *v)
bool hasRealizingElement() const

Whether the optional attribute RealizingElement is defined for this IfcRelConnectsPorts.

::Ifc4x1::IfcElement *RealizingElement() const

Defines the element that realizes a port connection relationship.

void setRealizingElement(::Ifc4x1::IfcElement *v)
const IfcParse::entity &declaration() const
IfcRelConnectsPorts(IfcEntityInstanceData *e)
IfcRelConnectsPorts(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, ::Ifc4x1::IfcPort *v5_RelatingPort, ::Ifc4x1::IfcPort *v6_RelatedPort, ::Ifc4x1::IfcElement *v7_RealizingElement)

Public Static Functions

const IfcParse::entity &Class()