CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc2x_Final/IfcPropertyEnumerationAutoImpl.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 _IFC2X_FINAL_IFCPROPERTYENUMERATION_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCPROPERTYENUMERATION_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc2x_FinalEnum.h"
35
40namespace OdIfc2x_final {
41
43{
44 //DOM-IGNORE-BEGIN
45 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcPropertyEnumeration);
46 //DOM-IGNORE-END
47
48public:
49
50
51 //
52 // OdDAI early binding accessors
53 //
54
55 const OdAnsiString& getName() const;
56 void setName(const OdAnsiString& Name);
57 void getEnumerationValues(OdArray<OdDAI::Select >& EnumerationValues) const;
59 OdDAI::List<OdDAI::Select>& enumerationValues();
61
62
63public:
65
72 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
73
80 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
81
87 virtual OdDAI::Entity* getInstanceType() const;
88
95 virtual OdRxValue getAttr(const char * attrName) const;
96
101 virtual void unsetAttr(const char * explicitAttrName);
102
109 virtual bool testAttr(const char * explicitAttrName) const;
110
118 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
119
126 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
127
134
141 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
142
147 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
148
155 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
156
164 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
165
166protected:
167 // Fields declaration:
168 OdAnsiString m_Name; // IfcLabel
169 OdDAI::List<OdDAI::Select> m_EnumerationValues; // LIST [1:?] of IfcValue
170 OdDAI::Select m_Unit; // IfcUnit [optional]
171};
172
177
178} // namespace
179
180#endif // _IFC2X_FINAL_IFCPROPERTYENUMERATION_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdRxValue getAttr(const char *attrName) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual bool testAttr(const char *explicitAttrName) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
void getEnumerationValuesWrapperArray(OdArray< IfcValue > &EnumerationValues) const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
void setName(const OdAnsiString &Name)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual OdDAI::Entity * getInstanceType() const
void getEnumerationValues(OdArray< OdDAI::Select > &EnumerationValues) const
virtual void unsetAttr(const char *explicitAttrName)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual OdIfc::OdIfcEntityType type() const
OdDAI::List< OdDAI::Select > & enumerationValues()
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
const OdAnsiString & getName() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
OdSmartPtr< IfcPropertyEnumeration > IfcPropertyEnumerationPtr