CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4/IfcContextAutoImpl.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_IFCCONTEXT_AUTO_IMPL_H
27#define _IFC4_IFCCONTEXT_AUTO_IMPL_H
28
31
36namespace OdIfc4 {
37
39{
40 //DOM-IGNORE-BEGIN
41 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4::IfcContext);
42 //DOM-IGNORE-END
43
44public:
45
46
47 //
48 // OdDAI early binding accessors
49 //
50
51 const OdAnsiString& getObjectType() const;
52 void setObjectType(const OdAnsiString& ObjectType);
53 const OdAnsiString& getLongName() const;
54 void setLongName(const OdAnsiString& LongName);
55 const OdAnsiString& getPhase() const;
56 void setPhase(const OdAnsiString& Phase);
57 void getRepresentationContexts(OdDAIObjectIds& RepresentationContexts) const;
58 OdDAI::OdDAIObjectIdSet& representationContexts();
59 const OdDAIObjectId& getUnitsInContext() const;
60 void setUnitsInContext(const OdDAIObjectId& UnitsInContext);
61 void getInvIsDefinedBy(OdDAIObjectIds& IsDefinedBy) const;
62 void getInvDeclares(OdDAIObjectIds& Declares) const;
63
64
65public:
67
74 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
75
82 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
83
89 virtual OdDAI::Entity* getInstanceType() const;
90
97 virtual OdRxValue getAttr(const char * attrName) const;
98
116 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const;
117
122 virtual void unsetAttr(const char * explicitAttrName);
123
130 virtual bool testAttr(const char * explicitAttrName) const;
131
139 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
140
147 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
148
155
162 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
163
168 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
169
176 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
177
185 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
186
187protected:
188 // Fields declaration:
189 OdAnsiString m_ObjectType; // IfcLabel [optional]
190 OdAnsiString m_LongName; // IfcLabel [optional]
191 OdAnsiString m_Phase; // IfcLabel [optional]
192 OdDAI::OdDAIObjectIdSet m_RepresentationContexts; // SET [1:?] of IfcRepresentationContext [optional]
193
194 OdDAIObjectId m_UnitsInContext; // IfcUnitAssignment [optional]
195
196 // Declare friend classes for inverse attributes functionality:
198 friend class IfcRelDeclares;
199};
200
205
206} // namespace
207
208#endif // _IFC4_IFCCONTEXT_AUTO_IMPL_H
#define IFC4_EXPORT
OdResult
Definition: OdResult.h:29
void getInvIsDefinedBy(OdDAIObjectIds &IsDefinedBy) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
const OdAnsiString & getLongName() const
virtual bool testAttr(const char *explicitAttrName) const
void setUnitsInContext(const OdDAIObjectId &UnitsInContext)
void getRepresentationContexts(OdDAIObjectIds &RepresentationContexts) const
void getInvDeclares(OdDAIObjectIds &Declares) const
void setLongName(const OdAnsiString &LongName)
const OdDAIObjectId & getUnitsInContext() const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual OdDAI::Entity * getInstanceType() const
const OdAnsiString & getPhase() const
virtual void unsetAttr(const char *explicitAttrName)
virtual OdIfc::OdIfcEntityType type() const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
void setPhase(const OdAnsiString &Phase)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
void setObjectType(const OdAnsiString &ObjectType)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdDAI::OdDAIObjectIdSet & representationContexts()
virtual OdRxValue getAttr(const char *attrName) const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
const OdAnsiString & getObjectType() const
OdDAI::OdDAIObjectIdSet m_RepresentationContexts
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const
OdSmartPtr< IfcContext > IfcContextPtr
Ordering
Definition: RxObject.h:295