CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcCostAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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
40{
41 //DOM-IGNORE-BEGIN
42 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcCost);
43 //DOM-IGNORE-END
44
45public:
46
47
48 //
49 // OdDAI early binding accessors
50 //
51
52 const OdAnsiString& getContextDescription() const;
53 void setContextDescription(const OdAnsiString& ContextDescription);
54 const OdDAIObjectId& getElementCost() const;
55 void setElementCost(const OdDAIObjectId& ElementCost);
56 const OdDAIObjectId& getExtensionCost() const;
57 void setExtensionCost(const OdDAIObjectId& ExtensionCost);
60 const OdDAIObjectId& getPreparedOn() const;
61 void setPreparedOn(const OdDAIObjectId& PreparedOn);
62 void getQuantities(OdDAIObjectIds& Quantities) const;
63 OdDAI::OdDAIObjectIdList& quantities();
64 const OdAnsiString& getCostType() const;
65 void setCostType(const OdAnsiString& CostType);
66 OdDAIObjectId getInvCostSchedule() const;
67
68
69public:
71
78 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
79
86 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
87
93 virtual OdDAI::Entity* getInstanceType() const;
94
101 virtual OdRxValue getAttr(const char * attrName) const;
102
107 virtual void unsetAttr(const char * explicitAttrName);
108
115 virtual bool testAttr(const char * explicitAttrName) const;
116
124 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
125
132 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
133
140
147 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
148
153 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
154
161 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
162
170 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
171
172protected:
173 // Fields declaration:
174 OdAnsiString m_ContextDescription; // IfcLabel
175 OdDAIObjectId m_ElementCost; // IfcCostValue [optional]
176 OdDAIObjectId m_ExtensionCost; // IfcCostValue [optional]
177 OdDAI::Enum m_CostUse; // IfcCostUseEnum
178 OdDAIObjectId m_PreparedOn; // IfcCalendarDate [optional]
179 OdDAI::OdDAIObjectIdList m_Quantities; // LIST [1:?] of IfcCostQuantity [optional]
180
181 OdAnsiString m_CostType; // IfcLabel
182
183 // Declare friend classes for inverse attributes functionality:
184 friend class IfcCostSchedule;
185};
186
191
192} // namespace
193
194#endif // _IFC2X_FINAL_IFCCOST_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
OdAnsiString m_ContextDescription
virtual void unsetAttr(const char *explicitAttrName)
const OdDAIObjectId & getElementCost() const
void setPreparedOn(const OdDAIObjectId &PreparedOn)
virtual OdIfc::OdIfcEntityType type() const
void setCostUse(IfcCostUseEnum CostUse)
IfcCostUseEnum getCostUse() const
void getQuantities(OdDAIObjectIds &Quantities) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdDAI::OdDAIObjectIdList & quantities()
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
const OdDAIObjectId & getPreparedOn() const
const OdAnsiString & getContextDescription() const
OdDAIObjectId getInvCostSchedule() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
void setElementCost(const OdDAIObjectId &ElementCost)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
const OdDAIObjectId & getExtensionCost() const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
OdDAIObjectId m_ElementCost
virtual OdRxValue getAttr(const char *attrName) const
const OdAnsiString & getCostType() const
void setExtensionCost(const OdDAIObjectId &ExtensionCost)
void setCostType(const OdAnsiString &CostType)
OdDAI::OdDAIObjectIdList m_Quantities
virtual OdDAI::Entity * getInstanceType() const
virtual bool testAttr(const char *explicitAttrName) const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setContextDescription(const OdAnsiString &ContextDescription)
OdDAIObjectId m_PreparedOn
OdDAIObjectId m_ExtensionCost
OdSmartPtr< IfcCost > IfcCostPtr