CFx SDK Documentation  2020SP3
2/IfcMaterialProfileAutoImpl.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2019, 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-2019 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 _IFCMATERIALPROFILE_AUTO_IMPL_4x2_H
27 #define _IFCMATERIALPROFILE_AUTO_IMPL_4x2_H
28 
30 
35 namespace OdIfc4x2 {
36 
38 {
39  //DOM-IGNORE-BEGIN
41  //DOM-IGNORE-END
42 
43 public:
44 
45 
46  //
47  // OdDAI early binding accessors
48  //
49  OdAnsiString getName() const;
50  void setName(OdAnsiString Name);
51  OdAnsiString getDescription() const;
52  void setDescription(OdAnsiString Description);
54  void setMaterial(OdDAIObjectId Material);
56  void setProfile(OdDAIObjectId Profile);
57  int getPriority() const;
58  void setPriority(int Priority);
59  OdAnsiString getCategory() const;
60  void setCategory(OdAnsiString Category);
62 
64  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
65  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
66  virtual bool isKindOf(OdIfcEntityType entityType) const;
67  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
68  virtual OdDAI::Entity* getInstanceType() const;
69  virtual OdIfcEntityType type() const;
70  virtual OdAnsiString typeName() const;
71  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
72  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
73  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
74  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
75  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
76  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
77  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
78  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
79 
80 protected:
81  // Fields declaration:
82  OdAnsiString m_Name; // optional
83  OdAnsiString m_Description; // optional
84  OdDAIObjectId m_Material; // IfcMaterial // optional
85  OdDAIObjectId m_Profile; // IfcProfileDef
86  int m_Priority; // optional
87  OdAnsiString m_Category; // optional
88  OdDAIObjectId m_ToMaterialProfileSet_inv; // IfcMaterialProfileSet
89 
90  // Declare friend classes for inverse attributes functionality:
92 };
93 
94 } // namespace
95 
96 #endif // _IFCMATERIALPROFILE_AUTO_IMPL_4x2_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc4x2::OdIfcMaterialProfileSetAuto
Definition: 2/IfcMaterialProfileSetAutoImpl.h:38
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4x2::OdIfcMaterialProfileAuto::getPriority
int getPriority() const
OdDAIObjectId
Definition: daiObjectId.h:67
OdIfc4x2::OdIfcMaterialProfileAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcMaterialProfileAuto::m_Category
OdAnsiString m_Category
Definition: 2/IfcMaterialProfileAutoImpl.h:87
OdIfc4x2
Definition: Ifc4x2CollectionTypes.h:33
OdIfc4x2::OdIfcMaterialProfileAuto::OdIfcMaterialProfileAuto
OdIfcMaterialProfileAuto()
IFC4X2_EXPORT
#define IFC4X2_EXPORT
Definition: IfcBuildOptions.h:52
OdIfc4x2::OdIfcMaterialProfileAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4x2::OdIfcMaterialProfileAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdIfc4x2::OdIfcMaterialProfileAuto::setProfile
void setProfile(OdDAIObjectId Profile)
OdIfc4x2::OdIfcMaterialProfileAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdIfc4x2::OdIfcMaterialProfileAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4x2::OdIfcMaterialProfileAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdRxValue
Definition: RxValue.h:64
IfcMaterialDefinitionAutoImpl.h
OdIfc4x2::OdIfcMaterialProfileAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4x2::OdIfcMaterialProfileAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4x2::OdIfcMaterialProfileAuto::type
virtual OdIfcEntityType type() const
OdIfc4x2::OdIfcMaterialProfileAuto::getName
OdAnsiString getName() const
OdIfc4x2::OdIfcMaterialProfileAuto::getMaterial
OdDAIObjectId getMaterial() const
OdIfc4x2::OdIfcMaterialProfileAuto::m_Description
OdAnsiString m_Description
Definition: 2/IfcMaterialProfileAutoImpl.h:83
OdIfc4x2::OdIfcMaterialProfileAuto::getCategory
OdAnsiString getCategory() const
OdIfc4x2::OdIfcMaterialProfileAuto::getProfile
OdDAIObjectId getProfile() const
OdIfc4x2::OdIfcMaterialDefinitionAuto
Definition: 2/IfcMaterialDefinitionAutoImpl.h:41
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4x2::OdIfcMaterialProfileAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4x2::OdIfcMaterialProfileAuto::setDescription
void setDescription(OdAnsiString Description)
OdIfc4x2::OdIfcMaterialProfileAuto::m_Material
OdDAIObjectId m_Material
Definition: 2/IfcMaterialProfileAutoImpl.h:84
OdIfc4x2::OdIfcMaterialProfileAuto::getInvToMaterialProfileSet
OdDAIObjectId getInvToMaterialProfileSet() const
OdIfc4x2::OdIfcMaterialProfileAuto::setName
void setName(OdAnsiString Name)
OdIfc4x2::OdIfcMaterialProfileAuto::setMaterial
void setMaterial(OdDAIObjectId Material)
OdIfc4x2::OdIfcMaterialProfileAuto::m_Priority
int m_Priority
Definition: 2/IfcMaterialProfileAutoImpl.h:86
OdIfc4x2::OdIfcMaterialProfileAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcMaterialProfileAuto::m_Name
OdAnsiString m_Name
Definition: 2/IfcMaterialProfileAutoImpl.h:82
OdIfc4x2::OdIfcMaterialProfileAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4x2::OdIfcMaterialProfileAuto::m_Profile
OdDAIObjectId m_Profile
Definition: 2/IfcMaterialProfileAutoImpl.h:85
OdIfc4x2::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4x2EntityTypes.h:34
OdIfc4x2::OdIfcMaterialProfileAuto::m_ToMaterialProfileSet_inv
OdDAIObjectId m_ToMaterialProfileSet_inv
Definition: 2/IfcMaterialProfileAutoImpl.h:88
OdIfc4x2::OdIfcMaterialProfileAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc4x2::OdIfcMaterialProfileAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4x2::OdIfcMaterialProfileAuto
Definition: 2/IfcMaterialProfileAutoImpl.h:38
OdIfc4x2::OdIfcMaterialProfileAuto::setCategory
void setCategory(OdAnsiString Category)
OdIfc4x2::OdIfcMaterialProfileAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
OdIfc4x2::OdIfcMaterialProfileAuto::setPriority
void setPriority(int Priority)
OdIfc4x2::OdIfcMaterialProfileAuto::getDescription
OdAnsiString getDescription() const