CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Ifc4x2/IfcRootAutoImpl.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 _IFC4X2_IFCROOT_AUTO_IMPL_H
27#define _IFC4X2_IFCROOT_AUTO_IMPL_H
28
29#include "Ifc4x2BaseClass.h"
30
31#include "Ifc4x2Enum.h"
32#include "Ifc4x2SelectTypes.h"
35
40namespace OdIfc4x2 {
41
57{
58 //DOM-IGNORE-BEGIN
59 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x2::IfcRoot);
60 //DOM-IGNORE-END
61
62public:
63
64
65 //
66 // OdDAI early binding accessors
67 //
68
69
75 OdDAI::CompressedGUID getGlobalId() const;
76
81 void setGlobalId(OdDAI::CompressedGUID GlobalId);
82
88 const OdDAIObjectId& getOwnerHistory() const;
89
94 void setOwnerHistory(const OdDAIObjectId& OwnerHistory);
95
101 const OdAnsiString& getName() const;
102
107 void setName(const OdAnsiString& Name);
108
114 const OdAnsiString& getDescription() const;
115
120 void setDescription(const OdAnsiString& Description);
121
122
123public:
124
129
136 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
137
144 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
145
151 virtual OdDAI::Entity* getInstanceType() const override;
152
159 virtual OdRxValue getAttr(const char * attrName) const override;
160
165 virtual void unsetAttr(const char * explicitAttrName) override;
166
173 virtual bool testAttr(const char * explicitAttrName) const override;
174
182 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
183
190 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
191
197 virtual OdIfc::OdIfcEntityType type() const override;
198
205 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
206
211 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
212
219 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
220
228 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
229
230protected:
231 // Fields declaration:
232 OdDAI::CompressedGUID m_GlobalId; // IfcGloballyUniqueId
233 OdDAIObjectId m_OwnerHistory; // IfcOwnerHistory [optional]
234 OdAnsiString m_Name; // IfcLabel [optional]
235 OdAnsiString m_Description; // IfcText [optional]
236};
237
242
243} // namespace
244
245#endif // _IFC4X2_IFCROOT_AUTO_IMPL_H
#define IFC4X2_EXPORT
OdResult
Definition OdResult.h:29
void setName(const OdAnsiString &Name)
OdDAI::CompressedGUID m_GlobalId
virtual OdDAI::Entity * getInstanceType() const override
const OdAnsiString & getDescription() const
virtual bool testAttr(const char *explicitAttrName) const override
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
virtual OdRxValue getAttr(const char *attrName) const override
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
const OdDAIObjectId & getOwnerHistory() const
virtual void unsetAttr(const char *explicitAttrName) override
void setOwnerHistory(const OdDAIObjectId &OwnerHistory)
void setGlobalId(OdDAI::CompressedGUID GlobalId)
OdDAI::CompressedGUID getGlobalId() const
void setDescription(const OdAnsiString &Description)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
virtual OdIfc::OdIfcEntityType type() const override
const OdAnsiString & getName() const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
OdSmartPtr< IfcRoot > IfcRootPtr