CFx SDK Documentation  2020SP3
Ifc4x2/IfcBuildingAutoImpl.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 _IFCBUILDING_AUTO_IMPL_4x2_H
27 #define _IFCBUILDING_AUTO_IMPL_4x2_H
28 
29 #include "IfcFacilityAutoImpl.h"
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  double getElevationOfRefHeight() const;
50  void setElevationOfRefHeight(double ElevationOfRefHeight);
51  double getElevationOfTerrain() const;
52  void setElevationOfTerrain(double ElevationOfTerrain);
54  void setBuildingAddress(OdDAIObjectId BuildingAddress);
55 
57  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
58  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
59  virtual bool isKindOf(OdIfcEntityType entityType) const;
60  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
61  virtual OdDAI::Entity* getInstanceType() const;
62  virtual OdIfcEntityType type() const;
63  virtual OdAnsiString typeName() const;
64  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
65  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
66  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
67  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
68  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
69  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
70  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
71  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
72 
73 protected:
74  // Fields declaration:
75  double m_ElevationOfRefHeight; // optional
76  double m_ElevationOfTerrain; // optional
77  OdDAIObjectId m_BuildingAddress; // IfcPostalAddress // optional
78 };
79 
80 } // namespace
81 
82 #endif // _IFCBUILDING_AUTO_IMPL_4x2_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4x2::OdIfcBuildingAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4x2::OdIfcBuildingAuto::getElevationOfTerrain
double getElevationOfTerrain() const
OdDAIObjectId
Definition: daiObjectId.h:67
OdIfc4x2::OdIfcBuildingAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4x2
Definition: Ifc4x2CollectionTypes.h:33
OdIfc4x2::OdIfcBuildingAuto::type
virtual OdIfcEntityType type() const
OdIfc4x2::OdIfcBuildingAuto::m_ElevationOfRefHeight
double m_ElevationOfRefHeight
Definition: Ifc4x2/IfcBuildingAutoImpl.h:75
IFC4X2_EXPORT
#define IFC4X2_EXPORT
Definition: IfcBuildOptions.h:52
OdIfc4x2::OdIfcBuildingAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4x2::OdIfcBuildingAuto::setElevationOfRefHeight
void setElevationOfRefHeight(double ElevationOfRefHeight)
OdRxValue
Definition: RxValue.h:64
OdIfc4x2::OdIfcBuildingAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdIfc4x2::OdIfcBuildingAuto::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::OdIfcBuildingAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4x2::OdIfcBuildingAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4x2::OdIfcBuildingAuto::OdIfcBuildingAuto
OdIfcBuildingAuto()
OdIfc4x2::OdIfcFacilityAuto
Definition: IfcFacilityAutoImpl.h:38
OdIfc4x2::OdIfcBuildingAuto::setBuildingAddress
void setBuildingAddress(OdDAIObjectId BuildingAddress)
OdIfc4x2::OdIfcBuildingAuto::m_BuildingAddress
OdDAIObjectId m_BuildingAddress
Definition: Ifc4x2/IfcBuildingAutoImpl.h:77
OdIfc4x2::OdIfcBuildingAuto::getElevationOfRefHeight
double getElevationOfRefHeight() const
OdIfc4x2::OdIfcBuildingAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
IfcFacilityAutoImpl.h
OdIfc4x2::OdIfcBuildingAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4x2::OdIfcBuildingAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4x2::OdIfcBuildingAuto
Definition: Ifc4x2/IfcBuildingAutoImpl.h:38
OdIfc4x2::OdIfcBuildingAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4x2EntityTypes.h:34
OdIfc4x2::OdIfcBuildingAuto::m_ElevationOfTerrain
double m_ElevationOfTerrain
Definition: Ifc4x2/IfcBuildingAutoImpl.h:76
OdIfc4x2::OdIfcBuildingAuto::setElevationOfTerrain
void setElevationOfTerrain(double ElevationOfTerrain)
OdIfc4x2::OdIfcBuildingAuto::getBuildingAddress
OdDAIObjectId getBuildingAddress() const
OdIfc4x2::OdIfcBuildingAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdIfc4x2::OdIfcBuildingAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4x2::OdIfcBuildingAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const