CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc2x3/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 _IFC2X3_IFCROOT_AUTO_IMPL_H
27#define _IFC2X3_IFCROOT_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc2x3Enum.h"
32#include "Ifc2x3SelectTypes.h"
34#include "Ifc2x3BuildOption.h"
36
41namespace OdIfc2x3 {
42
50{
51 //DOM-IGNORE-BEGIN
52 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc2x3::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
171 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const;
172
177 virtual void unsetAttr(const char * explicitAttrName);
178
185 virtual bool testAttr(const char * explicitAttrName) const;
186
194 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
195
202 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
203
210
217 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
218
223 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
224
231 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
232
240 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
241
242protected:
243 // Fields declaration:
244 OdIfcGUID m_GlobalId; // IfcGloballyUniqueId
245 OdDAIObjectId m_OwnerHistory; // IfcOwnerHistory
246 OdAnsiString m_Name; // IfcLabel [optional]
247 OdAnsiString m_Description; // IfcText [optional]
248};
249
254
255} // namespace
256
257#endif // _IFC2X3_IFCROOT_AUTO_IMPL_H
#define IFC2X3_EXPORT
OdResult
Definition: OdResult.h:29
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual void unsetAttr(const char *explicitAttrName)
virtual OdDAI::Entity * getInstanceType() const
virtual OdIfc::OdIfcEntityType type() const
void setDescription(const OdAnsiString &Description)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
void setGlobalId(OdIfcGUID GlobalId)
const OdAnsiString & getName() const
virtual OdRxValue getAttr(const char *attrName) const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual bool testAttr(const char *explicitAttrName) const
const OdAnsiString & getDescription() const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
const OdDAIObjectId & getOwnerHistory() const
OdIfcGUID getGlobalId() const
void setName(const OdAnsiString &Name)
void setOwnerHistory(const OdDAIObjectId &OwnerHistory)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const
OdSmartPtr< IfcRoot > IfcRootPtr
Ordering
Definition: RxObject.h:295