CFx SDK Documentation  2020SP3
Ifc4/IfcRepresentationAutoImpl.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 _IFCREPRESENTATION_AUTO_IMPL_4_H
27 #define _IFCREPRESENTATION_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  //
53  void setContextOfItems(OdDAIObjectId ContextOfItems);
54  OdAnsiString getRepresentationIdentifier() const;
55  void setRepresentationIdentifier(OdAnsiString RepresentationIdentifier);
56  OdAnsiString getRepresentationType() const;
57  void setRepresentationType(OdAnsiString RepresentationType);
58  void getItemsAggr(OdDAIObjectIds &aggregate) const;
59  void setItemsAggr(const OdDAIObjectIds &aggregate);
63 
65  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
66  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
67  virtual void setInverseCounterParts();
68  virtual void resetInverseCounterParts();
69  virtual bool isKindOf(OdIfcEntityType entityType) const;
70  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
71  virtual OdDAI::Entity* getInstanceType() const;
72  virtual OdIfcEntityType type() const;
73  virtual OdAnsiString typeName() const;
74  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
75  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
76  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
77  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
78  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
79  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
80  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
81  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
82 
83 protected:
84  // Fields declaration:
85  OdDAIObjectId m_ContextOfItems; // IfcRepresentationContext
86  OdAnsiString m_RepresentationIdentifier; // optional
87  OdAnsiString m_RepresentationType; // optional
88  OdDAIObjectIds m_Items; // SET [1:?] OF IfcRepresentationItem
89  OdDAIObjectIds m_RepresentationMap_inv; // IfcRepresentationMap
90  OdDAIObjectIds m_LayerAssignments_inv; // IfcPresentationLayerAssignment
91  OdDAIObjectIds m_OfProductRepresentation_inv; // IfcProductRepresentation
92 
93  // Declare friend classes for inverse attributes functionality:
97 };
98 
99 } // namespace
100 
101 #endif // _IFCREPRESENTATION_AUTO_IMPL_4_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4::OdIfcRepresentationAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdDAIObjectId
Definition: daiObjectId.h:67
IfcPubCommon.h
OdIfc4::OdIfcRepresentationAuto::getRepresentationType
OdAnsiString getRepresentationType() const
OdIfc4::OdIfcRepresentationAuto
Definition: Ifc4/IfcRepresentationAutoImpl.h:41
OdIfc4::OdIfcRepresentationAuto::m_LayerAssignments_inv
OdDAIObjectIds m_LayerAssignments_inv
Definition: Ifc4/IfcRepresentationAutoImpl.h:90
OdIfc4::OdIfcRepresentationAuto::m_Items
OdDAIObjectIds m_Items
Definition: Ifc4/IfcRepresentationAutoImpl.h:88
OdIfc4::OdIfcRepresentationAuto::getContextOfItems
OdDAIObjectId getContextOfItems() const
OdArray< OdDAIObjectId >
OdIfc4::OdIfcRepresentationAuto::setRepresentationType
void setRepresentationType(OdAnsiString RepresentationType)
OdIfc4::OdIfcRepresentationAuto::setItemsAggr
void setItemsAggr(const OdDAIObjectIds &aggregate)
OdIfc4::OdIfcRepresentationAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4::OdIfcRepresentationAuto::m_RepresentationIdentifier
OdAnsiString m_RepresentationIdentifier
Definition: Ifc4/IfcRepresentationAutoImpl.h:86
OdIfc4::OdIfcRepresentationMapAuto
Definition: Ifc4/IfcRepresentationMapAutoImpl.h:41
IfcCollectionTypes.h
OdIfc4::OdIfcRepresentationAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4::OdIfcRepresentationAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc4
Definition: Ifc4CollectionTypes.h:33
OdIfc4::OdIfcRepresentationAuto::getInvOfProductRepresentationAggr
void getInvOfProductRepresentationAggr(OdDAIObjectIds &aggregate) const
OdRxValue
Definition: RxValue.h:64
OdIfc4::OdIfcRepresentationAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4::OdIfcRepresentationAuto::m_RepresentationMap_inv
OdDAIObjectIds m_RepresentationMap_inv
Definition: Ifc4/IfcRepresentationAutoImpl.h:89
Ifc4Enum.h
OdIfc4::OdIfcRepresentationAuto::m_RepresentationType
OdAnsiString m_RepresentationType
Definition: Ifc4/IfcRepresentationAutoImpl.h:87
OdIfc4::OdIfcRepresentationAuto::getInvRepresentationMapAggr
void getInvRepresentationMapAggr(OdDAIObjectIds &aggregate) const
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4EntityTypes.h:34
OdIfc4::OdIfcRepresentationAuto::setInverseCounterParts
virtual void setInverseCounterParts()
OdIfc4::OdIfcRepresentationAuto::setContextOfItems
void setContextOfItems(OdDAIObjectId ContextOfItems)
OdIfc4::OdIfcRepresentationAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc4::OdIfcRepresentationAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdIfc4::OdIfcRepresentationAuto::getItemsAggr
void getItemsAggr(OdDAIObjectIds &aggregate) const
OdIfc::OdIfcEntity
Definition: IfcEntity.h:84
OdIfc4::OdIfcRepresentationAuto::getRepresentationIdentifier
OdAnsiString getRepresentationIdentifier() const
OdIfc4::OdIfcRepresentationAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4::OdIfcRepresentationAuto::OdIfcRepresentationAuto
OdIfcRepresentationAuto()
OdIfc4::OdIfcRepresentationAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4::OdIfcRepresentationAuto::m_ContextOfItems
OdDAIObjectId m_ContextOfItems
Definition: Ifc4/IfcRepresentationAutoImpl.h:85
OdIfc4::OdIfcRepresentationAuto::resetInverseCounterParts
virtual void resetInverseCounterParts()
OdIfc4::OdIfcRepresentationAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
OdIfc4::OdIfcRepresentationAuto::setRepresentationIdentifier
void setRepresentationIdentifier(OdAnsiString RepresentationIdentifier)
OdIfc4::OdIfcRepresentationAuto::type
virtual OdIfcEntityType type() const
OdIfc4::OdIfcRepresentationAuto::m_OfProductRepresentation_inv
OdDAIObjectIds m_OfProductRepresentation_inv
Definition: Ifc4/IfcRepresentationAutoImpl.h:91
OdIfc4::OdIfcRepresentationAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4::OdIfcRepresentationAuto::getInvLayerAssignmentsAggr
void getInvLayerAssignmentsAggr(OdDAIObjectIds &aggregate) const
OdIfc4::OdIfcRepresentationAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdIfc4::OdIfcProductRepresentationAuto
Definition: Ifc4/IfcProductRepresentationAutoImpl.h:41
OdIfc4::OdIfcRepresentationAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
Ifc4SelectTypes.h
IFC4_EXPORT
#define IFC4_EXPORT
Definition: IfcBuildOptions.h:44
OdIfc4::OdIfcPresentationLayerAssignmentAuto
Definition: Ifc4/IfcPresentationLayerAssignmentAutoImpl.h:41
OdIfc4::OdIfcRepresentationAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)