CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcCostModifierAutoImpl.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_IFCCOSTMODIFIER_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCCOSTMODIFIER_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc2x_FinalEnum.h"
36
41namespace OdIfc2x_final {
42
44{
45 //DOM-IGNORE-BEGIN
46 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcCostModifier);
47 //DOM-IGNORE-END
48
49public:
50
51
52 //
53 // OdDAI early binding accessors
54 //
55
56 const OdAnsiString& getPurpose() const;
57 void setPurpose(const OdAnsiString& Purpose);
59 const OdDAIObjectId& getModifierDate() const;
60 void setModifierDate(const OdDAIObjectId& ModifierDate);
65 void getInvModifiedCost(OdDAIObjectIds& ModifiedCost) const;
66 void getInvModifiersReferenced(OdDAIObjectIds& ModifiersReferenced) 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_Purpose; // IfcText
175 OdDAI::Select m_ModifierValue; // IfcCostModifierValueSelect
176 OdDAIObjectId m_ModifierDate; // IfcCalendarDate
177 OdDAI::Enum m_CostOperator; // IfcCostOperatorEnum
178 OdDAI::Enum m_ModifierBasis; // IfcCostModifierBasisEnum [optional]
179
180 // Declare friend classes for inverse attributes functionality:
181 friend class IfcCostValue;
183};
184
189
190} // namespace
191
192#endif // _IFC2X_FINAL_IFCCOSTMODIFIER_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
IfcCostModifierValueSelect modifierValue()
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual bool testAttr(const char *explicitAttrName) const
IfcCostModifierBasisEnum getModifierBasis() const
virtual void unsetAttr(const char *explicitAttrName)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
const OdAnsiString & getPurpose() const
const OdDAIObjectId & getModifierDate() const
void getInvModifiedCost(OdDAIObjectIds &ModifiedCost) const
void setModifierBasis(IfcCostModifierBasisEnum ModifierBasis)
virtual OdIfc::OdIfcEntityType type() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
void setModifierDate(const OdDAIObjectId &ModifierDate)
IfcCostOperatorEnum getCostOperator() const
virtual OdDAI::Entity * getInstanceType() const
void getInvModifiersReferenced(OdDAIObjectIds &ModifiersReferenced) const
void setPurpose(const OdAnsiString &Purpose)
virtual OdRxValue getAttr(const char *attrName) const
void setCostOperator(IfcCostOperatorEnum CostOperator)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdSmartPtr< IfcCostModifier > IfcCostModifierPtr