CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcCostModifierAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24// This file is generated automatically.
25
26#ifndef _IFC2X_FINAL_IFCCOSTMODIFIER_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCCOSTMODIFIER_AUTO_IMPL_H
28
30
31#include "Ifc2x_FinalEnum.h"
35
40namespace OdIfc2x_final {
41
50{
51 //DOM-IGNORE-BEGIN
52 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcCostModifier);
53 //DOM-IGNORE-END
54
55public:
56
57
58 //
59 // OdDAI early binding accessors
60 //
61
62
80 const OdAnsiString& getPurpose() const;
81
98 void setPurpose(const OdAnsiString& Purpose);
99
107
114 const OdDAIObjectId& getModifierDate() const;
115
121 void setModifierDate(const OdDAIObjectId& ModifierDate);
122
130
137
145
152
159 void getInvModifiedCost(OdDAIObjectIds& ModifiedCost) const;
160
168 void getInvModifiersReferenced(OdDAIObjectIds& ModifiersReferenced) const;
169
170
171public:
172
177
184 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
185
192 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
193
199 virtual OdDAI::Entity* getInstanceType() const override;
200
207 virtual OdRxValue getAttr(const char * attrName) const override;
208
213 virtual void unsetAttr(const char * explicitAttrName) override;
214
221 virtual bool testAttr(const char * explicitAttrName) const override;
222
230 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
231
238 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
239
245 virtual OdIfc::OdIfcEntityType type() const override;
246
253 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
254
259 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
260
267 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
268
276 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
277
278protected:
279 // Fields declaration:
280 OdAnsiString m_Purpose; // IfcText
281 OdDAI::Select m_ModifierValue; // IfcCostModifierValueSelect
282 OdDAIObjectId m_ModifierDate; // IfcCalendarDate
283 OdDAI::Enum m_CostOperator; // IfcCostOperatorEnum
284 OdDAI::Enum m_ModifierBasis; // IfcCostModifierBasisEnum [optional]
285
286 // Declare friend classes for inverse attributes functionality:
287 friend class IfcCostValue;
289};
290
295
296} // namespace
297
298#endif // _IFC2X_FINAL_IFCCOSTMODIFIER_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition OdResult.h:29
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
IfcCostModifierValueSelect modifierValue()
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
IfcCostModifierBasisEnum getModifierBasis() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
virtual void unsetAttr(const char *explicitAttrName) override
virtual bool testAttr(const char *explicitAttrName) const override
const OdAnsiString & getPurpose() const
const OdDAIObjectId & getModifierDate() const
void getInvModifiedCost(OdDAIObjectIds &ModifiedCost) const
virtual OdIfc::OdIfcEntityType type() const override
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
void setModifierBasis(IfcCostModifierBasisEnum ModifierBasis)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
void setModifierDate(const OdDAIObjectId &ModifierDate)
IfcCostOperatorEnum getCostOperator() const
virtual OdRxValue getAttr(const char *attrName) const override
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
void getInvModifiersReferenced(OdDAIObjectIds &ModifiersReferenced) const
void setPurpose(const OdAnsiString &Purpose)
virtual OdDAI::Entity * getInstanceType() const override
void setCostOperator(IfcCostOperatorEnum CostOperator)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
OdSmartPtr< IfcCostModifier > IfcCostModifierPtr