CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x1/IfcRootAutoImpl.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 _IFC4X1_IFCROOT_AUTO_IMPL_H
27#define _IFC4X1_IFCROOT_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc4x1Enum.h"
32#include "Ifc4x1SelectTypes.h"
34#include "Ifc4x1BuildOption.h"
36
41namespace OdIfc4x1 {
42
50{
51 //DOM-IGNORE-BEGIN
52 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x1::IfcRoot);
53 //DOM-IGNORE-END
54
55public:
56
57
58 //
59 // OdDAI early binding accessors
60 //
61
62
69
74 void setGlobalId(OdIfcGUID GlobalId);
75
81 const OdDAIObjectId& getOwnerHistory() const;
82
87 void setOwnerHistory(const OdDAIObjectId& OwnerHistory);
88
94 const OdAnsiString& getName() const;
95
100 void setName(const OdAnsiString& Name);
101
107 const OdAnsiString& getDescription() const;
108
113 void setDescription(const OdAnsiString& Description);
114
115
116public:
117
122
129 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
130
137 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
138
144 virtual OdDAI::Entity* getInstanceType() const;
145
152 virtual OdRxValue getAttr(const char * attrName) const;
153
158 virtual void unsetAttr(const char * explicitAttrName);
159
166 virtual bool testAttr(const char * explicitAttrName) const;
167
175 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
176
183 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
184
191
198 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
199
204 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
205
212 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
213
221 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
222
223protected:
224 // Fields declaration:
225 OdIfcGUID m_GlobalId; // IfcGloballyUniqueId
226 OdDAIObjectId m_OwnerHistory; // IfcOwnerHistory [optional]
227 OdAnsiString m_Name; // IfcLabel [optional]
228 OdAnsiString m_Description; // IfcText [optional]
229};
230
235
236} // namespace
237
238#endif // _IFC4X1_IFCROOT_AUTO_IMPL_H
#define IFC4X1_EXPORT
OdResult
Definition: OdResult.h:29
const OdAnsiString & getDescription() const
const OdAnsiString & getName() const
const OdDAIObjectId & getOwnerHistory() const
virtual bool testAttr(const char *explicitAttrName) const
virtual OdRxValue getAttr(const char *attrName) const
virtual OdDAI::Entity * getInstanceType() const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
void setName(const OdAnsiString &Name)
OdIfcGUID getGlobalId() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
void setDescription(const OdAnsiString &Description)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setOwnerHistory(const OdDAIObjectId &OwnerHistory)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual OdIfc::OdIfcEntityType type() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual void unsetAttr(const char *explicitAttrName)
void setGlobalId(OdIfcGUID GlobalId)
OdSmartPtr< IfcRoot > IfcRootPtr