CFx SDK Documentation  2020SP3
2/IfcContextAutoImpl.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2019, 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-2019 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 _IFCCONTEXT_AUTO_IMPL_4x2_H
27 #define _IFCCONTEXT_AUTO_IMPL_4x2_H
28 
30 
35 namespace OdIfc4x2 {
36 
38 {
39  //DOM-IGNORE-BEGIN
41  //DOM-IGNORE-END
42 
43 public:
44 
45 
46  //
47  // OdDAI early binding accessors
48  //
49  OdAnsiString getObjectType() const;
50  void setObjectType(OdAnsiString ObjectType);
51  OdAnsiString getLongName() const;
52  void setLongName(OdAnsiString LongName);
53  OdAnsiString getPhase() const;
54  void setPhase(OdAnsiString Phase);
58  void setUnitsInContext(OdDAIObjectId UnitsInContext);
59  void getInvIsDefinedByAggr(OdDAIObjectIds &aggregate) const;
60  void getInvDeclaresAggr(OdDAIObjectIds &aggregate) const;
61 
63  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
64  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
65  virtual bool isKindOf(OdIfcEntityType entityType) const;
66  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
67  virtual OdDAI::Entity* getInstanceType() const;
68  virtual OdIfcEntityType type() const;
69  virtual OdAnsiString typeName() const;
70  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
71  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
72  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
73  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
74  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
75  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
76  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
77  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
78 
79 protected:
80  // Fields declaration:
81  OdAnsiString m_ObjectType; // optional
82  OdAnsiString m_LongName; // optional
83  OdAnsiString m_Phase; // optional
84  OdDAIObjectIds m_RepresentationContexts; // SET [1:?] OF IfcRepresentationContext // optional
85  OdDAIObjectId m_UnitsInContext; // IfcUnitAssignment // optional
86  OdDAIObjectIds m_IsDefinedBy_inv; // IfcRelDefinesByProperties
87  OdDAIObjectIds m_Declares_inv; // IfcRelDeclares
88 
89  // Declare friend classes for inverse attributes functionality:
91  friend class OdIfcRelDeclaresAuto;
92 };
93 
94 } // namespace
95 
96 #endif // _IFCCONTEXT_AUTO_IMPL_4x2_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc4x2::OdIfcContextAuto::m_Declares_inv
OdDAIObjectIds m_Declares_inv
Definition: 2/IfcContextAutoImpl.h:87
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4x2::OdIfcContextAuto
Definition: 2/IfcContextAutoImpl.h:38
OdIfc4x2::OdIfcContextAuto::setRepresentationContextsAggr
void setRepresentationContextsAggr(const OdDAIObjectIds &aggregate)
OdIfc4x2::OdIfcContextAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdDAIObjectId
Definition: daiObjectId.h:67
OdIfc4x2
Definition: Ifc4x2CollectionTypes.h:33
OdIfc4x2::OdIfcContextAuto::getObjectType
OdAnsiString getObjectType() const
OdIfc4x2::OdIfcRelDefinesByPropertiesAuto
Definition: Ifc4x2/IfcRelDefinesByPropertiesAutoImpl.h:38
OdIfc4x2::OdIfcContextAuto::setPhase
void setPhase(OdAnsiString Phase)
OdIfc4x2::OdIfcContextAuto::m_UnitsInContext
OdDAIObjectId m_UnitsInContext
Definition: 2/IfcContextAutoImpl.h:85
OdIfc4x2::OdIfcContextAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4x2::OdIfcContextAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
IFC4X2_EXPORT
#define IFC4X2_EXPORT
Definition: IfcBuildOptions.h:52
OdIfc4x2::OdIfcContextAuto::getPhase
OdAnsiString getPhase() const
IfcObjectDefinitionAutoImpl.h
OdArray< OdDAIObjectId >
OdIfc4x2::OdIfcContextAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
OdIfc4x2::OdIfcContextAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcObjectDefinitionAuto
Definition: Ifc4x2/IfcObjectDefinitionAutoImpl.h:38
OdIfc4x2::OdIfcContextAuto::OdIfcContextAuto
OdIfcContextAuto()
OdIfc4x2::OdIfcContextAuto::getRepresentationContextsAggr
void getRepresentationContextsAggr(OdDAIObjectIds &aggregate) const
OdIfc4x2::OdIfcContextAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdRxValue
Definition: RxValue.h:64
OdIfc4x2::OdIfcContextAuto::setObjectType
void setObjectType(OdAnsiString ObjectType)
OdIfc4x2::OdIfcContextAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4x2::OdIfcContextAuto::getUnitsInContext
OdDAIObjectId getUnitsInContext() const
OdIfc4x2::OdIfcContextAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4x2::OdIfcContextAuto::m_LongName
OdAnsiString m_LongName
Definition: 2/IfcContextAutoImpl.h:82
OdIfc4x2::OdIfcContextAuto::getInvIsDefinedByAggr
void getInvIsDefinedByAggr(OdDAIObjectIds &aggregate) const
OdIfc4x2::OdIfcContextAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4x2::OdIfcContextAuto::m_IsDefinedBy_inv
OdDAIObjectIds m_IsDefinedBy_inv
Definition: 2/IfcContextAutoImpl.h:86
OdIfc4x2::OdIfcContextAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4x2::OdIfcContextAuto::setLongName
void setLongName(OdAnsiString LongName)
OdIfc4x2::OdIfcContextAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdIfc4x2::OdIfcContextAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4x2::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4x2EntityTypes.h:34
OdIfc4x2::OdIfcContextAuto::m_RepresentationContexts
OdDAIObjectIds m_RepresentationContexts
Definition: 2/IfcContextAutoImpl.h:84
OdIfc4x2::OdIfcContextAuto::m_ObjectType
OdAnsiString m_ObjectType
Definition: 2/IfcContextAutoImpl.h:81
OdIfc4x2::OdIfcContextAuto::type
virtual OdIfcEntityType type() const
OdIfc4x2::OdIfcContextAuto::getInvDeclaresAggr
void getInvDeclaresAggr(OdDAIObjectIds &aggregate) const
OdIfc4x2::OdIfcContextAuto::m_Phase
OdAnsiString m_Phase
Definition: 2/IfcContextAutoImpl.h:83
OdIfc4x2::OdIfcContextAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4x2::OdIfcContextAuto::setUnitsInContext
void setUnitsInContext(OdDAIObjectId UnitsInContext)
OdIfc4x2::OdIfcContextAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcContextAuto::getLongName
OdAnsiString getLongName() const
OdIfc4x2::OdIfcRelDeclaresAuto
Definition: 2/IfcRelDeclaresAutoImpl.h:38