CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x2::IfcRelationship Class Reference

#include <IfcRelationshipAutoImpl.h>

Inheritance diagram for OdIfc4x2::IfcRelationship:
OdIfc4x2::IfcRoot OdIfc4x2::OdIfc4x2Instance OdIfc::OdIfcInstance OdIfc4x2::IfcRelAssigns OdIfc4x2::IfcRelAssociates OdIfc4x2::IfcRelConnects OdIfc4x2::IfcRelDeclares OdIfc4x2::IfcRelDecomposes OdIfc4x2::IfcRelDefines OdIfc4x2::IfcRelAssignsToActor OdIfc4x2::IfcRelAssignsToControl OdIfc4x2::IfcRelAssignsToGroup OdIfc4x2::IfcRelAssignsToProcess OdIfc4x2::IfcRelAssignsToProduct OdIfc4x2::IfcRelAssignsToResource OdIfc4x2::IfcRelAssociatesApproval OdIfc4x2::IfcRelAssociatesClassification OdIfc4x2::IfcRelAssociatesConstraint OdIfc4x2::IfcRelAssociatesDocument OdIfc4x2::IfcRelAssociatesLibrary OdIfc4x2::IfcRelAssociatesMaterial OdIfc4x2::IfcRelConnectsElements OdIfc4x2::IfcRelConnectsPortToElement OdIfc4x2::IfcRelConnectsPorts OdIfc4x2::IfcRelConnectsStructuralActivity OdIfc4x2::IfcRelConnectsStructuralMember OdIfc4x2::IfcRelContainedInSpatialStructure OdIfc4x2::IfcRelCoversBldgElements OdIfc4x2::IfcRelCoversSpaces OdIfc4x2::IfcRelFillsElement OdIfc4x2::IfcRelFlowControlElements OdIfc4x2::IfcRelInterferesElements OdIfc4x2::IfcRelPositions OdIfc4x2::IfcRelReferencedInSpatialStructure OdIfc4x2::IfcRelSequence OdIfc4x2::IfcRelServicesBuildings OdIfc4x2::IfcRelSpaceBoundary OdIfc4x2::IfcRelAggregates OdIfc4x2::IfcRelNests OdIfc4x2::IfcRelProjectsElement OdIfc4x2::IfcRelVoidsElement OdIfc4x2::IfcRelDefinesByObject OdIfc4x2::IfcRelDefinesByProperties OdIfc4x2::IfcRelDefinesByTemplate OdIfc4x2::IfcRelDefinesByType

Public Member Functions

virtual OdDAI::Entity * getInstanceType () const override
 
virtual bool isKindOf (OdIfc::OdIfcEntityType entityType) const override
 
virtual OdIfc::OdIfcEntityType type () const override
 
- Public Member Functions inherited from OdIfc4x2::IfcRoot
OdDAI::CompressedGUID getGlobalId () const
 
void setGlobalId (OdDAI::CompressedGUID GlobalId)
 
const OdDAIObjectId & getOwnerHistory () const
 
void setOwnerHistory (const OdDAIObjectId &OwnerHistory)
 
const OdAnsiString & getName () const
 
void setName (const OdAnsiString &Name)
 
const OdAnsiString & getDescription () const
 
void setDescription (const OdAnsiString &Description)
 
 IfcRoot ()
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler) override
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler) override
 
virtual OdRxValue getAttr (const char *attrName) const override
 
virtual void unsetAttr (const char *explicitAttrName) override
 
virtual bool testAttr (const char *explicitAttrName) const override
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val) override
 
virtual OdRxValue getAttr (const OdIfc::OdIfcAttribute attrDef) const override
 
virtual void unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override
 
virtual bool testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override
 
virtual bool putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
 
- Public Member Functions inherited from OdIfc4x2::OdIfc4x2Instance
void setInverseCounterParts () override
 
- Public Member Functions inherited from OdIfc::OdIfcInstance
 ODRX_DECLARE_MEMBERS (OdIfcInstance)
 
 OdIfcInstance ()
 
 ~OdIfcInstance ()
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
IfcOpResult resolved ()
 
void resolve (IfcOpResult resolved, void *resPtr)
 
void unresolve ()
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 
- Protected Attributes inherited from OdIfc4x2::IfcRoot
OdDAI::CompressedGUID m_GlobalId
 
OdDAIObjectId m_OwnerHistory
 
OdAnsiString m_Name
 
OdAnsiString m_Description
 
