CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcCostValueRelationshipAutoImpl.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_IFCCOSTVALUERELATIONSHIP_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCCOSTVALUERELATIONSHIP_AUTO_IMPL_H
28
30
31#include "Ifc2x_FinalEnum.h"
35
40namespace OdIfc2x_final {
41
46{
47 //DOM-IGNORE-BEGIN
48 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcCostValueRelationship);
49 //DOM-IGNORE-END
50
51public:
52
53
54 //
55 // OdDAI early binding accessors
56 //
57
58
65 const OdDAIObjectId& getComponentOf() const;
66
72 void setComponentOf(const OdDAIObjectId& ComponentOf);
73
80 void getCostComponents(OdDAIObjectIds& CostComponents) const;
81 OdDAI::SetOfOdDAIObjectId& costComponents();
82
89 const OdAnsiString& getDescription() const;
90
96 void setDescription(const OdAnsiString& Description);
97
98
99public:
100
105
112 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
113
120 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
121
127 virtual OdDAI::Entity* getInstanceType() const override;
128
135 virtual OdRxValue getAttr(const char * attrName) const override;
136
141 virtual void unsetAttr(const char * explicitAttrName) override;
142
149 virtual bool testAttr(const char * explicitAttrName) const override;
150
158 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
159
166 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
167
173 virtual OdIfc::OdIfcEntityType type() const override;
174
181 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
182
187 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
188
195 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
196
204 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
205
206protected:
207 // Fields declaration:
208 OdDAIObjectId m_ComponentOf; // IfcCostValue
209 OdDAI::SetOfOdDAIObjectId m_CostComponents; // SET [1:?] of IfcCostValue
210 OdAnsiString m_Description; // IfcText [optional]
211};
212
217
218} // namespace
219
220#endif // _IFC2X_FINAL_IFCCOSTVALUERELATIONSHIP_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition OdResult.h:29
void setDescription(const OdAnsiString &Description)
const OdDAIObjectId & getComponentOf() const
void getCostComponents(OdDAIObjectIds &CostComponents) const
virtual void unsetAttr(const char *explicitAttrName) override
const OdAnsiString & getDescription() const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
void setComponentOf(const OdDAIObjectId &ComponentOf)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
virtual bool testAttr(const char *explicitAttrName) const override
virtual OdIfc::OdIfcEntityType type() const override
virtual OdRxValue getAttr(const char *attrName) const override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
virtual OdDAI::Entity * getInstanceType() const override
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
OdDAI::SetOfOdDAIObjectId & costComponents()
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
OdSmartPtr< IfcCostValueRelationship > IfcCostValueRelationshipPtr