CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x1/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 _IFC4X1_IFCCONTEXT_AUTO_IMPL_H
27#define _IFC4X1_IFCCONTEXT_AUTO_IMPL_H
28
31
36namespace OdIfc4x1 {
37
39{
40 //DOM-IGNORE-BEGIN
41 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x1::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 // _IFC4X1_IFCCONTEXT_AUTO_IMPL_H
#define IFC4X1_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdRxValue getAttr(const char *attrName) const
void setObjectType(const OdAnsiString &ObjectType)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void getInvDeclares(OdDAIObjectIds &Declares) const
void setLongName(const OdAnsiString &LongName)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual void unsetAttr(const char *explicitAttrName)
virtual OdDAI::Entity * getInstanceType() const
OdDAI::OdDAIObjectIdSet m_RepresentationContexts
virtual bool testAttr(const char *explicitAttrName) const
const OdDAIObjectId & getUnitsInContext() const
OdDAI::OdDAIObjectIdSet & representationContexts()
void setPhase(const OdAnsiString &Phase)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
void getRepresentationContexts(OdDAIObjectIds &RepresentationContexts) const
const OdAnsiString & getLongName() const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
const OdAnsiString & getPhase() const
void getInvIsDefinedBy(OdDAIObjectIds &IsDefinedBy) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
void setUnitsInContext(const OdDAIObjectId &UnitsInContext)
const OdAnsiString & getObjectType() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual OdIfc::OdIfcEntityType type() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdSmartPtr< IfcContext > IfcContextPtr