|
CFx SDK Documentation 2026 SP0
|
#include <IfcMaterialConstituentAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| const OdDAIObjectId & | getMaterial () const |
| void | setMaterial (const OdDAIObjectId &Material) |
| double | getFraction () const |
| void | setFraction (double Fraction) |
| const OdAnsiString & | getCategory () const |
| void | setCategory (const OdAnsiString &Category) |
| OdDAIObjectId | getInvToMaterialConstituentSet () const |
| IfcMaterialConstituent () | |
| 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 OdIfc4x2::IfcMaterialDefinition | |
| void | getInvAssociatedTo (OdDAIObjectIds &AssociatedTo) const |
| void | getInvHasExternalReferences (OdDAIObjectIds &HasExternalReferences) const |
| void | getInvHasProperties (OdDAIObjectIds &HasProperties) const |
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 OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
| OdDAIObjectId | m_Material |
| IfcNormalisedRatioMeasure | m_Fraction |
| OdAnsiString | m_Category |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Friends | |
| class | IfcMaterialConstituentSet |
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) |
IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of parts (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. To identify and distinguish the part of the shape representation to which the material constituent applies the IfcProductDefinitionShape of the element has to include instances of IfcShapeAspect, using the same keyword for their Name attribute.
Definition at line 44 of file Ifc4x2/IfcMaterialConstituentAutoImpl.h.
| OdIfc4x2::IfcMaterialConstituent::IfcMaterialConstituent | ( | ) |
Default constructor for the IfcMaterialConstituent class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
| const OdAnsiString & OdIfc4x2::IfcMaterialConstituent::getCategory | ( | ) | const |
Returns the value of Category attribute. This attribute represents category of the material constituent, e.g. the role it has in the constituent set it belongs to.
| const OdAnsiString & OdIfc4x2::IfcMaterialConstituent::getDescription | ( | ) | const |
Returns the value of Description attribute. This attribute represents definition of the material constituent in descriptive terms.
| double OdIfc4x2::IfcMaterialConstituent::getFraction | ( | ) | const |
Returns the value of Fraction attribute. This optional attribute represents fraction of the total amount (volume or weight) that applies to the IfcMaterialConstituentSet that is contributed by this IfcMaterialConstituent.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
| OdDAIObjectId OdIfc4x2::IfcMaterialConstituent::getInvToMaterialConstituentSet | ( | ) | const |
Returns the value of ToMaterialConstituentSet attribute. This attribute represents material constituent set in which this material constituent is included.
| const OdDAIObjectId & OdIfc4x2::IfcMaterialConstituent::getMaterial | ( | ) | const |
Returns the value of Material attribute. This attribute represents reference to the material from which the constituent is constructed.
| const OdAnsiString & OdIfc4x2::IfcMaterialConstituent::getName | ( | ) | const |
Returns the value of Name attribute. This attribute represents the name by which the material constituent is known.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
|
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 OdIfc::OdIfcInstance.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
| void OdIfc4x2::IfcMaterialConstituent::setCategory | ( | const OdAnsiString & | Category | ) |
Sets the value of Category attribute. This attribute represents category of the material constituent, e.g. the role it has in the constituent set it belongs to.
| Category | [in] Category to set. |
| void OdIfc4x2::IfcMaterialConstituent::setDescription | ( | const OdAnsiString & | Description | ) |
Sets the value of Description attribute. This attribute represents definition of the material constituent in descriptive terms.
| Description | [in] Description to set. |
| void OdIfc4x2::IfcMaterialConstituent::setFraction | ( | double | Fraction | ) |
Sets the value of Fraction attribute. This optional attribute represents fraction of the total amount (volume or weight) that applies to the IfcMaterialConstituentSet that is contributed by this IfcMaterialConstituent.
| Fraction | [in] Fraction to set. |
| void OdIfc4x2::IfcMaterialConstituent::setMaterial | ( | const OdDAIObjectId & | Material | ) |
Sets the value of Material attribute. This attribute represents reference to the material from which the constituent is constructed.
| Material | [in] Material to set. |
| void OdIfc4x2::IfcMaterialConstituent::setName | ( | const OdAnsiString & | Name | ) |
Sets the value of Name attribute. This attribute represents the name by which the material constituent is known.
| Name | [in] Name to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcMaterialDefinition.
|
friend |
Definition at line 260 of file Ifc4x2/IfcMaterialConstituentAutoImpl.h.
|
protected |
Definition at line 257 of file Ifc4x2/IfcMaterialConstituentAutoImpl.h.
|
protected |
Definition at line 254 of file Ifc4x2/IfcMaterialConstituentAutoImpl.h.
|
protected |
Definition at line 256 of file Ifc4x2/IfcMaterialConstituentAutoImpl.h.
|
protected |
Definition at line 255 of file Ifc4x2/IfcMaterialConstituentAutoImpl.h.
|
protected |
Definition at line 253 of file Ifc4x2/IfcMaterialConstituentAutoImpl.h.