|
CFx SDK Documentation 2026 SP0
|
#include <IfcCostModifierAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getPurpose () const |
| void | setPurpose (const OdAnsiString &Purpose) |
| IfcCostModifierValueSelect | modifierValue () |
| const OdDAIObjectId & | getModifierDate () const |
| void | setModifierDate (const OdDAIObjectId &ModifierDate) |
| IfcCostOperatorEnum | getCostOperator () const |
| void | setCostOperator (IfcCostOperatorEnum CostOperator) |
| IfcCostModifierBasisEnum | getModifierBasis () const |
| void | setModifierBasis (IfcCostModifierBasisEnum ModifierBasis) |
| void | getInvModifiedCost (OdDAIObjectIds &ModifiedCost) const |
| void | getInvModifiersReferenced (OdDAIObjectIds &ModifiersReferenced) const |
| IfcCostModifier () | |
| 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 | |
| OdAnsiString | m_Purpose |
| OdDAI::Select | m_ModifierValue |
| OdDAIObjectId | m_ModifierDate |
| OdDAI::Enum | m_CostOperator |
| OdDAI::Enum | m_ModifierBasis |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Friends | |
| class | IfcCostValue |
| 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) |
An IfcCostModifier is a modifier object which influences a cost. Cost modifiers can potentially be applied on quite complex bases (e.g., a percentage markup on hours of overtime labor). Cost modifiers can accommodate other cost modifiers calculated on a simple basis only (static/running and add/subtract/multiply). Modifiers applied on a more complex basis can be converted within cost applications to these simple bases (e.g., the more complex modifier can be resolved into a fixed currency value modifier).
Definition at line 49 of file IfcCostModifierAutoImpl.h.
| OdIfc2x_final::IfcCostModifier::IfcCostModifier | ( | ) |
Default constructor for the IfcCostModifier 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 OdIfc::OdIfcInstance.
| IfcCostOperatorEnum OdIfc2x_final::IfcCostModifier::getCostOperator | ( | ) | const |
Returns the value of CostOperator attribute. This attribute represents a mathematical operator that determines how the cost modifier is to be applied to the cost to vary its value.
|
overridevirtual |
Returns a type of a class instance.
| void OdIfc2x_final::IfcCostModifier::getInvModifiedCost | ( | OdDAIObjectIds & | ModifiedCost | ) | const |
Returns the value of ModifiedCost attribute. This attribute represents cost value the cost modifier is assigned to.
| void OdIfc2x_final::IfcCostModifier::getInvModifiersReferenced | ( | OdDAIObjectIds & | ModifiersReferenced | ) | const |
Returns the value of ModifiersReferenced attribute. This attribute represents the IfcReferencesCostDocument relationship, which refers to a document from which the cost modifier is referenced.
| IfcCostModifierBasisEnum OdIfc2x_final::IfcCostModifier::getModifierBasis | ( | ) | const |
Returns the value of ModifierBasis attribute. This attribute represents the manner in which cost modifiers are applied to a cost.
| const OdDAIObjectId & OdIfc2x_final::IfcCostModifier::getModifierDate | ( | ) | const |
Returns the value of ModifierDate attribute. This attribute represents the date at which a modifier is applicable.
| const OdAnsiString & OdIfc2x_final::IfcCostModifier::getPurpose | ( | ) | const |
Returns the value of Purpose attribute. This attribute represents the purpose for which a cost modifier is applied. Examples: trade discount, bulk purchase rebate, small quantity surcharge, large quantity discount, delivery charge, waste allowance, postage and packing charge, factor to allow for working conditions (working at height, working in a hazardous or dirty environment etc.), adjustments for costs derived from historical data (source date to project date adjustment, source location to project location adjustment), etc.
|
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.
| IfcCostModifierValueSelect OdIfc2x_final::IfcCostModifier::modifierValue | ( | ) |
Returns the value of ModifierValue attribute. This attribute represents the value assigned to a cost modifier.
|
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::IfcCostModifier::setCostOperator | ( | IfcCostOperatorEnum | CostOperator | ) |
Sets the value of CostOperator attribute. This attribute represents a mathematical operator that determines how the cost modifier is to be applied to the cost to vary its value.
| CostOperator | [in] CostOperator attribute to set. |
| void OdIfc2x_final::IfcCostModifier::setModifierBasis | ( | IfcCostModifierBasisEnum | ModifierBasis | ) |
Sets the value of ModifierBasis attribute. This attribute represents the manner in which cost modifiers are applied to a cost.
| ModifierBasis | [in] ModifierBasis attribute to set. |
| void OdIfc2x_final::IfcCostModifier::setModifierDate | ( | const OdDAIObjectId & | ModifierDate | ) |
Sets the value of ModifierDate attribute. This attribute represents the date at which a modifier is applicable.
| ModifierDate | [in] ModifierDate attribute to set. |
| void OdIfc2x_final::IfcCostModifier::setPurpose | ( | const OdAnsiString & | Purpose | ) |
Sets the value of Purpose attribute. This attribute represents the purpose for which a cost modifier is applied. Examples: trade discount, bulk purchase rebate, small quantity surcharge, large quantity discount, delivery charge, waste allowance, postage and packing charge, factor to allow for working conditions (working at height, working in a hazardous or dirty environment etc.), adjustments for costs derived from historical data (source date to project date adjustment, source location to project location adjustment), etc.
| Purpose | [in] Purpose attribute 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 287 of file IfcCostModifierAutoImpl.h.
|
friend |
Definition at line 288 of file IfcCostModifierAutoImpl.h.
|
protected |
Definition at line 283 of file IfcCostModifierAutoImpl.h.
|
protected |
Definition at line 284 of file IfcCostModifierAutoImpl.h.
|
protected |
Definition at line 282 of file IfcCostModifierAutoImpl.h.
|
protected |
Definition at line 281 of file IfcCostModifierAutoImpl.h.
|
protected |
Definition at line 280 of file IfcCostModifierAutoImpl.h.