|
CFx SDK Documentation 2026 SP0
|
#include <IfcRelDecomposesAutoImpl.h>
Public Member Functions | |
| const OdDAIObjectId & | getRelatingObject () const |
| void | setRelatingObject (const OdDAIObjectId &RelatingObject) |
| void | getRelatedObjects (OdDAIObjectIds &RelatedObjects) const |
| OdDAI::SetOfOdDAIObjectId & | relatedObjects () |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const 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 bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const 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 OdIfc2x_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 () | |
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 OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdDAIObjectId | m_RelatingObject |
| OdDAI::SetOfOdDAIObjectId | m_RelatedObjects |
Protected Attributes inherited from OdIfc2x_final::IfcRoot | |
| OdDAI::CompressedGUID | m_GlobalId |
| OdDAIObjectId | m_OwnerHistory |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
The decomposition relationship, IfcRelDecomposes, defines the general concept of elements being composed or decomposed. The decomposition relationship denotes a whole/part hierarchy with the ability to navigate from the whole (the composition) to the parts and vice versa. Decompositions can be constrained by requiring both, the whole and its parts, to be of the same type - thus establishing a nesting relationship. Or they can require some form of physical containment, thus establishing special types of aggregation relationships.
EXAMPLE: A cost element is a nest of other cost elements. Or a structural frame is an aggregation of beams and columns. Both are applications of decomposition relationship.
Decompositions imply a dependency, i.e. the definition of the whole depends on the definition of the parts and the parts depend on the existence of the whole. The decomposition relationship can be applied in a recursive manner, i.e. a decomposed element can be part in another decomposition. Cyclic references have to be prevented at application level.
Definition at line 54 of file Ifc2x_Final/IfcRelDecomposesAutoImpl.h.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x_final::IfcRelationship.
Reimplemented in OdIfc2x_final::IfcRelAggregates, OdIfc2x_final::IfcRelAggregatesResources, and OdIfc2x_final::IfcRelNests.
| void OdIfc2x_final::IfcRelDecomposes::getRelatedObjects | ( | OdDAIObjectIds & | RelatedObjects | ) | const |
Sets the value of RelatedObjects attribute. This attribute represents the part within the whole/part relationship.
| RelatedObjects | [out] Receives the related objects. |
| const OdDAIObjectId & OdIfc2x_final::IfcRelDecomposes::getRelatingObject | ( | ) | const |
Returns the value of RelatingObject attribute. This attribute represents the whole within the whole/part relationship.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x_final::IfcRelationship.
Reimplemented in OdIfc2x_final::IfcRelAggregates, OdIfc2x_final::IfcRelAggregatesResources, and OdIfc2x_final::IfcRelNests.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
| OdDAI::SetOfOdDAIObjectId & OdIfc2x_final::IfcRelDecomposes::relatedObjects | ( | ) |
Returns the value of RelatedObjects attribute. This attribute represents the part within the whole/part relationship.
| void OdIfc2x_final::IfcRelDecomposes::setRelatingObject | ( | const OdDAIObjectId & | RelatingObject | ) |
Sets the value of RelatingObject attribute. This attribute represents the whole within the whole/part relationship.
| RelatingObject | [in] Relating object to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x_final::IfcRelationship.
Reimplemented in OdIfc2x_final::IfcRelAggregates, OdIfc2x_final::IfcRelAggregatesResources, and OdIfc2x_final::IfcRelNests.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x_final::IfcRoot.
Reimplemented in OdIfc2x_final::IfcRelAggregatesResources.
|
protected |
Definition at line 204 of file Ifc2x_Final/IfcRelDecomposesAutoImpl.h.
|
protected |
Definition at line 203 of file Ifc2x_Final/IfcRelDecomposesAutoImpl.h.