CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Ifc4x2/IfcMetricAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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 _IFC4X2_IFCMETRIC_AUTO_IMPL_H
27#define _IFC4X2_IFCMETRIC_AUTO_IMPL_H
28
31
36namespace OdIfc4x2 {
37
53{
54 //DOM-IGNORE-BEGIN
55 OD_EXP_DECLARE_MEMBERS(OdIfc4x2::IfcMetric);
56 //DOM-IGNORE-END
57
58public:
59
60
61 //
62 // OdDAI early binding accessors
63 //
64
65
73
80
88 const OdAnsiString& getValueSource() const;
89
96 void setValueSource(const OdAnsiString& ValueSource);
97
106
115 const OdDAIObjectId& getReferencePath() const;
116
124 void setReferencePath(const OdDAIObjectId& ReferencePath);
125
126
127public:
128
133
140 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
141
148 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
149
155 virtual OdDAI::Entity* getInstanceType() const override;
156
163 virtual OdRxValue getAttr(const char * attrName) const override;
164
169 virtual void unsetAttr(const char * explicitAttrName) override;
170
177 virtual bool testAttr(const char * explicitAttrName) const override;
178
186 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
187
194 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
195
201 virtual OdIfc::OdIfcEntityType type() const override;
202
209 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
210
215 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
216
223 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
224
232 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
233
234protected:
235 // Fields declaration:
236 OdDAI::Enum m_Benchmark; // IfcBenchmarkEnum
237 OdAnsiString m_ValueSource; // IfcLabel [optional]
238 OdDAI::Select m_DataValue; // IfcMetricValueSelect [optional]
239 OdDAIObjectId m_ReferencePath; // IfcReference [optional]
240};
241
246
247} // namespace
248
249#endif // _IFC4X2_IFCMETRIC_AUTO_IMPL_H
#define IFC4X2_EXPORT
OdResult
Definition OdResult.h:29
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
virtual OdDAI::Entity * getInstanceType() const override
IfcMetricValueSelect dataValue()
virtual void unsetAttr(const char *explicitAttrName) override
void setReferencePath(const OdDAIObjectId &ReferencePath)
void setBenchmark(IfcBenchmarkEnum Benchmark)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
IfcBenchmarkEnum getBenchmark() const
virtual bool testAttr(const char *explicitAttrName) const override
const OdDAIObjectId & getReferencePath() const
virtual OdIfc::OdIfcEntityType type() const override
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
const OdAnsiString & getValueSource() const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
void setValueSource(const OdAnsiString &ValueSource)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
virtual OdRxValue getAttr(const char *attrName) const override
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
OdSmartPtr< IfcMetric > IfcMetricPtr