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

#include <IfcRelationshipAutoImpl.h>

Inheritance diagram for OdIfc4x1::IfcRelationship:
OdIfc4x1::IfcRoot OdIfc4x1::OdIfc4x1Instance OdIfc::OdIfcInstance OdIfc4x1::IfcRelAssigns OdIfc4x1::IfcRelAssociates OdIfc4x1::IfcRelConnects OdIfc4x1::IfcRelDeclares OdIfc4x1::IfcRelDecomposes OdIfc4x1::IfcRelDefines OdIfc4x1::IfcRelAssignsToActor OdIfc4x1::IfcRelAssignsToControl OdIfc4x1::IfcRelAssignsToGroup OdIfc4x1::IfcRelAssignsToProcess OdIfc4x1::IfcRelAssignsToProduct OdIfc4x1::IfcRelAssignsToResource OdIfc4x1::IfcRelAssociatesApproval OdIfc4x1::IfcRelAssociatesClassification OdIfc4x1::IfcRelAssociatesConstraint OdIfc4x1::IfcRelAssociatesDocument OdIfc4x1::IfcRelAssociatesLibrary OdIfc4x1::IfcRelAssociatesMaterial OdIfc4x1::IfcRelConnectsElements OdIfc4x1::IfcRelConnectsPortToElement OdIfc4x1::IfcRelConnectsPorts OdIfc4x1::IfcRelConnectsStructuralActivity OdIfc4x1::IfcRelConnectsStructuralMember OdIfc4x1::IfcRelContainedInSpatialStructure OdIfc4x1::IfcRelCoversBldgElements OdIfc4x1::IfcRelCoversSpaces OdIfc4x1::IfcRelFillsElement OdIfc4x1::IfcRelFlowControlElements OdIfc4x1::IfcRelInterferesElements OdIfc4x1::IfcRelReferencedInSpatialStructure OdIfc4x1::IfcRelSequence OdIfc4x1::IfcRelServicesBuildings OdIfc4x1::IfcRelSpaceBoundary OdIfc4x1::IfcRelAggregates OdIfc4x1::IfcRelNests OdIfc4x1::IfcRelProjectsElement OdIfc4x1::IfcRelVoidsElement OdIfc4x1::IfcRelDefinesByObject OdIfc4x1::IfcRelDefinesByProperties OdIfc4x1::IfcRelDefinesByTemplate OdIfc4x1::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 OdIfc4x1::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 OdIfc4x1::OdIfc4x1Instance
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 OdIfc4x1::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 Ifc4x1/IfcRelationshipAutoImpl.h.

Member Function Documentation

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x1::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 OdIfc4x1::IfcRoot.

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

◆ isKindOf()

virtual bool OdIfc4x1::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 OdIfc4x1::IfcRoot.

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

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x1::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 OdIfc4x1::IfcRoot.

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


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