|
CFx SDK Documentation 2026 SP0
|
#include <IfcMetricAutoImpl.h>
Public Member Functions | |
| IfcBenchmarkEnum | getBenchmark () const |
| void | setBenchmark (IfcBenchmarkEnum Benchmark) |
| const OdAnsiString & | getValueSource () const |
| void | setValueSource (const OdAnsiString &ValueSource) |
| IfcMetricValueSelect | dataValue () |
| IfcMetric () | |
| 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 OdIfc2x2_final::IfcConstraint | |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| IfcConstraintEnum | getConstraintGrade () const |
| void | setConstraintGrade (IfcConstraintEnum ConstraintGrade) |
| const OdAnsiString & | getConstraintSource () const |
| void | setConstraintSource (const OdAnsiString &ConstraintSource) |
| IfcActorSelect | creatingActor () |
| IfcDateTimeSelect | creationTime () |
| const OdAnsiString & | getUserDefinedGrade () const |
| void | setUserDefinedGrade (const OdAnsiString &UserDefinedGrade) |
| void | getInvClassifiedAs (OdDAIObjectIds &ClassifiedAs) const |
| void | getInvRelatesConstraints (OdDAIObjectIds &RelatesConstraints) const |
| void | getInvIsRelatedWith (OdDAIObjectIds &IsRelatedWith) const |
| void | getInvPropertiesForConstraint (OdDAIObjectIds &PropertiesForConstraint) const |
| void | getInvAggregates (OdDAIObjectIds &Aggregates) const |
| void | getInvIsAggregatedIn (OdDAIObjectIds &IsAggregatedIn) const |
| IfcConstraint () | |
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 | |
| OdDAI::Enum | m_Benchmark |
| OdAnsiString | m_ValueSource |
| OdDAI::Select | m_DataValue |
Protected Attributes inherited from OdIfc2x2_final::IfcConstraint | |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
| OdDAI::Enum | m_ConstraintGrade |
| OdAnsiString | m_ConstraintSource |
| OdDAI::Select | m_CreatingActor |
| OdDAI::Select | m_CreationTime |
| OdAnsiString | m_UserDefinedGrade |
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) |
An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. IfcMetric definition captures the quantitative aspects of a constraint.
<IMAGE ifcmetric_userdefined_constraint>
Definition at line 46 of file Ifc2x2_Final/IfcMetricAutoImpl.h.
| OdIfc2x2_final::IfcMetric::IfcMetric | ( | ) |
Default constructor for the IfcMetric class.
| IfcMetricValueSelect OdIfc2x2_final::IfcMetric::dataValue | ( | ) |
Returns the value of DataValue attribute. This attribute represents a value to be compared on associated objects. A null value indicates comparison to null.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
| IfcBenchmarkEnum OdIfc2x2_final::IfcMetric::getBenchmark | ( | ) | const |
Returns the value of Benchmark attribute. This attribute represents the type of benchmark data.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x2_final::IfcConstraint.
| const OdAnsiString & OdIfc2x2_final::IfcMetric::getValueSource | ( | ) | const |
Returns the value of ValueSource attribute. This attribute represents reference source for data values. If DataValue refers to an IfcTable, this attribute identifies the relevant column identified by IfcTableColumn.Identifier.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
|
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 OdIfc2x2_final::IfcConstraint.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
| void OdIfc2x2_final::IfcMetric::setBenchmark | ( | IfcBenchmarkEnum | Benchmark | ) |
Sets the value of Benchmark attribute. This attribute represents the type of benchmark data.
| Benchmark | [in] Benchmark to set. |
| void OdIfc2x2_final::IfcMetric::setValueSource | ( | const OdAnsiString & | ValueSource | ) |
Sets the value of ValueSource attribute. This attribute represents reference source for data values. If DataValue refers to an IfcTable, this attribute identifies the relevant column identified by IfcTableColumn.Identifier.
| ValueSource | [in] Value source to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x2_final::IfcConstraint.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x2_final::IfcConstraint.
|
protected |
Definition at line 211 of file Ifc2x2_Final/IfcMetricAutoImpl.h.
|
protected |
Definition at line 213 of file Ifc2x2_Final/IfcMetricAutoImpl.h.
|
protected |
Definition at line 212 of file Ifc2x2_Final/IfcMetricAutoImpl.h.