CFx SDK Documentation  2023 SP0
Ifc4x2/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_4x2_H
27 #define _IFCREPRESENTATION_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  //
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_4x2_H
#define IFC4X2_EXPORT
OdResult
Definition: OdResult.h:29
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
virtual OdDAI::Entity * getInstanceType() const
void setItemsAggr(const OdDAIObjectIds &aggregate)
void setRepresentationType(OdAnsiString RepresentationType)
void getInvOfProductRepresentationAggr(OdDAIObjectIds &aggregate) const
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
virtual OdAnsiString typeName() const
OdAnsiString getRepresentationType() const
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
void setContextOfItems(OdDAIObjectId ContextOfItems)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
void getInvLayerAssignmentsAggr(OdDAIObjectIds &aggregate) const
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
void setRepresentationIdentifier(OdAnsiString RepresentationIdentifier)
virtual bool isKindOf(OdIfcEntityType entityType) const
virtual OdIfcEntityType type() const
virtual bool isInstanceOf(OdIfcEntityType entityType) const
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
void getInvRepresentationMapAggr(OdDAIObjectIds &aggregate) const
OdAnsiString getRepresentationIdentifier() const
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdDAIObjectId getContextOfItems() const
void getItemsAggr(OdDAIObjectIds &aggregate) const
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95