|
CFx SDK Documentation 2026 SP0
|
#include <IfcCostValueAutoImpl.h>
Public Member Functions | |
| double | getBaseCostValue () const |
| void | setBaseCostValue (double BaseCostValue) |
| double | getFinalCostValue () const |
| void | setFinalCostValue (double FinalCostValue) |
| IfcCurrencyEnum | getCurrency () const |
| void | setCurrency (IfcCurrencyEnum Currency) |
| const OdDAIObjectId & | getUnitCostBasis () const |
| void | setUnitCostBasis (const OdDAIObjectId &UnitCostBasis) |
| const OdAnsiString & | getCostType () const |
| void | setCostType (const OdAnsiString &CostType) |
| const OdDAIObjectId & | getCostDate () const |
| void | setCostDate (const OdDAIObjectId &CostDate) |
| void | getCostModifiers (OdDAIObjectIds &CostModifiers) const |
| OdDAI::ListOfOdDAIObjectId & | costModifiers () |
| void | getInvValueOfComponents (OdDAIObjectIds &ValueOfComponents) const |
| void | getInvIsComponentIn (OdDAIObjectIds &IsComponentIn) const |
| void | getInvCostsReferenced (OdDAIObjectIds &CostsReferenced) const |
| IfcCostValue () | |
| 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 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 | |
| double | m_BaseCostValue |
| double | m_FinalCostValue |
| OdDAI::Enum | m_Currency |
| OdDAIObjectId | m_UnitCostBasis |
| OdAnsiString | m_CostType |
| OdDAIObjectId | m_CostDate |
| OdDAI::ListOfOdDAIObjectId | m_CostModifiers |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Friends | |
| class | IfcCostValueRelationship |
| class | IfcReferencesCostDocument |
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) |
IfcCostValue represents an amount of money or a value. Each instance of IfcCostValue can have a category. There are many possible types of cost value that can be identified. While there is a broad understanding of the meaning of names that can be assigned to different types of costs, there is no general standard for naming cost types nor are there any broadly defined classifications.
Definition at line 50 of file Ifc2x_Final/IfcCostValueAutoImpl.h.
| OdIfc2x_final::IfcCostValue::IfcCostValue | ( | ) |
Default constructor for the IfcCostValue class.
| OdDAI::ListOfOdDAIObjectId & OdIfc2x_final::IfcCostValue::costModifiers | ( | ) |
Returns the value of CostModifiers attribute. This attribute represents the modifiers that can be applied to a cost to change its value.
|
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 OdIfc::OdIfcInstance.
| double OdIfc2x_final::IfcCostValue::getBaseCostValue | ( | ) | const |
Returns the value of BaseCostValue attribute. This attribute represents the amount of this cost before applying cost modifiers.
| const OdDAIObjectId & OdIfc2x_final::IfcCostValue::getCostDate | ( | ) | const |
Returns the value of CostDate attribute. This attribute represents the date at which the cost is assessed. For example, in an estimate it is the date at which the estimated cost value was made, while for a report of actual costs, it is the cost that the actual costs are recorded.
| void OdIfc2x_final::IfcCostValue::getCostModifiers | ( | OdDAIObjectIds & | CostModifiers | ) | const |
Sets the value of CostModifiers attribute. This attribute represents the modifiers that can be applied to a cost to change its value.
| CostModifiers | [out] Cost modifiers to get. |
| const OdAnsiString & OdIfc2x_final::IfcCostValue::getCostType | ( | ) | const |
Returns the value of CostType attribute. This attribute represents specification of the cost type that is used.
| IfcCurrencyEnum OdIfc2x_final::IfcCostValue::getCurrency | ( | ) | const |
Returns the value of Currency attribute. This attribute represents currency for this cost that can override the global currency setting for the project.
| double OdIfc2x_final::IfcCostValue::getFinalCostValue | ( | ) | const |
Returns the value of FinalCostValue attribute. This attribute represents the amount of this cost after applying cost modifiers.
|
overridevirtual |
Returns a type of a class instance.
| void OdIfc2x_final::IfcCostValue::getInvCostsReferenced | ( | OdDAIObjectIds & | CostsReferenced | ) | const |
Gets the value of CostsReferenced attribute. This attribute represents the IfcReferencesCostDocument relationship that refers to a document from which the cost value is referenced.
| CostsReferenced | [out] Receives the CostsReferenced attribute. |
| void OdIfc2x_final::IfcCostValue::getInvIsComponentIn | ( | OdDAIObjectIds & | IsComponentIn | ) | const |
Gets the value of IsComponentIn attribute. This attribute represents the value of the single cost value that is used by the cost value relationship to express a complex cost.
| IsComponentIn | [out] Receives the IsComponentIn attribute. |
| void OdIfc2x_final::IfcCostValue::getInvValueOfComponents | ( | OdDAIObjectIds & | ValueOfComponents | ) | const |
Gets the value of ValueOfComponents attribute. This attribute represents the aggregated value of the components within the cost value relationship expressed as a single cost value.
| ValueOfComponents | [out] Receives the ValueOfComponents attribute. |
| const OdDAIObjectId & OdIfc2x_final::IfcCostValue::getUnitCostBasis | ( | ) | const |
Returns the value of UnitCostBasis attribute. This attribute represents the number and unit of measure on which the unit cost is based.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
|
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 OdIfc::OdIfcInstance.
| void OdIfc2x_final::IfcCostValue::setBaseCostValue | ( | double | BaseCostValue | ) |
Sets the value of BaseCostValue attribute. This attribute represents the amount of this cost before applying cost modifiers.
| BaseCostValue | [in] Base cost value to set. |
| void OdIfc2x_final::IfcCostValue::setCostDate | ( | const OdDAIObjectId & | CostDate | ) |
Sets the value of CostDate attribute. This attribute represents the date at which the cost is assessed. For example, in an estimate it is the date at which the estimated cost value was made, while for a report of actual costs, it is the cost that the actual costs are recorded.
| CostDate | [in] Cost date to set. |
| void OdIfc2x_final::IfcCostValue::setCostType | ( | const OdAnsiString & | CostType | ) |
Sets the value of CostType attribute. This attribute represents specification of the cost type that is used.
| CostType | [in] Cost type to set. |
| void OdIfc2x_final::IfcCostValue::setCurrency | ( | IfcCurrencyEnum | Currency | ) |
Sets the value of Currency attribute. This attribute represents currency for this cost that can override the global currency setting for the project.
| Currency | [in] Currency to set. |
| void OdIfc2x_final::IfcCostValue::setFinalCostValue | ( | double | FinalCostValue | ) |
Sets the value of FinalCostValue attribute. This attribute represents the amount of this cost after applying cost modifiers.
| FinalCostValue | [in] Final cost value to set. |
| void OdIfc2x_final::IfcCostValue::setUnitCostBasis | ( | const OdDAIObjectId & | UnitCostBasis | ) |
Sets the value of UnitCostBasis attribute. This attribute represents the number and unit of measure on which the unit cost is based.
| UnitCostBasis | [in] Unit cost basis to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
friend |
Definition at line 316 of file Ifc2x_Final/IfcCostValueAutoImpl.h.
|
friend |
Definition at line 318 of file Ifc2x_Final/IfcCostValueAutoImpl.h.
|
protected |
Definition at line 306 of file Ifc2x_Final/IfcCostValueAutoImpl.h.
|
protected |
Definition at line 311 of file Ifc2x_Final/IfcCostValueAutoImpl.h.
|
protected |
Definition at line 312 of file Ifc2x_Final/IfcCostValueAutoImpl.h.
|
protected |
Definition at line 310 of file Ifc2x_Final/IfcCostValueAutoImpl.h.
|
protected |
Definition at line 308 of file Ifc2x_Final/IfcCostValueAutoImpl.h.
|
protected |
Definition at line 307 of file Ifc2x_Final/IfcCostValueAutoImpl.h.
|
protected |
Definition at line 309 of file Ifc2x_Final/IfcCostValueAutoImpl.h.