CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcCostAutoImpl.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_IFCCOST_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCCOST_AUTO_IMPL_H
28
29#include "IfcControlAutoImpl.h"
32
37namespace OdIfc2x_final {
38
53{
54 //DOM-IGNORE-BEGIN
55 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcCost);
56 //DOM-IGNORE-END
57
58public:
59
60
61 //
62 // OdDAI early binding accessors
63 //
64
65
72 const OdAnsiString& getContextDescription() const;
73
79 void setContextDescription(const OdAnsiString& ContextDescription);
80
88 const OdDAIObjectId& getElementCost() const;
89
96 void setElementCost(const OdDAIObjectId& ElementCost);
97
104 const OdDAIObjectId& getExtensionCost() const;
105
111 void setExtensionCost(const OdDAIObjectId& ExtensionCost);
112
120
127
134 const OdDAIObjectId& getPreparedOn() const;
135
141 void setPreparedOn(const OdDAIObjectId& PreparedOn);
142
149 void getQuantities(OdDAIObjectIds& Quantities) const;
150 OdDAI::ListOfOdDAIObjectId& quantities();
151
158 const OdAnsiString& getCostType() const;
159
165 void setCostType(const OdAnsiString& CostType);
166
173 OdDAIObjectId getInvCostSchedule() const;
174
175
176public:
177
182
189 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
190
197 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
198
204 virtual OdDAI::Entity* getInstanceType() const override;
205
212 virtual OdRxValue getAttr(const char * attrName) const override;
213
218 virtual void unsetAttr(const char * explicitAttrName) override;
219
226 virtual bool testAttr(const char * explicitAttrName) const override;
227
235 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
236
243 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
244
250 virtual OdIfc::OdIfcEntityType type() const override;
251
258 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
259
264 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
265
272 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
273
281 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
282
283protected:
284 // Fields declaration:
285 OdAnsiString m_ContextDescription; // IfcLabel
286 OdDAIObjectId m_ElementCost; // IfcCostValue [optional]
287 OdDAIObjectId m_ExtensionCost; // IfcCostValue [optional]
288 OdDAI::Enum m_CostUse; // IfcCostUseEnum
289 OdDAIObjectId m_PreparedOn; // IfcCalendarDate [optional]
290 OdDAI::ListOfOdDAIObjectId m_Quantities; // LIST [1:?] of IfcCostQuantity [optional]
291
292 OdAnsiString m_CostType; // IfcLabel
293
294 // Declare friend classes for inverse attributes functionality:
295 friend class IfcCostSchedule;
296};
297
302
303} // namespace
304
305#endif // _IFC2X_FINAL_IFCCOST_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition OdResult.h:29
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
virtual bool testAttr(const char *explicitAttrName) const override
OdAnsiString m_ContextDescription
OdDAI::ListOfOdDAIObjectId & quantities()
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
const OdDAIObjectId & getElementCost() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
void setPreparedOn(const OdDAIObjectId &PreparedOn)
virtual OdDAI::Entity * getInstanceType() const override
void setCostUse(IfcCostUseEnum CostUse)
IfcCostUseEnum getCostUse() const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
virtual OdRxValue getAttr(const char *attrName) const override
void getQuantities(OdDAIObjectIds &Quantities) const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
virtual OdIfc::OdIfcEntityType type() const override
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
const OdDAIObjectId & getPreparedOn() const
const OdAnsiString & getContextDescription() const
OdDAIObjectId getInvCostSchedule() const
void setElementCost(const OdDAIObjectId &ElementCost)
virtual void unsetAttr(const char *explicitAttrName) override
const OdDAIObjectId & getExtensionCost() const
OdDAI::ListOfOdDAIObjectId m_Quantities
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
const OdAnsiString & getCostType() const
void setExtensionCost(const OdDAIObjectId &ExtensionCost)
void setCostType(const OdAnsiString &CostType)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
void setContextDescription(const OdAnsiString &ContextDescription)
OdDAIObjectId m_ExtensionCost
OdSmartPtr< IfcCost > IfcCostPtr