CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcCostQuantityAutoImpl.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_IFCCOSTQUANTITY_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCCOSTQUANTITY_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::IfcCostQuantity);
47 //DOM-IGNORE-END
48
49public:
50
51
52 //
53 // OdDAI early binding accessors
54 //
55
56 const OdDAIObjectId& getBaseQuantity() const;
57 void setBaseQuantity(const OdDAIObjectId& BaseQuantity);
58 const OdDAIObjectId& getFinalQuantity() const;
59 void setFinalQuantity(const OdDAIObjectId& FinalQuantity);
60 double getWasteFactor() const;
61 void setWasteFactor(double WasteFactor);
62 double getRoundOffIncrement() const;
63 void setRoundOffIncrement(double RoundOffIncrement);
66
67
68public:
70
77 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
78
85 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
86
92 virtual OdDAI::Entity* getInstanceType() const;
93
100 virtual OdRxValue getAttr(const char * attrName) const;
101
106 virtual void unsetAttr(const char * explicitAttrName);
107
114 virtual bool testAttr(const char * explicitAttrName) const;
115
123 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
124
131 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
132
139
146 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
147
152 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
153
160 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
161
169 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
170
171protected:
172 // Fields declaration:
173 OdDAIObjectId m_BaseQuantity; // IfcMeasureWithUnit [optional]
174 OdDAIObjectId m_FinalQuantity; // IfcMeasureWithUnit [optional]
175 IfcPositiveRatioMeasure m_WasteFactor; // IfcPositiveRatioMeasure [optional]
176 double m_RoundOffIncrement; // IfcReal
177 OdDAI::Enum m_RoundOffBasis; // IfcQuantityRoundOffBasisEnum
178};
179
184
185} // namespace
186
187#endif // _IFC2X_FINAL_IFCCOSTQUANTITY_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
void setWasteFactor(double WasteFactor)
IfcQuantityRoundOffBasisEnum getRoundOffBasis() const
virtual OdIfc::OdIfcEntityType type() const
void setRoundOffIncrement(double RoundOffIncrement)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual bool testAttr(const char *explicitAttrName) const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setFinalQuantity(const OdDAIObjectId &FinalQuantity)
const OdDAIObjectId & getFinalQuantity() const
virtual OdRxValue getAttr(const char *attrName) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
double getRoundOffIncrement() const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual OdDAI::Entity * getInstanceType() const
virtual void unsetAttr(const char *explicitAttrName)
void setBaseQuantity(const OdDAIObjectId &BaseQuantity)
void setRoundOffBasis(IfcQuantityRoundOffBasisEnum RoundOffBasis)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
const OdDAIObjectId & getBaseQuantity() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
IfcRatioMeasure IfcPositiveRatioMeasure
OdSmartPtr< IfcCostQuantity > IfcCostQuantityPtr