CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcRelAggregatesResourcesAutoImpl.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_IFCRELAGGREGATESRESOURCES_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCRELAGGREGATESRESOURCES_AUTO_IMPL_H
28
32
37namespace OdIfc2x_final {
38
45{
46 //DOM-IGNORE-BEGIN
47 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcRelAggregatesResources);
48 //DOM-IGNORE-END
49
50public:
51
52
53 //
54 // OdDAI early binding accessors
55 //
56
57
64 const OdDAIObjectId& getRequiredQuantity() const;
65
71 void setRequiredQuantity(const OdDAIObjectId& RequiredQuantity);
72
79 const OdDAIObjectId& getConversionRate() const;
80
86 void setConversionRate(const OdDAIObjectId& ConversionRate);
87
88
89public:
90
97 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
98
105 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
106
112 virtual OdDAI::Entity* getInstanceType() const override;
113
120 virtual OdRxValue getAttr(const char * attrName) const override;
121
126 virtual void unsetAttr(const char * explicitAttrName) override;
127
134 virtual bool testAttr(const char * explicitAttrName) const override;
135
143 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
144
151 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
152
158 virtual OdIfc::OdIfcEntityType type() const override;
159
166 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
167
172 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
173
180 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
181
189 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
190
191protected:
192 // Fields declaration:
193 OdDAIObjectId m_RequiredQuantity; // IfcPhysicalQuantity
194 OdDAIObjectId m_ConversionRate; // IfcMeasureWithUnit [optional]
195};
196
201
202} // namespace
203
204#endif // _IFC2X_FINAL_IFCRELAGGREGATESRESOURCES_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition OdResult.h:29
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
const OdDAIObjectId & getConversionRate() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
virtual OdDAI::Entity * getInstanceType() const override
virtual bool testAttr(const char *explicitAttrName) const override
void setConversionRate(const OdDAIObjectId &ConversionRate)
virtual void unsetAttr(const char *explicitAttrName) override
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
virtual OdRxValue getAttr(const char *attrName) const override
virtual OdIfc::OdIfcEntityType type() const override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
const OdDAIObjectId & getRequiredQuantity() const
void setRequiredQuantity(const OdDAIObjectId &RequiredQuantity)
OdSmartPtr< IfcRelAggregatesResources > IfcRelAggregatesResourcesPtr