CFx SDK Documentation  2020SP3
Ifc4x2/IfcMaterialAutoImpl.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 _IFCMATERIAL_AUTO_IMPL_4x2_H
27 #define _IFCMATERIAL_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);
53  OdAnsiString getCategory() const;
54  void setCategory(OdAnsiString Category);
56  void getInvIsRelatedWithAggr(OdDAIObjectIds &aggregate) const;
57  void getInvRelatesToAggr(OdDAIObjectIds &aggregate) const;
58 
60  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
61  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
62  virtual bool isKindOf(OdIfcEntityType entityType) const;
63  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
64  virtual OdDAI::Entity* getInstanceType() const;
65  virtual OdIfcEntityType type() const;
66  virtual OdAnsiString typeName() const;
67  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
68  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
69  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
70  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
71  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
72  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
73  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
74  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
75 
76 protected:
77  // Fields declaration:
78  OdAnsiString m_Name;
79  OdAnsiString m_Description; // optional
80  OdAnsiString m_Category; // optional
81  OdDAIObjectIds m_HasRepresentation_inv; // IfcMaterialDefinitionRepresentation
82  OdDAIObjectIds m_IsRelatedWith_inv; // IfcMaterialRelationship
83  OdDAIObjectIds m_RelatesTo_inv; // IfcMaterialRelationship
84 
85  // Declare friend classes for inverse attributes functionality:
88  friend class OdIfcMaterialRelationshipAuto;
89 };
90 
91 } // namespace
92 
93 #endif // _IFCMATERIAL_AUTO_IMPL_4x2_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc4x2::OdIfcMaterialAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4x2::OdIfcMaterialAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdIfc4x2::OdIfcMaterialAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4x2::OdIfcMaterialAuto::getInvIsRelatedWithAggr
void getInvIsRelatedWithAggr(OdDAIObjectIds &aggregate) const
OdIfc4x2::OdIfcMaterialAuto::getCategory
OdAnsiString getCategory() const
OdIfc4x2
Definition: Ifc4x2CollectionTypes.h:33
OdIfc4x2::OdIfcMaterialAuto::m_Name
OdAnsiString m_Name
Definition: Ifc4x2/IfcMaterialAutoImpl.h:78
OdIfc4x2::OdIfcMaterialAuto::m_Category
OdAnsiString m_Category
Definition: Ifc4x2/IfcMaterialAutoImpl.h:80
OdIfc4x2::OdIfcMaterialAuto::setName
void setName(OdAnsiString Name)
IFC4X2_EXPORT
#define IFC4X2_EXPORT
Definition: IfcBuildOptions.h:52
OdIfc4x2::OdIfcMaterialAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcMaterialAuto::OdIfcMaterialAuto
OdIfcMaterialAuto()
OdArray< OdDAIObjectId >
OdIfc4x2::OdIfcMaterialDefinitionRepresentationAuto
Definition: Ifc4x2/IfcMaterialDefinitionRepresentationAutoImpl.h:38
OdIfc4x2::OdIfcMaterialRelationshipAuto
Definition: 2/IfcMaterialRelationshipAutoImpl.h:38
OdIfc4x2::OdIfcMaterialAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4x2::OdIfcMaterialAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4x2::OdIfcMaterialAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdRxValue
Definition: RxValue.h:64
IfcMaterialDefinitionAutoImpl.h
OdIfc4x2::OdIfcMaterialAuto::type
virtual OdIfcEntityType type() const
OdIfc4x2::OdIfcMaterialAuto::m_RelatesTo_inv
OdDAIObjectIds m_RelatesTo_inv
Definition: Ifc4x2/IfcMaterialAutoImpl.h:83
OdIfc4x2::OdIfcMaterialDefinitionAuto
Definition: 2/IfcMaterialDefinitionAutoImpl.h:41
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4x2::OdIfcMaterialAuto::getDescription
OdAnsiString getDescription() const
OdIfc4x2::OdIfcMaterialAuto::getInvRelatesToAggr
void getInvRelatesToAggr(OdDAIObjectIds &aggregate) const
OdIfc4x2::OdIfcMaterialAuto::getName
OdAnsiString getName() const
OdIfc4x2::OdIfcMaterialAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4x2::OdIfcMaterialAuto
Definition: Ifc4x2/IfcMaterialAutoImpl.h:38
OdIfc4x2::OdIfcMaterialAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4x2::OdIfcMaterialAuto::m_Description
OdAnsiString m_Description
Definition: Ifc4x2/IfcMaterialAutoImpl.h:79
OdIfc4x2::OdIfcMaterialAuto::setDescription
void setDescription(OdAnsiString Description)
OdIfc4x2::OdIfcMaterialAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4x2::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4x2EntityTypes.h:34
OdIfc4x2::OdIfcMaterialAuto::m_HasRepresentation_inv
OdDAIObjectIds m_HasRepresentation_inv
Definition: Ifc4x2/IfcMaterialAutoImpl.h:81
OdIfc4x2::OdIfcMaterialAuto::getInvHasRepresentationAggr
void getInvHasRepresentationAggr(OdDAIObjectIds &aggregate) const
OdIfc4x2::OdIfcMaterialAuto::m_IsRelatedWith_inv
OdDAIObjectIds m_IsRelatedWith_inv
Definition: Ifc4x2/IfcMaterialAutoImpl.h:82
OdIfc4x2::OdIfcMaterialAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcMaterialAuto::setCategory
void setCategory(OdAnsiString Category)
OdIfc4x2::OdIfcMaterialAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4x2::OdIfcMaterialAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc4x2::OdIfcMaterialAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const