CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Ifc4x2/IfcContextAutoImpl.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_IFCCONTEXT_AUTO_IMPL_H
27#define _IFC4X2_IFCCONTEXT_AUTO_IMPL_H
28
31
36namespace OdIfc4x2 {
37
48{
49 //DOM-IGNORE-BEGIN
50 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x2::IfcContext);
51 //DOM-IGNORE-END
52
53public:
54
55
56 //
57 // OdDAI early binding accessors
58 //
59
60
71 const OdAnsiString& getObjectType() const;
72
82 void setObjectType(const OdAnsiString& ObjectType);
83
90 const OdAnsiString& getLongName() const;
91
97 void setLongName(const OdAnsiString& LongName);
98
106 const OdAnsiString& getPhase() const;
107
114 void setPhase(const OdAnsiString& Phase);
115
126 void getRepresentationContexts(OdDAIObjectIds& RepresentationContexts) const;
127
139 OdDAI::SetOfOdDAIObjectId& representationContexts();
140
150 const OdDAIObjectId& getUnitsInContext() const;
151
160 void setUnitsInContext(const OdDAIObjectId& UnitsInContext);
161
170 void getInvIsDefinedBy(OdDAIObjectIds& IsDefinedBy) const;
171
180 void getInvDeclares(OdDAIObjectIds& Declares) const;
181
182
183public:
184
189
196 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
197
204 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
205
211 virtual OdDAI::Entity* getInstanceType() const override;
212
219 virtual OdRxValue getAttr(const char * attrName) const override;
220
225 virtual void unsetAttr(const char * explicitAttrName) override;
226
233 virtual bool testAttr(const char * explicitAttrName) const override;
234
242 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
243
250 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
251
257 virtual OdIfc::OdIfcEntityType type() const override;
258
265 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
266
271 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
272
279 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
280
288 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
289
290protected:
291 // Fields declaration:
292 OdAnsiString m_ObjectType; // IfcLabel [optional]
293 OdAnsiString m_LongName; // IfcLabel [optional]
294 OdAnsiString m_Phase; // IfcLabel [optional]
295 OdDAI::SetOfOdDAIObjectId m_RepresentationContexts; // SET [1:?] of IfcRepresentationContext [optional]
296
297 OdDAIObjectId m_UnitsInContext; // IfcUnitAssignment [optional]
298
299 // Declare friend classes for inverse attributes functionality:
301 friend class IfcRelDeclares;
302};
303
308
309} // namespace
310
311#endif // _IFC4X2_IFCCONTEXT_AUTO_IMPL_H
#define IFC4X2_EXPORT
OdResult
Definition OdResult.h:29
void setUnitsInContext(const OdDAIObjectId &UnitsInContext)
void getInvDeclares(OdDAIObjectIds &Declares) const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
void getInvIsDefinedBy(OdDAIObjectIds &IsDefinedBy) const
const OdAnsiString & getLongName() const
OdDAI::SetOfOdDAIObjectId & representationContexts()
virtual OdRxValue getAttr(const char *attrName) const override
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
const OdDAIObjectId & getUnitsInContext() const
void setPhase(const OdAnsiString &Phase)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
virtual bool testAttr(const char *explicitAttrName) const override
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
virtual void unsetAttr(const char *explicitAttrName) override
const OdAnsiString & getObjectType() const
const OdAnsiString & getPhase() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
virtual OdIfc::OdIfcEntityType type() const override
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
void getRepresentationContexts(OdDAIObjectIds &RepresentationContexts) const
void setObjectType(const OdAnsiString &ObjectType)
void setLongName(const OdAnsiString &LongName)
OdDAI::SetOfOdDAIObjectId m_RepresentationContexts
virtual OdDAI::Entity * getInstanceType() const override
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
OdSmartPtr< IfcContext > IfcContextPtr