CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Ifc4x1/IfcMaterialAutoImpl.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 _IFC4X1_IFCMATERIAL_AUTO_IMPL_H
27#define _IFC4X1_IFCMATERIAL_AUTO_IMPL_H
28
30
35namespace OdIfc4x1 {
36
58{
59 //DOM-IGNORE-BEGIN
60 OD_EXP_DECLARE_MEMBERS(OdIfc4x1::IfcMaterial);
61 //DOM-IGNORE-END
62
63public:
64
65
66 //
67 // OdDAI early binding accessors
68 //
69
70
78 const OdAnsiString& getName() const;
79
86 void setName(const OdAnsiString& Name);
87
94 const OdAnsiString& getDescription() const;
95
101 void setDescription(const OdAnsiString& Description);
102
111 const OdAnsiString& getCategory() const;
112
120 void setCategory(const OdAnsiString& Category);
121
128 void getInvHasRepresentation(OdDAIObjectIds& HasRepresentation) const;
129
135 void getInvIsRelatedWith(OdDAIObjectIds& IsRelatedWith) const;
136
142 void getInvRelatesTo(OdDAIObjectIds& RelatesTo) const;
143
144
145public:
146
151
158 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
159
166 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
167
173 virtual OdDAI::Entity* getInstanceType() const override;
174
181 virtual OdRxValue getAttr(const char * attrName) const override;
182
187 virtual void unsetAttr(const char * explicitAttrName) override;
188
195 virtual bool testAttr(const char * explicitAttrName) const override;
196
204 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
205
212 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
213
219 virtual OdIfc::OdIfcEntityType type() const override;
220
227 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
228
233 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
234
241 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
242
250 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
251
252protected:
253 // Fields declaration:
254 OdAnsiString m_Name; // IfcLabel
255 OdAnsiString m_Description; // IfcText [optional]
256 OdAnsiString m_Category; // IfcLabel [optional]
257
258 // Declare friend classes for inverse attributes functionality:
261 friend class IfcMaterialRelationship;
262};
263
268
269} // namespace
270
271#endif // _IFC4X1_IFCMATERIAL_AUTO_IMPL_H
#define IFC4X1_EXPORT
OdResult
Definition OdResult.h:29
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
void setDescription(const OdAnsiString &Description)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
virtual OdDAI::Entity * getInstanceType() const override
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
const OdAnsiString & getName() const
const OdAnsiString & getDescription() const
void getInvRelatesTo(OdDAIObjectIds &RelatesTo) const
void getInvIsRelatedWith(OdDAIObjectIds &IsRelatedWith) const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
void getInvHasRepresentation(OdDAIObjectIds &HasRepresentation) const
virtual void unsetAttr(const char *explicitAttrName) override
virtual bool testAttr(const char *explicitAttrName) const override
void setCategory(const OdAnsiString &Category)
void setName(const OdAnsiString &Name)
const OdAnsiString & getCategory() const
virtual OdIfc::OdIfcEntityType type() const override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
virtual OdRxValue getAttr(const char *attrName) const override
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
OdSmartPtr< IfcMaterial > IfcMaterialPtr