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

#include <IfcRelationshipAutoImpl.h>

Inheritance diagram for OdIfc2x2_final::IfcRelationship:
OdIfc2x2_final::IfcRoot OdIfc2x2_final::OdIfc2x2_FinalInstance OdIfc::OdIfcInstance OdIfc2x2_final::IfcRelAssigns OdIfc2x2_final::IfcRelAssociates OdIfc2x2_final::IfcRelConnects OdIfc2x2_final::IfcRelDecomposes OdIfc2x2_final::IfcRelDefines OdIfc2x2_final::IfcRelAssignsToActor OdIfc2x2_final::IfcRelAssignsToControl OdIfc2x2_final::IfcRelAssignsToGroup OdIfc2x2_final::IfcRelAssignsToProcess OdIfc2x2_final::IfcRelAssignsToProduct OdIfc2x2_final::IfcRelAssignsToResource OdIfc2x2_final::IfcRelAssociatesAppliedValue OdIfc2x2_final::IfcRelAssociatesApproval OdIfc2x2_final::IfcRelAssociatesClassification OdIfc2x2_final::IfcRelAssociatesConstraint OdIfc2x2_final::IfcRelAssociatesDocument OdIfc2x2_final::IfcRelAssociatesLibrary OdIfc2x2_final::IfcRelAssociatesMaterial OdIfc2x2_final::IfcRelAssociatesProfileProperties OdIfc2x2_final::IfcRelConnectsElements OdIfc2x2_final::IfcRelConnectsPortToElement OdIfc2x2_final::IfcRelConnectsPorts OdIfc2x2_final::IfcRelConnectsStructuralActivity OdIfc2x2_final::IfcRelConnectsStructuralMember OdIfc2x2_final::IfcRelContainedInSpatialStructure OdIfc2x2_final::IfcRelCoversBldgElements OdIfc2x2_final::IfcRelFillsElement OdIfc2x2_final::IfcRelFlowControlElements OdIfc2x2_final::IfcRelInteractionRequirements OdIfc2x2_final::IfcRelProjectsElement OdIfc2x2_final::IfcRelSequence OdIfc2x2_final::IfcRelServicesBuildings OdIfc2x2_final::IfcRelSpaceBoundary OdIfc2x2_final::IfcRelVoidsElement OdIfc2x2_final::IfcRelAggregates OdIfc2x2_final::IfcRelNests OdIfc2x2_final::IfcRelDefinesByProperties OdIfc2x2_final::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 OdIfc2x2_final::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 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 OdIfc2x2_final::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 Ifc2x2_Final/IfcRelationshipAutoImpl.h.

Member Function Documentation

◆ getInstanceType()

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

Reimplemented in OdIfc2x2_final::IfcRelAggregates, OdIfc2x2_final::IfcRelAssigns, OdIfc2x2_final::IfcRelAssignsTasks, OdIfc2x2_final::IfcRelAssignsToActor, OdIfc2x2_final::IfcRelAssignsToControl, OdIfc2x2_final::IfcRelAssignsToGroup, OdIfc2x2_final::IfcRelAssignsToProcess, OdIfc2x2_final::IfcRelAssignsToProduct, OdIfc2x2_final::IfcRelAssignsToProjectOrder, OdIfc2x2_final::IfcRelAssignsToResource, OdIfc2x2_final::IfcRelAssociates, OdIfc2x2_final::IfcRelAssociatesAppliedValue, OdIfc2x2_final::IfcRelAssociatesApproval, OdIfc2x2_final::IfcRelAssociatesClassification, OdIfc2x2_final::IfcRelAssociatesConstraint, OdIfc2x2_final::IfcRelAssociatesDocument, OdIfc2x2_final::IfcRelAssociatesLibrary, OdIfc2x2_final::IfcRelAssociatesMaterial, OdIfc2x2_final::IfcRelAssociatesProfileProperties, OdIfc2x2_final::IfcRelConnects, OdIfc2x2_final::IfcRelConnectsElements, OdIfc2x2_final::IfcRelConnectsPathElements, OdIfc2x2_final::IfcRelConnectsPorts, OdIfc2x2_final::IfcRelConnectsPortToElement, OdIfc2x2_final::IfcRelConnectsStructuralActivity, OdIfc2x2_final::IfcRelConnectsStructuralMember, OdIfc2x2_final::IfcRelConnectsWithRealizingElements, OdIfc2x2_final::IfcRelContainedInSpatialStructure, OdIfc2x2_final::IfcRelCoversBldgElements, OdIfc2x2_final::IfcRelDecomposes, OdIfc2x2_final::IfcRelDefines, OdIfc2x2_final::IfcRelDefinesByProperties, OdIfc2x2_final::IfcRelDefinesByType, OdIfc2x2_final::IfcRelFillsElement, OdIfc2x2_final::IfcRelFlowControlElements, OdIfc2x2_final::IfcRelInteractionRequirements, OdIfc2x2_final::IfcRelNests, OdIfc2x2_final::IfcRelOccupiesSpaces, OdIfc2x2_final::IfcRelOverridesProperties, OdIfc2x2_final::IfcRelProjectsElement, OdIfc2x2_final::IfcRelSchedulesCostItems, OdIfc2x2_final::IfcRelSequence, OdIfc2x2_final::IfcRelServicesBuildings, OdIfc2x2_final::IfcRelSpaceBoundary, and OdIfc2x2_final::IfcRelVoidsElement.

◆ isKindOf()

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

