CFx SDK Documentation  2020SP3
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
OdIfc4::OdIfcReferenceAuto::m_ListPositions
OdArray< int > m_ListPositions
Definition: IfcReferenceAutoImpl.h:85
OdIfc4::OdIfcReferenceAuto::m_AttributeIdentifier
OdAnsiString m_AttributeIdentifier
Definition: IfcReferenceAutoImpl.h:83
OdResult
OdResult
Definition: OdResult.h:29
OdIfc4::OdIfcReferenceAuto::getListPositionsAggr
void getListPositionsAggr(OdArray< int > &aggregate) const
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4::OdIfcReferenceAuto::m_TypeIdentifier
OdAnsiString m_TypeIdentifier
Definition: IfcReferenceAutoImpl.h:82
OdIfc4::OdIfcReferenceAuto::getInnerReference
OdDAIObjectId getInnerReference() const
OdDAIObjectId
Definition: daiObjectId.h:67
OdIfc4::OdIfcReferenceAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
IfcPubCommon.h
OdIfc4::OdIfcReferenceAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4::OdIfcReferenceAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4::OdIfcReferenceAuto::setAttributeIdentifier
void setAttributeIdentifier(OdAnsiString AttributeIdentifier)
OdArray< int >
OdIfc4::OdIfcReferenceAuto::setTypeIdentifier
void setTypeIdentifier(OdAnsiString TypeIdentifier)
IfcCollectionTypes.h
OdIfc4::OdIfcReferenceAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4::OdIfcReferenceAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4
Definition: Ifc4CollectionTypes.h:33
OdRxValue
Definition: RxValue.h:64
OdIfc4::OdIfcReferenceAuto::setInnerReference
void setInnerReference(OdDAIObjectId InnerReference)
Ifc4Enum.h
OdIfc4::OdIfcReferenceAuto::getAttributeIdentifier
OdAnsiString getAttributeIdentifier() const
OdIfc4::OdIfcReferenceAuto::type
virtual OdIfcEntityType type() const
OdIfc4::OdIfcReferenceAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc4::OdIfcReferenceAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4::OdIfcReferenceAuto
Definition: IfcReferenceAutoImpl.h:41
OdIfc4::OdIfcReferenceAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4EntityTypes.h:34
OdIfc4::OdIfcReferenceAuto::getInstanceName
OdAnsiString getInstanceName() const
OdIfc4::OdIfcReferenceAuto::OdIfcReferenceAuto
OdIfcReferenceAuto()
OdIfc4::OdIfcReferenceAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc::OdIfcEntity
Definition: IfcEntity.h:84
OdIfc4::OdIfcReferenceAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4::OdIfcReferenceAuto::getTypeIdentifier
OdAnsiString getTypeIdentifier() const
OdIfc4::OdIfcReferenceAuto::setListPositionsAggr
void setListPositionsAggr(const OdArray< int > &aggregate)
OdIfc4::OdIfcReferenceAuto::setInstanceName
void setInstanceName(OdAnsiString InstanceName)
OdIfc4::OdIfcReferenceAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
Ifc4SelectTypes.h
OdIfc4::OdIfcReferenceAuto::m_InnerReference
OdDAIObjectId m_InnerReference
Definition: IfcReferenceAutoImpl.h:86
IFC4_EXPORT
#define IFC4_EXPORT
Definition: IfcBuildOptions.h:44
OdIfc4::OdIfcReferenceAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4::OdIfcReferenceAuto::m_InstanceName
OdAnsiString m_InstanceName
Definition: IfcReferenceAutoImpl.h:84
OdIfc4::OdIfcReferenceAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4::OdIfcReferenceAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const