CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x2/IfcMaterialAutoImpl.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 _IFC4X2_IFCMATERIAL_AUTO_IMPL_H
27#define _IFC4X2_IFCMATERIAL_AUTO_IMPL_H
28
30
35namespace OdIfc4x2 {
36
38{
39 //DOM-IGNORE-BEGIN
40 OD_EXP_DECLARE_MEMBERS(OdIfc4x2::IfcMaterial);
41 //DOM-IGNORE-END
42
43public:
44
45
46 //
47 // OdDAI early binding accessors
48 //
49
50 const OdAnsiString& getName() const;
51 void setName(const OdAnsiString& Name);
52 const OdAnsiString& getDescription() const;
53 void setDescription(const OdAnsiString& Description);
54 const OdAnsiString& getCategory() const;
55 void setCategory(const OdAnsiString& Category);
56 void getInvHasRepresentation(OdDAIObjectIds& HasRepresentation) const;
57 void getInvIsRelatedWith(OdDAIObjectIds& IsRelatedWith) const;
58 void getInvRelatesTo(OdDAIObjectIds& RelatesTo) const;
59
60
61public:
63
70 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
71
78 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
79
85 virtual OdDAI::Entity* getInstanceType() const;
86
93 virtual OdRxValue getAttr(const char * attrName) const;
94
99 virtual void unsetAttr(const char * explicitAttrName);
100
107 virtual bool testAttr(const char * explicitAttrName) const;
108
116 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
117
124 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
125
132
139 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
140
145 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
146
153 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
154
162 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
163
164protected:
165 // Fields declaration:
166 OdAnsiString m_Name; // IfcLabel
167 OdAnsiString m_Description; // IfcText [optional]
168 OdAnsiString m_Category; // IfcLabel [optional]
169
170 // Declare friend classes for inverse attributes functionality:
173 friend class IfcMaterialRelationship;
174};
175
180
181} // namespace
182
183#endif // _IFC4X2_IFCMATERIAL_AUTO_IMPL_H
#define IFC4X2_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdRxValue getAttr(const char *attrName) const
const OdAnsiString & getName() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
void setCategory(const OdAnsiString &Category)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
const OdAnsiString & getCategory() const
const OdAnsiString & getDescription() const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
void setDescription(const OdAnsiString &Description)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual void unsetAttr(const char *explicitAttrName)
void getInvIsRelatedWith(OdDAIObjectIds &IsRelatedWith) const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
void getInvHasRepresentation(OdDAIObjectIds &HasRepresentation) const
virtual OdIfc::OdIfcEntityType type() const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual bool testAttr(const char *explicitAttrName) const
void setName(const OdAnsiString &Name)
virtual OdDAI::Entity * getInstanceType() const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
void getInvRelatesTo(OdDAIObjectIds &RelatesTo) const
OdSmartPtr< IfcMaterial > IfcMaterialPtr