CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Ifc4x3/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 _IFC4X3_ADD2_IFCCONTEXT_AUTO_IMPL_H
27#define _IFC4X3_ADD2_IFCCONTEXT_AUTO_IMPL_H
28
31
36namespace OdIfc4x3_add2 {
37
48{
49 //DOM-IGNORE-BEGIN
50 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x3_add2::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
238 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override;
239
244 virtual void unsetAttr(const char * explicitAttrName) override;
245
252 virtual bool testAttr(const char * explicitAttrName) const override;
253
261 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
262
269 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
270
276 virtual OdIfc::OdIfcEntityType type() const override;
277
284 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
285
290 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
291
298 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
299
307 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
308
309protected:
310 // Fields declaration:
311 OdAnsiString m_ObjectType; // IfcLabel [optional]
312 OdAnsiString m_LongName; // IfcLabel [optional]
313 OdAnsiString m_Phase; // IfcLabel [optional]
314 OdDAI::SetOfOdDAIObjectId m_RepresentationContexts; // SET [1:?] of IfcRepresentationContext [optional]
315
316 OdDAIObjectId m_UnitsInContext; // IfcUnitAssignment [optional]
317
318 // Declare friend classes for inverse attributes functionality:
320 friend class IfcRelDeclares;
321};
322
327
328} // namespace
329
330#endif // _IFC4X3_ADD2_IFCCONTEXT_AUTO_IMPL_H
#define IFC4X3_EXPORT
OdResult
Definition OdResult.h:29
virtual OdDAI::Entity * getInstanceType() const override
void setObjectType(const OdAnsiString &ObjectType)
OdDAI::SetOfOdDAIObjectId m_RepresentationContexts
virtual bool testAttr(const char *explicitAttrName) const override
const OdAnsiString & getLongName() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
void setUnitsInContext(const OdDAIObjectId &UnitsInContext)
void setLongName(const OdAnsiString &LongName)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
const OdDAIObjectId & getUnitsInContext() const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
void getInvIsDefinedBy(OdDAIObjectIds &IsDefinedBy) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
const OdAnsiString & getPhase() const
virtual void unsetAttr(const char *explicitAttrName) override
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
virtual OdIfc::OdIfcEntityType type() const override
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
void getRepresentationContexts(OdDAIObjectIds &RepresentationContexts) const
virtual OdRxValue getAttr(const char *attrName) const override
OdDAI::SetOfOdDAIObjectId & representationContexts()
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override
void getInvDeclares(OdDAIObjectIds &Declares) const
void setPhase(const OdAnsiString &Phase)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
const OdAnsiString & getObjectType() const
OdSmartPtr< IfcContext > IfcContextPtr
Ordering
Definition RxObject.h:295