CFx SDK Documentation  2020SP3
Ifc4x2/IfcRootAutoImpl.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 _IFCROOT_AUTO_IMPL_4x2_H
27 #define _IFCROOT_AUTO_IMPL_4x2_H
28 
29 #include "IfcPubCommon.h"
30 #include "Ifc4x2Enum.h"
31 #include "Ifc4x2SelectTypes.h"
32 #include "IfcCollectionTypes.h"
33 
38 namespace OdIfc4x2 {
39 
41 {
42  //DOM-IGNORE-BEGIN
44  //DOM-IGNORE-END
45 
46 public:
47 
48 
49  //
50  // OdDAI early binding accessors
51  //
53  void setGlobalId(OdIfcGUID GlobalId);
55  void setOwnerHistory(OdDAIObjectId OwnerHistory);
56  OdAnsiString getName() const;
57  void setName(OdAnsiString Name);
58  OdAnsiString getDescription() const;
59  void setDescription(OdAnsiString Description);
60 
62  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
63  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
64  virtual bool isKindOf(OdIfcEntityType entityType) const;
65  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
66  virtual OdDAI::Entity* getInstanceType() const;
67  virtual OdIfcEntityType type() const;
68  virtual OdAnsiString typeName() const;
69  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
70  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
71  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
72  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
73  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
74  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
75  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
76  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
77 
78 protected:
79  // Fields declaration:
81  OdDAIObjectId m_OwnerHistory; // IfcOwnerHistory // optional
82  OdAnsiString m_Name; // optional
83  OdAnsiString m_Description; // optional
84 };
85 
86 } // namespace
87 
88 #endif // _IFCROOT_AUTO_IMPL_4x2_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc4x2::OdIfcRootAuto::setDescription
void setDescription(OdAnsiString Description)
OdIfc::OdIfcGUID
Definition: IfcGUID.h:40
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4x2::OdIfcRootAuto::getOwnerHistory
OdDAIObjectId getOwnerHistory() const
Ifc4x2SelectTypes.h
OdIfc4x2::OdIfcRootAuto::getName
OdAnsiString getName() const
OdIfc4x2::OdIfcRootAuto::m_Name
OdAnsiString m_Name
Definition: Ifc4x2/IfcRootAutoImpl.h:82
OdDAIObjectId
Definition: daiObjectId.h:67
OdIfc4x2::OdIfcRootAuto::type
virtual OdIfcEntityType type() const
OdIfc4x2::OdIfcRootAuto::m_Description
OdAnsiString m_Description
Definition: Ifc4x2/IfcRootAutoImpl.h:83
OdIfc4x2::OdIfcRootAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4x2
Definition: Ifc4x2CollectionTypes.h:33
IfcPubCommon.h
OdIfc4x2::OdIfcRootAuto
Definition: Ifc4x2/IfcRootAutoImpl.h:41
OdIfc4x2::OdIfcRootAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
IFC4X2_EXPORT
#define IFC4X2_EXPORT
Definition: IfcBuildOptions.h:52
IfcCollectionTypes.h
OdIfc4x2::OdIfcRootAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc4x2::OdIfcRootAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4x2::OdIfcRootAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcRootAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdRxValue
Definition: RxValue.h:64
OdIfc4x2::OdIfcRootAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4x2::OdIfcRootAuto::OdIfcRootAuto
OdIfcRootAuto()
OdIfc4x2::OdIfcRootAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
OdIfc4x2::OdIfcRootAuto::setOwnerHistory
void setOwnerHistory(OdDAIObjectId OwnerHistory)
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc::OdIfcEntity
Definition: IfcEntity.h:84
Ifc4x2Enum.h
OdIfc4x2::OdIfcRootAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4x2::OdIfcRootAuto::getGlobalId
OdIfcGUID getGlobalId() const
OdIfc4x2::OdIfcRootAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4x2::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4x2EntityTypes.h:34
OdIfc4x2::OdIfcRootAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4x2::OdIfcRootAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4x2::OdIfcRootAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4x2::OdIfcRootAuto::m_GlobalId
OdIfcGUID m_GlobalId
Definition: Ifc4x2/IfcRootAutoImpl.h:80
OdIfc4x2::OdIfcRootAuto::setName
void setName(OdAnsiString Name)
OdIfc4x2::OdIfcRootAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4x2::OdIfcRootAuto::getDescription
OdAnsiString getDescription() const
OdIfc4x2::OdIfcRootAuto::m_OwnerHistory
OdDAIObjectId m_OwnerHistory
Definition: Ifc4x2/IfcRootAutoImpl.h:81
OdIfc4x2::OdIfcRootAuto::setGlobalId
void setGlobalId(OdIfcGUID GlobalId)