Reimplemented in OdIfc2x2_final::IfcRelAggregates, OdIfc2x2_final::IfcRelAssigns, OdIfc2x2_final::IfcRelAssignsTasks, OdIfc2x2_final::IfcRelAssignsToActor, OdIfc2x2_final::IfcRelAssignsToControl, OdIfc2x2_final::IfcRelAssignsToGroup, OdIfc2x2_final::IfcRelAssignsToProcess, OdIfc2x2_final::IfcRelAssignsToProduct, OdIfc2x2_final::IfcRelAssignsToProjectOrder, OdIfc2x2_final::IfcRelAssignsToResource, OdIfc2x2_final::IfcRelAssociates, OdIfc2x2_final::IfcRelAssociatesAppliedValue, OdIfc2x2_final::IfcRelAssociatesApproval, OdIfc2x2_final::IfcRelAssociatesClassification, OdIfc2x2_final::IfcRelAssociatesConstraint, OdIfc2x2_final::IfcRelAssociatesDocument, OdIfc2x2_final::IfcRelAssociatesLibrary, OdIfc2x2_final::IfcRelAssociatesMaterial, OdIfc2x2_final::IfcRelAssociatesProfileProperties, OdIfc2x2_final::IfcRelConnects, OdIfc2x2_final::IfcRelConnectsElements, OdIfc2x2_final::IfcRelConnectsPathElements, OdIfc2x2_final::IfcRelConnectsPorts, OdIfc2x2_final::IfcRelConnectsPortToElement, OdIfc2x2_final::IfcRelConnectsStructuralActivity, OdIfc2x2_final::IfcRelConnectsStructuralMember, OdIfc2x2_final::IfcRelConnectsWithRealizingElements, OdIfc2x2_final::IfcRelContainedInSpatialStructure, OdIfc2x2_final::IfcRelCoversBldgElements, OdIfc2x2_final::IfcRelDecomposes, OdIfc2x2_final::IfcRelDefines, OdIfc2x2_final::IfcRelDefinesByProperties, OdIfc2x2_final::IfcRelDefinesByType, OdIfc2x2_final::IfcRelFillsElement, OdIfc2x2_final::IfcRelFlowControlElements, OdIfc2x2_final::IfcRelInteractionRequirements, OdIfc2x2_final::IfcRelNests, OdIfc2x2_final::IfcRelOccupiesSpaces, OdIfc2x2_final::IfcRelOverridesProperties, OdIfc2x2_final::IfcRelProjectsElement, OdIfc2x2_final::IfcRelSchedulesCostItems, OdIfc2x2_final::IfcRelSequence, OdIfc2x2_final::IfcRelServicesBuildings, OdIfc2x2_final::IfcRelSpaceBoundary, and OdIfc2x2_final::IfcRelVoidsElement.

◆ type()

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

Reimplemented in OdIfc2x2_final::IfcRelAggregates, OdIfc2x2_final::IfcRelAssigns, OdIfc2x2_final::IfcRelAssignsTasks, OdIfc2x2_final::IfcRelAssignsToActor, OdIfc2x2_final::IfcRelAssignsToControl, OdIfc2x2_final::IfcRelAssignsToGroup, OdIfc2x2_final::IfcRelAssignsToProcess, OdIfc2x2_final::IfcRelAssignsToProduct, OdIfc2x2_final::IfcRelAssignsToProjectOrder, OdIfc2x2_final::IfcRelAssignsToResource, OdIfc2x2_final::IfcRelAssociates, OdIfc2x2_final::IfcRelAssociatesAppliedValue, OdIfc2x2_final::IfcRelAssociatesApproval, OdIfc2x2_final::IfcRelAssociatesClassification, OdIfc2x2_final::IfcRelAssociatesConstraint, OdIfc2x2_final::IfcRelAssociatesDocument, OdIfc2x2_final::IfcRelAssociatesLibrary, OdIfc2x2_final::IfcRelAssociatesMaterial, OdIfc2x2_final::IfcRelAssociatesProfileProperties, OdIfc2x2_final::IfcRelConnects, OdIfc2x2_final::IfcRelConnectsElements, OdIfc2x2_final::IfcRelConnectsPathElements, OdIfc2x2_final::IfcRelConnectsPorts, OdIfc2x2_final::IfcRelConnectsPortToElement, OdIfc2x2_final::IfcRelConnectsStructuralActivity, OdIfc2x2_final::IfcRelConnectsStructuralMember, OdIfc2x2_final::IfcRelConnectsWithRealizingElements, OdIfc2x2_final::IfcRelContainedInSpatialStructure, OdIfc2x2_final::IfcRelCoversBldgElements, OdIfc2x2_final::IfcRelDecomposes, OdIfc2x2_final::IfcRelDefines, OdIfc2x2_final::IfcRelDefinesByProperties, OdIfc2x2_final::IfcRelDefinesByType, OdIfc2x2_final::IfcRelFillsElement, OdIfc2x2_final::IfcRelFlowControlElements, OdIfc2x2_final::IfcRelInteractionRequirements, OdIfc2x2_final::IfcRelNests, OdIfc2x2_final::IfcRelOccupiesSpaces, OdIfc2x2_final::IfcRelOverridesProperties, OdIfc2x2_final::IfcRelProjectsElement, OdIfc2x2_final::IfcRelSchedulesCostItems, OdIfc2x2_final::IfcRelSequence, OdIfc2x2_final::IfcRelServicesBuildings, OdIfc2x2_final::IfcRelSpaceBoundary, and OdIfc2x2_final::IfcRelVoidsElement.


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