CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Ifc2x3/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 _IFC2X3_IFCMETRIC_AUTO_IMPL_H
27#define _IFC2X3_IFCMETRIC_AUTO_IMPL_H
28
30
35namespace OdIfc2x3 {
36
47{
48 //DOM-IGNORE-BEGIN
49 OD_EXP_DECLARE_MEMBERS(OdIfc2x3::IfcMetric);
50 //DOM-IGNORE-END
51
52public:
53
54
55 //
56 // OdDAI early binding accessors
57 //
58
59
67
74
82 const OdAnsiString& getValueSource() const;
83
90 void setValueSource(const OdAnsiString& ValueSource);
91
100
101
102public:
103
108
115 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
116
123 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
124
130 virtual OdDAI::Entity* getInstanceType() const override;
131
138 virtual OdRxValue getAttr(const char * attrName) const override;
139
157 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override;
158
163 virtual void unsetAttr(const char * explicitAttrName) override;
164
171 virtual bool testAttr(const char * explicitAttrName) const override;
172
180 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
181
188 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
189
195 virtual OdIfc::OdIfcEntityType type() const override;
196
203 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
204
209 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
210
217 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
218
226 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
227
228protected:
229 // Fields declaration:
230 OdDAI::Enum m_Benchmark; // IfcBenchmarkEnum
231 OdAnsiString m_ValueSource; // IfcLabel [optional]
232 OdDAI::Select m_DataValue; // IfcMetricValueSelect
233};
234
239
240} // namespace
241
242#endif // _IFC2X3_IFCMETRIC_AUTO_IMPL_H
#define IFC2X3_EXPORT
OdResult
Definition OdResult.h:29
virtual OdRxValue getAttr(const char *attrName) const override
void setValueSource(const OdAnsiString &ValueSource)
const OdAnsiString & getValueSource() const
IfcMetricValueSelect dataValue()
void setBenchmark(IfcBenchmarkEnum Benchmark)
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
virtual OdDAI::Entity * getInstanceType() const override
virtual OdIfc::OdIfcEntityType type() const override
virtual bool testAttr(const char *explicitAttrName) const override
virtual void unsetAttr(const char *explicitAttrName) override
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
IfcBenchmarkEnum getBenchmark() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
OdSmartPtr< IfcMetric > IfcMetricPtr
Ordering
Definition RxObject.h:295