CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcRelUsesResourceAutoImpl.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_IFCRELUSESRESOURCE_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCRELUSESRESOURCE_AUTO_IMPL_H
28
31
36namespace OdIfc2x_final {
37
39{
40 //DOM-IGNORE-BEGIN
41 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcRelUsesResource);
42 //DOM-IGNORE-END
43
44public:
45
46
47 //
48 // OdDAI early binding accessors
49 //
50
51 double getDuration() const;
52 void setDuration(double Duration);
53 const OdDAIObjectId& getQuantity() const;
54 void setQuantity(const OdDAIObjectId& Quantity);
55 const OdDAIObjectId& getProductivityConversionRate() const;
56 void setProductivityConversionRate(const OdDAIObjectId& ProductivityConversionRate);
58 void setConverterMultiplierOrDivider(IfcMultiplierOrDivider ConverterMultiplierOrDivider);
59 void getResourceUseCosts(OdDAIObjectIds& ResourceUseCosts) const;
60 OdDAI::OdDAIObjectIdSet& resourceUseCosts();
61 double getWasteFactor() const;
62 void setWasteFactor(double WasteFactor);
63
64
65public:
67
74 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
75
82 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
83
89 virtual OdDAI::Entity* getInstanceType() const;
90
97 virtual OdRxValue getAttr(const char * attrName) const;
98
103 virtual void unsetAttr(const char * explicitAttrName);
104
111 virtual bool testAttr(const char * explicitAttrName) const;
112
120 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
121
128 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
129
136
143 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
144
149 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
150
157 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
158
166 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
167
168protected:
169 // Fields declaration:
170 double m_Duration; // IfcTimeMeasure [optional]
171 OdDAIObjectId m_Quantity; // IfcMeasureWithUnit [optional]
172 OdDAIObjectId m_ProductivityConversionRate; // IfcMeasureWithUnit [optional]
173 OdDAI::Enum m_ConverterMultiplierOrDivider; // IfcMultiplierOrDivider [optional]
174 OdDAI::OdDAIObjectIdSet m_ResourceUseCosts; // SET [1:?] of IfcCostValue [optional]
175
176 double m_WasteFactor; // REAL [optional]
177};
178
183
184} // namespace
185
186#endif // _IFC2X_FINAL_IFCRELUSESRESOURCE_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
void setConverterMultiplierOrDivider(IfcMultiplierOrDivider ConverterMultiplierOrDivider)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual OdDAI::Entity * getInstanceType() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
void setWasteFactor(double WasteFactor)
IfcMultiplierOrDivider getConverterMultiplierOrDivider() const
void getResourceUseCosts(OdDAIObjectIds &ResourceUseCosts) const
virtual void unsetAttr(const char *explicitAttrName)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setQuantity(const OdDAIObjectId &Quantity)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual OdIfc::OdIfcEntityType type() const
virtual bool testAttr(const char *explicitAttrName) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
const OdDAIObjectId & getProductivityConversionRate() const
virtual OdRxValue getAttr(const char *attrName) const
void setProductivityConversionRate(const OdDAIObjectId &ProductivityConversionRate)
const OdDAIObjectId & getQuantity() const
void setDuration(double Duration)
OdDAI::OdDAIObjectIdSet & resourceUseCosts()
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
OdSmartPtr< IfcRelUsesResource > IfcRelUsesResourcePtr