CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x1/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 _IFC4X1_IFCMATERIAL_AUTO_IMPL_H
27#define _IFC4X1_IFCMATERIAL_AUTO_IMPL_H
28
30
35namespace OdIfc4x1 {
36
38{
39 //DOM-IGNORE-BEGIN
40 OD_EXP_DECLARE_MEMBERS(OdIfc4x1::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 // _IFC4X1_IFCMATERIAL_AUTO_IMPL_H
#define IFC4X1_EXPORT
OdResult
Definition: OdResult.h:29
void setDescription(const OdAnsiString &Description)
virtual OdIfc::OdIfcEntityType type() const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual OdRxValue getAttr(const char *attrName) const
virtual OdDAI::Entity * getInstanceType() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
const OdAnsiString & getName() const
const OdAnsiString & getDescription() const
void getInvRelatesTo(OdDAIObjectIds &RelatesTo) const
void getInvIsRelatedWith(OdDAIObjectIds &IsRelatedWith) const
void getInvHasRepresentation(OdDAIObjectIds &HasRepresentation) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual void unsetAttr(const char *explicitAttrName)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setCategory(const OdAnsiString &Category)
void setName(const OdAnsiString &Name)
const OdAnsiString & getCategory() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual bool testAttr(const char *explicitAttrName) const
OdSmartPtr< IfcMaterial > IfcMaterialPtr