CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x2/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 _IFC4X2_IFCCONTEXT_AUTO_IMPL_H
27#define _IFC4X2_IFCCONTEXT_AUTO_IMPL_H
28
31
36namespace OdIfc4x2 {
37
39{
40 //DOM-IGNORE-BEGIN
41 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x2::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
103 virtual void unsetAttr(const char * explicitAttrName);
104
111 virtual bool testAttr(const char * explicitAttrName) const;
112
120 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
121
128 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
129
136
143 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
144
149 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
150
157 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
158
166 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
167
168protected:
169 // Fields declaration:
170 OdAnsiString m_ObjectType; // IfcLabel [optional]
171 OdAnsiString m_LongName; // IfcLabel [optional]
172 OdAnsiString m_Phase; // IfcLabel [optional]
173 OdDAI::OdDAIObjectIdSet m_RepresentationContexts; // SET [1:?] of IfcRepresentationContext [optional]
174
175 OdDAIObjectId m_UnitsInContext; // IfcUnitAssignment [optional]
176
177 // Declare friend classes for inverse attributes functionality:
179 friend class IfcRelDeclares;
180};
181
186
187} // namespace
188
189#endif // _IFC4X2_IFCCONTEXT_AUTO_IMPL_H
#define IFC4X2_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
void setUnitsInContext(const OdDAIObjectId &UnitsInContext)
void getInvDeclares(OdDAIObjectIds &Declares) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual void unsetAttr(const char *explicitAttrName)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
OdDAI::OdDAIObjectIdSet & representationContexts()
void getInvIsDefinedBy(OdDAIObjectIds &IsDefinedBy) const
const OdAnsiString & getLongName() const
virtual OdIfc::OdIfcEntityType type() const
const OdDAIObjectId & getUnitsInContext() const
void setPhase(const OdAnsiString &Phase)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual bool testAttr(const char *explicitAttrName) const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
const OdAnsiString & getObjectType() const
virtual OdRxValue getAttr(const char *attrName) const
const OdAnsiString & getPhase() const
virtual OdDAI::Entity * getInstanceType() const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
void getRepresentationContexts(OdDAIObjectIds &RepresentationContexts) const
OdDAI::OdDAIObjectIdSet m_RepresentationContexts
void setObjectType(const OdAnsiString &ObjectType)
void setLongName(const OdAnsiString &LongName)
OdSmartPtr< IfcContext > IfcContextPtr