Class Ifc4x2::IfcRelConnectsPorts

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcRelConnectsPorts : public Ifc4x2::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

::Ifc4x2::IfcPort *RelatingPort() const

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

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

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

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

Whether the optional attribute RealizingElement is defined for this IfcRelConnectsPorts.

::Ifc4x2::IfcElement *RealizingElement() const

Defines the element that realizes a port connection relationship.

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

Public Static Functions

const IfcParse::entity &Class()