CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4/IfcResourceAutoImpl.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_IFCRESOURCE_AUTO_IMPL_H
27#define _IFC4_IFCRESOURCE_AUTO_IMPL_H
28
29#include "IfcObjectAutoImpl.h"
30
35namespace OdIfc4 {
36
38{
39 //DOM-IGNORE-BEGIN
40 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4::IfcResource);
41 //DOM-IGNORE-END
42
43public:
44
45
46 //
47 // OdDAI early binding accessors
48 //
49
50 const OdAnsiString& getIdentification() const;
51 void setIdentification(const OdAnsiString& Identification);
52 const OdAnsiString& getLongDescription() const;
53 void setLongDescription(const OdAnsiString& LongDescription);
54 void getInvResourceOf(OdDAIObjectIds& ResourceOf) const;
55
56
57public:
59
66 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
67
74 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
75
81 virtual OdDAI::Entity* getInstanceType() const;
82
89 virtual OdRxValue getAttr(const char * attrName) const;
90
108 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const;
109
114 virtual void unsetAttr(const char * explicitAttrName);
115
122 virtual bool testAttr(const char * explicitAttrName) const;
123
131 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
132
139 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
140
147
154 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
155
160 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
161
168 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
169
177 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
178
179protected:
180 // Fields declaration:
181 OdAnsiString m_Identification; // IfcIdentifier [optional]
182 OdAnsiString m_LongDescription; // IfcText [optional]
183
184 // Declare friend classes for inverse attributes functionality:
186};
187
192
193} // namespace
194
195#endif // _IFC4_IFCRESOURCE_AUTO_IMPL_H
#define IFC4_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdDAI::Entity * getInstanceType() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
void setIdentification(const OdAnsiString &Identification)
void getInvResourceOf(OdDAIObjectIds &ResourceOf) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual OdRxValue getAttr(const char *attrName) const
void setLongDescription(const OdAnsiString &LongDescription)
virtual void unsetAttr(const char *explicitAttrName)
virtual OdIfc::OdIfcEntityType type() const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
const OdAnsiString & getLongDescription() const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual bool testAttr(const char *explicitAttrName) const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
const OdAnsiString & getIdentification() const
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const
OdSmartPtr< IfcResource > IfcResourcePtr
Ordering
Definition: RxObject.h:295