CFx SDK Documentation  2020SP3
Ifc4/IfcMetricAutoImpl.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 _IFCMETRIC_AUTO_IMPL_4_H
27 #define _IFCMETRIC_AUTO_IMPL_4_H
28 
29 #include "IfcConstraintAutoImpl.h"
30 
35 namespace OdIfc4 {
36 
38 {
39  //DOM-IGNORE-BEGIN
41  //DOM-IGNORE-END
42 
43 public:
44 
45 
46  //
47  // OdDAI early binding accessors
48  //
50  void setBenchmark(IfcBenchmarkEnum Benchmark);
51  OdAnsiString getValueSource() const;
52  void setValueSource(OdAnsiString ValueSource);
56  void setReferencePath(OdDAIObjectId ReferencePath);
57 
59  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
60  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
61  virtual bool isKindOf(OdIfcEntityType entityType) const;
62  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
63  virtual OdDAI::Entity* getInstanceType() const;
64  virtual OdIfcEntityType type() const;
65  virtual OdAnsiString typeName() const;
66  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
67  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
68  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
69  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
70  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
71  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
72  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
73  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
74 
75 protected:
76  // Fields declaration:
78  OdAnsiString m_ValueSource; // optional
80  OdDAIObjectId m_ReferencePath; // IfcReference // optional
81 };
82 
83 } // namespace
84 
85 #endif // _IFCMETRIC_AUTO_IMPL_4_H
OdIfc4::OdIfcMetricAuto::getValueSource
OdAnsiString getValueSource() const
OdResult
OdResult
Definition: OdResult.h:29
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4::OdIfcMetricAuto::setReferencePath
void setReferencePath(OdDAIObjectId ReferencePath)
OdIfc4::OdIfcMetricAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdDAIObjectId
Definition: daiObjectId.h:67
OdIfc4::OdIfcMetricAuto::m_ValueSource
OdAnsiString m_ValueSource
Definition: Ifc4/IfcMetricAutoImpl.h:78
OdIfc4::OdIfcMetricAuto::m_DataValue
IfcMetricValueSelect m_DataValue
Definition: Ifc4/IfcMetricAutoImpl.h:79
OdIfc4::OdIfcMetricAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4::OdIfcMetricAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdIfc4::OdIfcMetricAuto::getBenchmark
IfcBenchmarkEnum getBenchmark() const
OdIfc4::OdIfcMetricAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc4
Definition: Ifc4CollectionTypes.h:33
OdIfc4::OdIfcMetricAuto
Definition: Ifc4/IfcMetricAutoImpl.h:38
OdRxValue
Definition: RxValue.h:64
OdIfc4::OdIfcMetricAuto::setBenchmark
void setBenchmark(IfcBenchmarkEnum Benchmark)
OdIfc4::OdIfcMetricAuto::getReferencePath
OdDAIObjectId getReferencePath() const
OdIfc4::OdIfcMetricAuto::type
virtual OdIfcEntityType type() const
OdIfc4::OdIfcMetricAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4::OdIfcMetricAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc4::OdIfcMetricAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4::OdIfcMetricAuto::setValueSource
void setValueSource(OdAnsiString ValueSource)
OdIfc4::OdIfcMetricAuto::m_ReferencePath
OdDAIObjectId m_ReferencePath
Definition: Ifc4/IfcMetricAutoImpl.h:80
OdIfc4::OdIfcMetricAuto::m_Benchmark
IfcBenchmarkEnum m_Benchmark
Definition: Ifc4/IfcMetricAutoImpl.h:77
OdIfc4::OdIfcMetricAuto::OdIfcMetricAuto
OdIfcMetricAuto()
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4EntityTypes.h:34
OdIfc4::OdIfcMetricAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4::OdIfcMetricAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4::OdIfcMetricAuto::getDataValue
IfcMetricValueSelect getDataValue() const
OdIfc4::OdIfcMetricAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4::OdIfcMetricAuto::setDataValue
void setDataValue(IfcMetricValueSelect DataValue)
OdIfc4::OdIfcConstraintAuto
Definition: Ifc4/IfcConstraintAutoImpl.h:41
OdIfc4::IfcBenchmarkEnum
Definition: Ifc4Enum.h:580
OdIfc4::OdIfcMetricAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
IfcConstraintAutoImpl.h
IFC4_EXPORT
#define IFC4_EXPORT
Definition: IfcBuildOptions.h:44
OdIfc4::OdIfcMetricAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4::IfcMetricValueSelect
Definition: Ifc4SelectTypes.h:1187
OdIfc4::OdIfcMetricAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4::OdIfcMetricAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const