|
CFx SDK Documentation 2026 SP0
|
#include <IfcCostAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getContextDescription () const |
| void | setContextDescription (const OdAnsiString &ContextDescription) |
| const OdDAIObjectId & | getElementCost () const |
| void | setElementCost (const OdDAIObjectId &ElementCost) |
| const OdDAIObjectId & | getExtensionCost () const |
| void | setExtensionCost (const OdDAIObjectId &ExtensionCost) |
| IfcCostUseEnum | getCostUse () const |
| void | setCostUse (IfcCostUseEnum CostUse) |
| const OdDAIObjectId & | getPreparedOn () const |
| void | setPreparedOn (const OdDAIObjectId &PreparedOn) |
| void | getQuantities (OdDAIObjectIds &Quantities) const |
| OdDAI::ListOfOdDAIObjectId & | quantities () |
| const OdAnsiString & | getCostType () const |
| void | setCostType (const OdAnsiString &CostType) |
| OdDAIObjectId | getInvCostSchedule () const |
| IfcCost () | |
| 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 OdIfc2x_final::IfcControl | |
| void | getInvControls (OdDAIObjectIds &Controls) const |
Public Member Functions inherited from OdIfc2x_final::IfcObject | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| void | getInvHasAssociations (OdDAIObjectIds &HasAssociations) const |
| void | getInvHasAssignments (OdDAIObjectIds &HasAssignments) const |
| void | getInvDecomposes (OdDAIObjectIds &Decomposes) const |
| void | getInvIsDecomposedBy (OdDAIObjectIds &IsDecomposedBy) const |
| IfcObject () | |
Public Member Functions inherited from OdIfc2x_final::IfcRoot | |
| OdDAI::CompressedGUID | getGlobalId () const |
| void | setGlobalId (OdDAI::CompressedGUID GlobalId) |
| const OdDAIObjectId & | getOwnerHistory () const |
| void | setOwnerHistory (const OdDAIObjectId &OwnerHistory) |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| IfcRoot () | |
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_ContextDescription |
| OdDAIObjectId | m_ElementCost |
| OdDAIObjectId | m_ExtensionCost |
| OdDAI::Enum | m_CostUse |
| OdDAIObjectId | m_PreparedOn |
| OdDAI::ListOfOdDAIObjectId | m_Quantities |
| OdAnsiString | m_CostType |
Protected Attributes inherited from OdIfc2x_final::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc2x_final::IfcRoot | |
| OdDAI::CompressedGUID | m_GlobalId |
| OdDAIObjectId | m_OwnerHistory |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Friends | |
| class | IfcCostSchedule |
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 IfcCost is a cost with context information. It represents goods, services, or the execution of works of a described elemental nature in given conditions. This entity also has the capability of nesting other costs of the same type through its relationships to IfcRelNests.
<IMAGE IfcCost-Fig1>
The IfcRelNests provides a model mechanism to allow IfcCost to contain other items of the same type. It provides the relationships between the nesting IfcCost and nested IfcCost(s). The image below shows how cost elements can be grouped into one cost, represented by costs being nested within another cost (using the IfcRelNests relationship).
<IMAGE IfcCostSchedule-Fig2>
Definition at line 52 of file IfcCostAutoImpl.h.
| OdIfc2x_final::IfcCost::IfcCost | ( | ) |
Default constructor for the IfcCost class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc2x_final::IfcControl.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc2x_final::IfcControl.
| const OdAnsiString & OdIfc2x_final::IfcCost::getContextDescription | ( | ) | const |
Returns the value of ContextDescription attribute. This attribute represents the contextual information of the cost such as purchase cost, installation cost, consulting cost, etc.
| const OdAnsiString & OdIfc2x_final::IfcCost::getCostType | ( | ) | const |
Returns the value of CostType attribute. This attribute represents a type of cost that is expressed.
| IfcCostUseEnum OdIfc2x_final::IfcCost::getCostUse | ( | ) | const |
Returns the value of CostUse attribute. This attribute indicates how the value of the ElementCost and ExtensionCost is provided and thus how they should be used.
| const OdDAIObjectId & OdIfc2x_final::IfcCost::getElementCost | ( | ) | const |
Returns the value of ElementCost attribute. This attribute represents the cost of a single item of each 'Quantity'. It can be either a unit cost or an item cost depending on the context of the cost element.
| const OdDAIObjectId & OdIfc2x_final::IfcCost::getExtensionCost | ( | ) | const |
Returns the value of ExtensionCost attribute. This attribute represents the summarized the cost of this cost element.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x_final::IfcControl.
| OdDAIObjectId OdIfc2x_final::IfcCost::getInvCostSchedule | ( | ) | const |
Returns the value of CostSchedule attribute. This attribute represents a reference to the cost schedule to which the cost element belongs.
| const OdDAIObjectId & OdIfc2x_final::IfcCost::getPreparedOn | ( | ) | const |
Returns the value of PreparedOn attribute. This attribute represents the date that the cost is provided.
| void OdIfc2x_final::IfcCost::getQuantities | ( | OdDAIObjectIds & | Quantities | ) | const |
Returns the value of Quantities attribute. This attribute represents the quantities of the items referenced by the cost.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc2x_final::IfcControl.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x_final::IfcControl.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc2x_final::IfcControl.
|
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 OdIfc2x_final::IfcControl.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x_final::IfcControl.
| OdDAI::ListOfOdDAIObjectId & OdIfc2x_final::IfcCost::quantities | ( | ) |
| void OdIfc2x_final::IfcCost::setContextDescription | ( | const OdAnsiString & | ContextDescription | ) |
Sets the value of ContextDescription attribute. This attribute represents the contextual information of the cost such as purchase cost, installation cost, consulting cost, etc.
| ContextDescription | [in] ContextDescription attribute to set. |
| void OdIfc2x_final::IfcCost::setCostType | ( | const OdAnsiString & | CostType | ) |
Sets the value of CostType attribute. This attribute represents a type of cost that is expressed.
| CostType | [in] CostType attribute to set. |
| void OdIfc2x_final::IfcCost::setCostUse | ( | IfcCostUseEnum | CostUse | ) |
Sets the value of CostUse attribute. This attribute indicates how the value of the ElementCost and ExtensionCost is provided and thus how they should be used.
| CostUse | [in] CostUse attribute to set. |
| void OdIfc2x_final::IfcCost::setElementCost | ( | const OdDAIObjectId & | ElementCost | ) |
Sets the value of ElementCost attribute. This attribute represents the cost of a single item of each 'Quantity'. It can be either a unit cost or an item cost depending on the context of the cost element.
| ElementCost | [in] ElementCost attribute to set. |
| void OdIfc2x_final::IfcCost::setExtensionCost | ( | const OdDAIObjectId & | ExtensionCost | ) |
Sets the value of ExtensionCost attribute. This attribute represents the summarized the cost of this cost element.
| ExtensionCost | [in] ExtensionCost attribute to set. |
| void OdIfc2x_final::IfcCost::setPreparedOn | ( | const OdDAIObjectId & | PreparedOn | ) |
Sets the value of PreparedOn attribute. This attribute represents the date that the cost is provided.
| PreparedOn | [in] PreparedOn attribute to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc2x_final::IfcControl.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc2x_final::IfcControl.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x_final::IfcControl.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x_final::IfcControl.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x_final::IfcControl.
|
friend |
Definition at line 295 of file IfcCostAutoImpl.h.
|
protected |
Definition at line 285 of file IfcCostAutoImpl.h.
|
protected |
Definition at line 292 of file IfcCostAutoImpl.h.
|
protected |
Definition at line 288 of file IfcCostAutoImpl.h.
|
protected |
Definition at line 286 of file IfcCostAutoImpl.h.
|
protected |
Definition at line 287 of file IfcCostAutoImpl.h.
|
protected |
Definition at line 289 of file IfcCostAutoImpl.h.
|
protected |
Definition at line 290 of file IfcCostAutoImpl.h.