CFx SDK Documentation  2023 SP0
Ifc4/IfcReferenceAutoImpl.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 _IFCREFERENCE_AUTO_IMPL_4_H
27 #define _IFCREFERENCE_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 getTypeIdentifier() const;
53  void setTypeIdentifier(OdAnsiString TypeIdentifier);
54  OdAnsiString getAttributeIdentifier() const;
55  void setAttributeIdentifier(OdAnsiString AttributeIdentifier);
56  OdAnsiString getInstanceName() const;
57  void setInstanceName(OdAnsiString InstanceName);
58  void getListPositionsAggr(OdArray<int> &aggregate) const;
59  void setListPositionsAggr(const OdArray<int> &aggregate);
61  void setInnerReference(OdDAIObjectId InnerReference);
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_TypeIdentifier; // optional
83  OdAnsiString m_AttributeIdentifier; // optional
84  OdAnsiString m_InstanceName; // optional
85  OdArray<int> m_ListPositions; // LIST [1:?] OF IfcInteger // optional
86  OdDAIObjectId m_InnerReference; // IfcReference // optional
87 };
88 
89 } // namespace
90 
91 #endif // _IFCREFERENCE_AUTO_IMPL_4_H
#define IFC4_EXPORT
OdResult
Definition: OdResult.h:29
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual OdAnsiString typeName() const
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
void setInnerReference(OdDAIObjectId InnerReference)
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
void setTypeIdentifier(OdAnsiString TypeIdentifier)
OdDAIObjectId getInnerReference() const
void setListPositionsAggr(const OdArray< int > &aggregate)
void setInstanceName(OdAnsiString InstanceName)
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdAnsiString getInstanceName() const
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
void getListPositionsAggr(OdArray< int > &aggregate) const
virtual OdIfcEntityType type() const
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
virtual bool isKindOf(OdIfcEntityType entityType) const
OdAnsiString getAttributeIdentifier() const
OdAnsiString getTypeIdentifier() const
virtual OdDAI::Entity * getInstanceType() const
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual bool isInstanceOf(OdIfcEntityType entityType) const
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
void setAttributeIdentifier(OdAnsiString AttributeIdentifier)
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95