CFx SDK Documentation  2020SP3
2/IfcMaterialRelationshipAutoImpl.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 _IFCMATERIALRELATIONSHIP_AUTO_IMPL_4x2_H
27 #define _IFCMATERIALRELATIONSHIP_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  //
50  void setRelatingMaterial(OdDAIObjectId RelatingMaterial);
51  void getRelatedMaterialsAggr(OdDAIObjectIds &aggregate) const;
52  void setRelatedMaterialsAggr(const OdDAIObjectIds &aggregate);
53  OdAnsiString getExpression() const;
54  void setExpression(OdAnsiString Expression);
55 
57  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
58  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
59  virtual void setInverseCounterParts();
60  virtual void resetInverseCounterParts();
61  virtual bool isKindOf(OdIfcEntityType entityType) const;
62  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
63  virtual OdDAI::Entity* getInstanceType() const;
64  virtual OdIfcEntityType type() const;
65  virtual OdAnsiString typeName() const;
66  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
67  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
68  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
69  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
70  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
71  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
72  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
73  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
74 
75 protected:
76  // Fields declaration:
78  OdDAIObjectIds m_RelatedMaterials; // SET [1:?] OF IfcMaterial
79  OdAnsiString m_Expression; // optional
80 };
81 
82 } // namespace
83 
84 #endif // _IFCMATERIALRELATIONSHIP_AUTO_IMPL_4x2_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4x2::OdIfcMaterialRelationshipAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4x2::OdIfcMaterialRelationshipAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4x2::OdIfcMaterialRelationshipAuto::getRelatedMaterialsAggr
void getRelatedMaterialsAggr(OdDAIObjectIds &aggregate) const
OdIfc4x2::OdIfcMaterialRelationshipAuto::setRelatingMaterial
void setRelatingMaterial(OdDAIObjectId RelatingMaterial)
OdDAIObjectId
Definition: daiObjectId.h:67
OdIfc4x2::OdIfcMaterialRelationshipAuto::setRelatedMaterialsAggr
void setRelatedMaterialsAggr(const OdDAIObjectIds &aggregate)
OdIfc4x2
Definition: Ifc4x2CollectionTypes.h:33
OdIfc4x2::OdIfcMaterialRelationshipAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc4x2::OdIfcMaterialRelationshipAuto::m_RelatedMaterials
OdDAIObjectIds m_RelatedMaterials
Definition: 2/IfcMaterialRelationshipAutoImpl.h:78
OdIfc4x2::OdIfcMaterialRelationshipAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
IFC4X2_EXPORT
#define IFC4X2_EXPORT
Definition: IfcBuildOptions.h:52
OdArray< OdDAIObjectId >
OdIfc4x2::OdIfcMaterialRelationshipAuto
Definition: 2/IfcMaterialRelationshipAutoImpl.h:38
OdIfc4x2::OdIfcMaterialRelationshipAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcMaterialRelationshipAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdRxValue
Definition: RxValue.h:64
OdIfc4x2::OdIfcMaterialRelationshipAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
IfcResourceLevelRelationshipAutoImpl.h
OdIfc4x2::OdIfcMaterialRelationshipAuto::m_Expression
OdAnsiString m_Expression
Definition: 2/IfcMaterialRelationshipAutoImpl.h:79
OdIfc4x2::OdIfcMaterialRelationshipAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4x2::OdIfcMaterialRelationshipAuto::setExpression
void setExpression(OdAnsiString Expression)
OdIfc4x2::OdIfcMaterialRelationshipAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4x2::OdIfcMaterialRelationshipAuto::resetInverseCounterParts
virtual void resetInverseCounterParts()
OdIfc4x2::OdIfcMaterialRelationshipAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4x2::OdIfcMaterialRelationshipAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4x2::OdIfcMaterialRelationshipAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
OdIfc4x2::OdIfcMaterialRelationshipAuto::m_RelatingMaterial
OdDAIObjectId m_RelatingMaterial
Definition: 2/IfcMaterialRelationshipAutoImpl.h:77
OdIfc4x2::OdIfcMaterialRelationshipAuto::type
virtual OdIfcEntityType type() const
OdIfc4x2::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4x2EntityTypes.h:34
OdIfc4x2::OdIfcMaterialRelationshipAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcMaterialRelationshipAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4x2::OdIfcMaterialRelationshipAuto::getExpression
OdAnsiString getExpression() const
OdIfc4x2::OdIfcMaterialRelationshipAuto::setInverseCounterParts
virtual void setInverseCounterParts()
OdIfc4x2::OdIfcMaterialRelationshipAuto::getRelatingMaterial
OdDAIObjectId getRelatingMaterial() const
OdIfc4x2::OdIfcResourceLevelRelationshipAuto
Definition: 2/IfcResourceLevelRelationshipAutoImpl.h:41
OdIfc4x2::OdIfcMaterialRelationshipAuto::OdIfcMaterialRelationshipAuto
OdIfcMaterialRelationshipAuto()