CFx SDK Documentation  2023 SP0
Ifc4/IfcApprovalAutoImpl.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 _IFCAPPROVAL_AUTO_IMPL_4_H
27 #define _IFCAPPROVAL_AUTO_IMPL_4_H
28 
29 #include "IfcPubCommon.h"
30 #include "Ifc4Enum.h"
31 #include "Ifc4SelectTypes.h"
32 #include "IfcCollectionTypes.h"
33 
38 namespace OdIfc4 {
39 
41 {
42  //DOM-IGNORE-BEGIN
44  //DOM-IGNORE-END
45 
46 public:
47 
48 
49  //
50  // OdDAI early binding accessors
51  //
52  OdAnsiString getIdentifier() const;
53  void setIdentifier(OdAnsiString Identifier);
54  OdAnsiString getName() const;
55  void setName(OdAnsiString Name);
56  OdAnsiString getDescription() const;
57  void setDescription(OdAnsiString Description);
58  OdAnsiString getTimeOfApproval() const;
59  void setTimeOfApproval(OdAnsiString TimeOfApproval);
60  OdAnsiString getStatus() const;
61  void setStatus(OdAnsiString Status);
62  OdAnsiString getLevel() const;
63  void setLevel(OdAnsiString Level);
64  OdAnsiString getQualifier() const;
65  void setQualifier(OdAnsiString Qualifier);
67  void setRequestingApproval(IfcActorSelect RequestingApproval);
69  void setGivingApproval(IfcActorSelect GivingApproval);
71  void getInvApprovedObjectsAggr(OdDAIObjectIds &aggregate) const;
73  void getInvIsRelatedWithAggr(OdDAIObjectIds &aggregate) const;
74  void getInvRelatesAggr(OdDAIObjectIds &aggregate) const;
75 
77  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
78  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
79  virtual bool isKindOf(OdIfcEntityType entityType) const;
80  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
81  virtual OdDAI::Entity* getInstanceType() const;
82  virtual OdIfcEntityType type() const;
83  virtual OdAnsiString typeName() const;
84  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
85  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
86  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
87  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
88  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
89  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
90  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
91  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
92 
93 protected:
94  // Fields declaration:
95  OdAnsiString m_Identifier; // optional
96  OdAnsiString m_Name; // optional
97  OdAnsiString m_Description; // optional
98  OdAnsiString m_TimeOfApproval; // optional
99  OdAnsiString m_Status; // optional
100  OdAnsiString m_Level; // optional
101  OdAnsiString m_Qualifier; // optional
104  OdDAIObjectIds m_HasExternalReferences_inv; // IfcExternalReferenceRelationship
105  OdDAIObjectIds m_ApprovedObjects_inv; // IfcRelAssociatesApproval
106  OdDAIObjectIds m_ApprovedResources_inv; // IfcResourceApprovalRelationship
107  OdDAIObjectIds m_IsRelatedWith_inv; // IfcApprovalRelationship
108  OdDAIObjectIds m_Relates_inv; // IfcApprovalRelationship
109 
110  // Declare friend classes for inverse attributes functionality:
115  friend class OdIfcApprovalRelationshipAuto;
116 };
117 
118 } // namespace
119 
120 #endif // _IFCAPPROVAL_AUTO_IMPL_4_H
#define IFC4_EXPORT
OdResult
Definition: OdResult.h:29
void getInvRelatesAggr(OdDAIObjectIds &aggregate) const
void setRequestingApproval(IfcActorSelect RequestingApproval)
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
virtual bool isInstanceOf(OdIfcEntityType entityType) const
void setIdentifier(OdAnsiString Identifier)
virtual OdAnsiString typeName() const
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
virtual bool isKindOf(OdIfcEntityType entityType) const
IfcActorSelect getRequestingApproval() const
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdAnsiString getName() const
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
void setDescription(OdAnsiString Description)
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
void getInvHasExternalReferencesAggr(OdDAIObjectIds &aggregate) const
virtual OdDAI::Entity * getInstanceType() const
void setStatus(OdAnsiString Status)
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdAnsiString getDescription() const
virtual OdIfcEntityType type() const
OdAnsiString getStatus() const
void setName(OdAnsiString Name)
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
void setLevel(OdAnsiString Level)
OdAnsiString getTimeOfApproval() const
OdAnsiString getLevel() const
IfcActorSelect getGivingApproval() const
void getInvIsRelatedWithAggr(OdDAIObjectIds &aggregate) const
void setQualifier(OdAnsiString Qualifier)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdAnsiString getQualifier() const
OdAnsiString getIdentifier() const
void setGivingApproval(IfcActorSelect GivingApproval)
void setTimeOfApproval(OdAnsiString TimeOfApproval)
void getInvApprovedObjectsAggr(OdDAIObjectIds &aggregate) const
void getInvApprovedResourcesAggr(OdDAIObjectIds &aggregate) const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95