- Protected Attributes inherited from OdIfc::OdIfcInstance
voidm_resPtr
 
IfcOpResult m_resolved
 

Detailed Description

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+<name of relating object> and Related+<name of related object> In case of the 1-to-many relationship, the related side of the relationship shall be an aggregate being a set 1:N

Remarks
This definition may not be instantiated.

Definition at line 51 of file Ifc4x2/IfcRelationshipAutoImpl.h.

Member Function Documentation

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x2::IfcRelationship::getInstanceType ( ) const
overridevirtual

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

Reimplemented from OdIfc4x2::IfcRoot.

Reimplemented in OdIfc4x2::IfcRelAggregates, OdIfc4x2::IfcRelAssigns, OdIfc4x2::IfcRelAssignsToActor, OdIfc4x2::IfcRelAssignsToControl, OdIfc4x2::IfcRelAssignsToGroup, OdIfc4x2::IfcRelAssignsToGroupByFactor, OdIfc4x2::IfcRelAssignsToProcess, OdIfc4x2::IfcRelAssignsToProduct, OdIfc4x2::IfcRelAssignsToResource, OdIfc4x2::IfcRelAssociates, OdIfc4x2::IfcRelAssociatesApproval, OdIfc4x2::IfcRelAssociatesClassification, OdIfc4x2::IfcRelAssociatesConstraint, OdIfc4x2::IfcRelAssociatesDocument, OdIfc4x2::IfcRelAssociatesLibrary, OdIfc4x2::IfcRelAssociatesMaterial, OdIfc4x2::IfcRelConnects, OdIfc4x2::IfcRelConnectsElements, OdIfc4x2::IfcRelConnectsPathElements, OdIfc4x2::IfcRelConnectsPorts, OdIfc4x2::IfcRelConnectsPortToElement, OdIfc4x2::IfcRelConnectsStructuralActivity, OdIfc4x2::IfcRelConnectsStructuralMember, OdIfc4x2::IfcRelConnectsWithEccentricity, OdIfc4x2::IfcRelConnectsWithRealizingElements, OdIfc4x2::IfcRelContainedInSpatialStructure, OdIfc4x2::IfcRelCoversBldgElements, OdIfc4x2::IfcRelCoversSpaces, OdIfc4x2::IfcRelDeclares, OdIfc4x2::IfcRelDecomposes, OdIfc4x2::IfcRelDefines, OdIfc4x2::IfcRelDefinesByObject, OdIfc4x2::IfcRelDefinesByProperties, OdIfc4x2::IfcRelDefinesByTemplate, OdIfc4x2::IfcRelDefinesByType, OdIfc4x2::IfcRelFillsElement, OdIfc4x2::IfcRelFlowControlElements, OdIfc4x2::IfcRelInterferesElements, OdIfc4x2::IfcRelNests, OdIfc4x2::IfcRelPositions, OdIfc4x2::IfcRelProjectsElement, OdIfc4x2::IfcRelReferencedInSpatialStructure, OdIfc4x2::IfcRelSequence, OdIfc4x2::IfcRelServicesBuildings, OdIfc4x2::IfcRelSpaceBoundary1stLevel, OdIfc4x2::IfcRelSpaceBoundary2ndLevel, OdIfc4x2::IfcRelSpaceBoundary, and OdIfc4x2::IfcRelVoidsElement.

◆ isKindOf()

virtual bool OdIfc4x2::IfcRelationship::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc4x2::IfcRoot.

