CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4/IfcMetricAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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 _IFC4_IFCMETRIC_AUTO_IMPL_H
27#define _IFC4_IFCMETRIC_AUTO_IMPL_H
28
31
36namespace OdIfc4 {
37
39{
40 //DOM-IGNORE-BEGIN
41 OD_EXP_DECLARE_MEMBERS(OdIfc4::IfcMetric);
42 //DOM-IGNORE-END
43
44public:
45
46
47 //
48 // OdDAI early binding accessors
49 //
50
53 const OdAnsiString& getValueSource() const;
54 void setValueSource(const OdAnsiString& ValueSource);
56 const OdDAIObjectId& getReferencePath() const;
57 void setReferencePath(const OdDAIObjectId& ReferencePath);
58
59
60public:
62
69 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
70
77 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
78
84 virtual OdDAI::Entity* getInstanceType() const;
85
92 virtual OdRxValue getAttr(const char * attrName) const;
93
111 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const;
112
117 virtual void unsetAttr(const char * explicitAttrName);
118
125 virtual bool testAttr(const char * explicitAttrName) const;
126
134 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
135
142 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
143
150
157 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
158
163 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
164
171 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
172
180 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
181
182protected:
183 // Fields declaration:
184 OdDAI::Enum m_Benchmark; // IfcBenchmarkEnum
185 OdAnsiString m_ValueSource; // IfcLabel [optional]
186 OdDAI::Select m_DataValue; // IfcMetricValueSelect [optional]
187 OdDAIObjectId m_ReferencePath; // IfcReference [optional]
188};
189
194
195} // namespace
196
197#endif // _IFC4_IFCMETRIC_AUTO_IMPL_H
#define IFC4_EXPORT
OdResult
Definition: OdResult.h:29
void setValueSource(const OdAnsiString &ValueSource)
IfcMetricValueSelect dataValue()
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
IfcBenchmarkEnum getBenchmark() const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual OdRxValue getAttr(const char *attrName) const
const OdDAIObjectId & getReferencePath() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const
virtual OdIfc::OdIfcEntityType type() const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual bool testAttr(const char *explicitAttrName) const
virtual void unsetAttr(const char *explicitAttrName)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setReferencePath(const OdDAIObjectId &ReferencePath)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
const OdAnsiString & getValueSource() const
void setBenchmark(IfcBenchmarkEnum Benchmark)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual OdDAI::Entity * getInstanceType() const
OdSmartPtr< IfcMetric > IfcMetricPtr
IfcBenchmarkEnum
Definition: Ifc4Enum.h:496
Ordering
Definition: RxObject.h:295