CFx SDK Documentation  2020SP3
2/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_4x2_H
27 #define _IFCREFERENCE_AUTO_IMPL_4x2_H
28 
29 #include "IfcPubCommon.h"
30 #include "Ifc4x2Enum.h"
31 #include "Ifc4x2SelectTypes.h"
32 #include "IfcCollectionTypes.h"
33 
38 namespace OdIfc4x2 {
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_4x2_H
OdIfc4x2::OdIfcReferenceAuto::setInnerReference
void setInnerReference(OdDAIObjectId InnerReference)
OdResult
OdResult
Definition: OdResult.h:29
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
Ifc4x2SelectTypes.h
OdDAIObjectId
Definition: daiObjectId.h:67
OdIfc4x2::OdIfcReferenceAuto::setTypeIdentifier
void setTypeIdentifier(OdAnsiString TypeIdentifier)
OdIfc4x2::OdIfcReferenceAuto::getInnerReference
OdDAIObjectId getInnerReference() const
OdIfc4x2
Definition: Ifc4x2CollectionTypes.h:33
IfcPubCommon.h
OdIfc4x2::OdIfcReferenceAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcReferenceAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4x2::OdIfcReferenceAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
IFC4X2_EXPORT
#define IFC4X2_EXPORT
Definition: IfcBuildOptions.h:52
OdIfc4x2::OdIfcReferenceAuto::m_InstanceName
OdAnsiString m_InstanceName
Definition: 2/IfcReferenceAutoImpl.h:84
OdArray< int >
OdIfc4x2::OdIfcReferenceAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc4x2::OdIfcReferenceAuto::getInstanceName
OdAnsiString getInstanceName() const
OdIfc4x2::OdIfcReferenceAuto::OdIfcReferenceAuto
OdIfcReferenceAuto()
OdIfc4x2::OdIfcReferenceAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
IfcCollectionTypes.h
OdRxValue
Definition: RxValue.h:64
OdIfc4x2::OdIfcReferenceAuto::setListPositionsAggr
void setListPositionsAggr(const OdArray< int > &aggregate)
OdIfc4x2::OdIfcReferenceAuto::m_AttributeIdentifier
OdAnsiString m_AttributeIdentifier
Definition: 2/IfcReferenceAutoImpl.h:83
OdIfc4x2::OdIfcReferenceAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4x2::OdIfcReferenceAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4x2::OdIfcReferenceAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4x2::OdIfcReferenceAuto::m_InnerReference
OdDAIObjectId m_InnerReference
Definition: 2/IfcReferenceAutoImpl.h:86
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4x2::OdIfcReferenceAuto::type
virtual OdIfcEntityType type() const
OdIfc4x2::OdIfcReferenceAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdIfc4x2::OdIfcReferenceAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4x2::OdIfcReferenceAuto
Definition: 2/IfcReferenceAutoImpl.h:41
OdIfc4x2::OdIfcReferenceAuto::getTypeIdentifier
OdAnsiString getTypeIdentifier() const
OdIfc::OdIfcEntity
Definition: IfcEntity.h:84
OdIfc4x2::OdIfcReferenceAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
Ifc4x2Enum.h
OdIfc4x2::OdIfcReferenceAuto::m_TypeIdentifier
OdAnsiString m_TypeIdentifier
Definition: 2/IfcReferenceAutoImpl.h:82
OdIfc4x2::OdIfcReferenceAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4x2::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4x2EntityTypes.h:34
OdIfc4x2::OdIfcReferenceAuto::getListPositionsAggr
void getListPositionsAggr(OdArray< int > &aggregate) const
OdIfc4x2::OdIfcReferenceAuto::getAttributeIdentifier
OdAnsiString getAttributeIdentifier() const
OdIfc4x2::OdIfcReferenceAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcReferenceAuto::setAttributeIdentifier
void setAttributeIdentifier(OdAnsiString AttributeIdentifier)
OdIfc4x2::OdIfcReferenceAuto::m_ListPositions
OdArray< int > m_ListPositions
Definition: 2/IfcReferenceAutoImpl.h:85
OdIfc4x2::OdIfcReferenceAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4x2::OdIfcReferenceAuto::setInstanceName
void setInstanceName(OdAnsiString InstanceName)