Reimplemented in OdIfc4x2::IfcRelAggregates, OdIfc4x2::IfcRelAssigns, OdIfc4x2::IfcRelAssignsToActor, OdIfc4x2::IfcRelAssignsToControl, OdIfc4x2::IfcRelAssignsToGroup, OdIfc4x2::IfcRelAssignsToGroupByFactor, OdIfc4x2::IfcRelAssignsToProcess, OdIfc4x2::IfcRelAssignsToProduct, OdIfc4x2::IfcRelAssignsToResource, OdIfc4x2::IfcRelAssociates, OdIfc4x2::IfcRelAssociatesApproval, OdIfc4x2::IfcRelAssociatesClassification, OdIfc4x2::IfcRelAssociatesConstraint, OdIfc4x2::IfcRelAssociatesDocument, OdIfc4x2::IfcRelAssociatesLibrary, OdIfc4x2::IfcRelAssociatesMaterial, OdIfc4x2::IfcRelConnects, OdIfc4x2::IfcRelConnectsElements, OdIfc4x2::IfcRelConnectsPathElements, OdIfc4x2::IfcRelConnectsPorts, OdIfc4x2::IfcRelConnectsPortToElement, OdIfc4x2::IfcRelConnectsStructuralActivity, OdIfc4x2::IfcRelConnectsStructuralMember, OdIfc4x2::IfcRelConnectsWithEccentricity, OdIfc4x2::IfcRelConnectsWithRealizingElements, OdIfc4x2::IfcRelContainedInSpatialStructure, OdIfc4x2::IfcRelCoversBldgElements, OdIfc4x2::IfcRelCoversSpaces, OdIfc4x2::IfcRelDeclares, OdIfc4x2::IfcRelDecomposes, OdIfc4x2::IfcRelDefines, OdIfc4x2::IfcRelDefinesByObject, OdIfc4x2::IfcRelDefinesByProperties, OdIfc4x2::IfcRelDefinesByTemplate, OdIfc4x2::IfcRelDefinesByType, OdIfc4x2::IfcRelFillsElement, OdIfc4x2::IfcRelFlowControlElements, OdIfc4x2::IfcRelInterferesElements, OdIfc4x2::IfcRelNests, OdIfc4x2::IfcRelPositions, OdIfc4x2::IfcRelProjectsElement, OdIfc4x2::IfcRelReferencedInSpatialStructure, OdIfc4x2::IfcRelSequence, OdIfc4x2::IfcRelServicesBuildings, OdIfc4x2::IfcRelSpaceBoundary1stLevel, OdIfc4x2::IfcRelSpaceBoundary2ndLevel, OdIfc4x2::IfcRelSpaceBoundary, and OdIfc4x2::IfcRelVoidsElement.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x2::IfcRelationship::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc4x2::IfcRoot.

Reimplemented in OdIfc4x2::IfcRelAggregates, OdIfc4x2::IfcRelAssigns, OdIfc4x2::IfcRelAssignsToActor, OdIfc4x2::IfcRelAssignsToControl, OdIfc4x2::IfcRelAssignsToGroup, OdIfc4x2::IfcRelAssignsToGroupByFactor, OdIfc4x2::IfcRelAssignsToProcess, OdIfc4x2::IfcRelAssignsToProduct, OdIfc4x2::IfcRelAssignsToResource, OdIfc4x2::IfcRelAssociates, OdIfc4x2::IfcRelAssociatesApproval, OdIfc4x2::IfcRelAssociatesClassification, OdIfc4x2::IfcRelAssociatesConstraint, OdIfc4x2::IfcRelAssociatesDocument, OdIfc4x2::IfcRelAssociatesLibrary, OdIfc4x2::IfcRelAssociatesMaterial, OdIfc4x2::IfcRelConnects, OdIfc4x2::IfcRelConnectsElements, OdIfc4x2::IfcRelConnectsPathElements, OdIfc4x2::IfcRelConnectsPorts, OdIfc4x2::IfcRelConnectsPortToElement, OdIfc4x2::IfcRelConnectsStructuralActivity, OdIfc4x2::IfcRelConnectsStructuralMember, OdIfc4x2::IfcRelConnectsWithEccentricity, OdIfc4x2::IfcRelConnectsWithRealizingElements, OdIfc4x2::IfcRelContainedInSpatialStructure, OdIfc4x2::IfcRelCoversBldgElements, OdIfc4x2::IfcRelCoversSpaces, OdIfc4x2::IfcRelDeclares, OdIfc4x2::IfcRelDecomposes, OdIfc4x2::IfcRelDefines, OdIfc4x2::IfcRelDefinesByObject, OdIfc4x2::IfcRelDefinesByProperties, OdIfc4x2::IfcRelDefinesByTemplate, OdIfc4x2::IfcRelDefinesByType, OdIfc4x2::IfcRelFillsElement, OdIfc4x2::IfcRelFlowControlElements, OdIfc4x2::IfcRelInterferesElements, OdIfc4x2::IfcRelNests, OdIfc4x2::IfcRelPositions, OdIfc4x2::IfcRelProjectsElement, OdIfc4x2::IfcRelReferencedInSpatialStructure, OdIfc4x2::IfcRelSequence, OdIfc4x2::IfcRelServicesBuildings, OdIfc4x2::IfcRelSpaceBoundary1stLevel, OdIfc4x2::IfcRelSpaceBoundary2ndLevel, OdIfc4x2::IfcRelSpaceBoundary, and OdIfc4x2::IfcRelVoidsElement.


The documentation for this class was generated from the following file: