|
CFx SDK Documentation 2026 SP0
|
#include <IfcMaterialRelationshipAutoImpl.h>
Public Member Functions | |
| const OdDAIObjectId & | getRelatingMaterial () const |
| void | setRelatingMaterial (const OdDAIObjectId &RelatingMaterial) |
| void | getRelatedMaterials (OdDAIObjectIds &RelatedMaterials) const |
| OdDAI::SetOfOdDAIObjectId & | relatedMaterials () |
| const OdAnsiString & | getMaterialExpression () const |
| void | setMaterialExpression (const OdAnsiString &MaterialExpression) |
| IfcMaterialRelationship () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual void | setInverseCounterParts () override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual bool | comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) 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 OdIfc4x3_add2::IfcResourceLevelRelationship | |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| IfcResourceLevelRelationship () | |
Public Member Functions inherited from OdIfc4x3_add2::OdIfc4x3Instance | |
| 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 OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdDAIObjectId | m_RelatingMaterial |
| OdDAI::SetOfOdDAIObjectId | m_RelatedMaterials |
| OdAnsiString | m_MaterialExpression |
Protected Attributes inherited from OdIfc4x3_add2::IfcResourceLevelRelationship | |
| 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) |
IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed.
\changes
IFC4 changes: Attribute Expression renamed to MaterialExpression.
Definition at line 47 of file Ifc4x3/IfcMaterialRelationshipAutoImpl.h.
| OdIfc4x3_add2::IfcMaterialRelationship::IfcMaterialRelationship | ( | ) |
Default constructor for the IfcMaterialRelationship class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
| const OdAnsiString & OdIfc4x3_add2::IfcMaterialRelationship::getMaterialExpression | ( | ) | const |
| void OdIfc4x3_add2::IfcMaterialRelationship::getRelatedMaterials | ( | OdDAIObjectIds & | RelatedMaterials | ) | const |
Gets the value of RelatedMaterials attribute. This attribute represents reference to related materials (as constituents of composite material).
| RelatedMaterials | [out] Receives the RelatedMaterials attribute. |
| const OdDAIObjectId & OdIfc4x3_add2::IfcMaterialRelationship::getRelatingMaterial | ( | ) | const |
Returns the value of RelatingMaterial attribute. This attribute represents reference to the relating material (the composite).
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
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 OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
| OdDAI::SetOfOdDAIObjectId & OdIfc4x3_add2::IfcMaterialRelationship::relatedMaterials | ( | ) |
Returns the value of RelatedMaterials attribute. This attribute represents reference to related materials (as constituents of composite material).
|
overridevirtual |
Sets the object ID of this instance to inverse attributes of related instances according to schema specification of inverse attributes.
| void OdIfc4x3_add2::IfcMaterialRelationship::setMaterialExpression | ( | const OdAnsiString & | MaterialExpression | ) |
| void OdIfc4x3_add2::IfcMaterialRelationship::setRelatingMaterial | ( | const OdDAIObjectId & | RelatingMaterial | ) |
Sets the value of RelatingMaterial attribute. This attribute represents reference to the relating material (the composite).
| RelatingMaterial | [in] RelatingMaterial to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x3_add2::IfcResourceLevelRelationship.
|
protected |
Definition at line 229 of file Ifc4x3/IfcMaterialRelationshipAutoImpl.h.
|
protected |
Definition at line 228 of file Ifc4x3/IfcMaterialRelationshipAutoImpl.h.
|
protected |
Definition at line 227 of file Ifc4x3/IfcMaterialRelationshipAutoImpl.h.