CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4/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 _IFC4_IFCROOT_AUTO_IMPL_H
27#define _IFC4_IFCROOT_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc4Enum.h"
32#include "Ifc4SelectTypes.h"
33#include "Ifc4CollectionTypes.h"
34#include "Ifc4BuildOption.h"
36
41namespace OdIfc4 {
42
53{
54 //DOM-IGNORE-BEGIN
55 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4::IfcRoot);
56 //DOM-IGNORE-END
57
58public:
59
60
61 //
62 // OdDAI early binding accessors
63 //
64
65
72
77 void setGlobalId(OdIfcGUID GlobalId);
78
84 const OdDAIObjectId& getOwnerHistory() const;
85
90 void setOwnerHistory(const OdDAIObjectId& OwnerHistory);
91
97 const OdAnsiString& getName() const;
98
103 void setName(const OdAnsiString& Name);
104
110 const OdAnsiString& getDescription() const;
111
116 void setDescription(const OdAnsiString& Description);
117
118
119public:
120
125
132 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
133
140 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
141
147 virtual OdDAI::Entity* getInstanceType() const;
148
155 virtual OdRxValue getAttr(const char * attrName) const;
156
174 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const;
175
180 virtual void unsetAttr(const char * explicitAttrName);
181
188 virtual bool testAttr(const char * explicitAttrName) const;
189
197 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
198
205 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
206
213
220 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
221
226 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
227
234 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
235
243 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
244
245protected:
246 // Fields declaration:
247 OdIfcGUID m_GlobalId; // IfcGloballyUniqueId
248 OdDAIObjectId m_OwnerHistory; // IfcOwnerHistory [optional]
249 OdAnsiString m_Name; // IfcLabel [optional]
250 OdAnsiString m_Description; // IfcText [optional]
251};
252
257
258} // namespace
259
260#endif // _IFC4_IFCROOT_AUTO_IMPL_H
#define IFC4_EXPORT
OdResult
Definition: OdResult.h:29
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual OdRxValue getAttr(const char *attrName) const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
void setDescription(const OdAnsiString &Description)
virtual bool testAttr(const char *explicitAttrName) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
const OdDAIObjectId & getOwnerHistory() const
virtual OdDAI::Entity * getInstanceType() const
virtual void unsetAttr(const char *explicitAttrName)
const OdAnsiString & getName() const
OdIfcGUID getGlobalId() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setName(const OdAnsiString &Name)
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const
virtual OdIfc::OdIfcEntityType type() const
const OdAnsiString & getDescription() const
void setOwnerHistory(const OdDAIObjectId &OwnerHistory)
OdDAIObjectId m_OwnerHistory
OdAnsiString m_Description
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
void setGlobalId(OdIfcGUID GlobalId)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdSmartPtr< IfcRoot > IfcRootPtr
Ordering
Definition: RxObject.h:295