CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Ifc4x3/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 _IFC4X3_ADD2_IFCMETRIC_AUTO_IMPL_H
27#define _IFC4X3_ADD2_IFCMETRIC_AUTO_IMPL_H
28
31
36namespace OdIfc4x3_add2 {
37
53{
54 //DOM-IGNORE-BEGIN
55 OD_EXP_DECLARE_MEMBERS(OdIfc4x3_add2::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
182 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override;
183
188 virtual void unsetAttr(const char * explicitAttrName) override;
189
196 virtual bool testAttr(const char * explicitAttrName) const override;
197
205 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
206
213 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
214
220 virtual OdIfc::OdIfcEntityType type() const override;
221
228 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
229
234 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
235
242 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
243
251 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
252
253protected:
254 // Fields declaration:
255 OdDAI::Enum m_Benchmark; // IfcBenchmarkEnum
256 OdAnsiString m_ValueSource; // IfcLabel [optional]
257 OdDAI::Select m_DataValue; // IfcMetricValueSelect [optional]
258 OdDAIObjectId m_ReferencePath; // IfcReference [optional]
259};
260
265
266} // namespace
267
268#endif // _IFC4X3_ADD2_IFCMETRIC_AUTO_IMPL_H
#define IFC4X3_EXPORT
OdResult
Definition OdResult.h:29
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
IfcBenchmarkEnum getBenchmark() const
void setValueSource(const OdAnsiString &ValueSource)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
const OdAnsiString & getValueSource() const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
virtual OdRxValue getAttr(const char *attrName) const override
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
const OdDAIObjectId & getReferencePath() const
virtual OdIfc::OdIfcEntityType type() const override
virtual void unsetAttr(const char *explicitAttrName) override
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
void setBenchmark(IfcBenchmarkEnum Benchmark)
void setReferencePath(const OdDAIObjectId &ReferencePath)
virtual OdDAI::Entity * getInstanceType() const override
virtual bool testAttr(const char *explicitAttrName) const override
IfcMetricValueSelect dataValue()
OdSmartPtr< IfcMetric > IfcMetricPtr
Ordering
Definition RxObject.h:295