CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Ifc4x2/IfcRepresentationAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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 _IFC4X2_IFCREPRESENTATION_AUTO_IMPL_H
27#define _IFC4X2_IFCREPRESENTATION_AUTO_IMPL_H
28
29#include "Ifc4x2BaseClass.h"
30
31#include "Ifc4x2Enum.h"
32#include "Ifc4x2SelectTypes.h"
35
40namespace OdIfc4x2 {
41
60{
61 //DOM-IGNORE-BEGIN
62 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x2::IfcRepresentation);
63 //DOM-IGNORE-END
64
65public:
66
67
68 //
69 // OdDAI early binding accessors
70 //
71
72
79 const OdDAIObjectId& getContextOfItems() const;
80
86 void setContextOfItems(const OdDAIObjectId& ContextOfItems);
87
94 const OdAnsiString& getRepresentationIdentifier() const;
95
101 void setRepresentationIdentifier(const OdAnsiString& RepresentationIdentifier);
102
112 const OdAnsiString& getRepresentationType() const;
113
122 void setRepresentationType(const OdAnsiString& RepresentationType);
123
129 void getItems(OdDAIObjectIds& Items) const;
130
137 OdDAI::SetOfOdDAIObjectId& items();
138
146 void getInvRepresentationMap(OdDAIObjectIds& RepresentationMap) const;
147
156 void getInvLayerAssignments(OdDAIObjectIds& LayerAssignments) const;
157
164 void getInvOfProductRepresentation(OdDAIObjectIds& OfProductRepresentation) const;
165
166
167public:
168
173
180 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
181
188 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
189
193 virtual void setInverseCounterParts() override;
194
200 virtual OdDAI::Entity* getInstanceType() const override;
201
208 virtual OdRxValue getAttr(const char * attrName) const override;
209
214 virtual void unsetAttr(const char * explicitAttrName) override;
215
222 virtual bool testAttr(const char * explicitAttrName) const override;
223
231 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
232
239 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
240
246 virtual OdIfc::OdIfcEntityType type() const override;
247
254 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
255
260 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
261
268 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
269
277 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
278
279protected:
280 // Fields declaration:
281 OdDAIObjectId m_ContextOfItems; // IfcRepresentationContext
282 OdAnsiString m_RepresentationIdentifier; // IfcLabel [optional]
283 OdAnsiString m_RepresentationType; // IfcLabel [optional]
284 OdDAI::SetOfOdDAIObjectId m_Items; // SET [1:?] of IfcRepresentationItem
285
286 // Declare friend classes for inverse attributes functionality:
290};
291
296
297} // namespace
298
299#endif // _IFC4X2_IFCREPRESENTATION_AUTO_IMPL_H
#define IFC4X2_EXPORT
OdResult
Definition OdResult.h:29
void getInvRepresentationMap(OdDAIObjectIds &RepresentationMap) const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
virtual bool testAttr(const char *explicitAttrName) const override
const OdDAIObjectId & getContextOfItems() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
virtual void setInverseCounterParts() override
void getItems(OdDAIObjectIds &Items) const
virtual OdIfc::OdIfcEntityType type() const override
void getInvOfProductRepresentation(OdDAIObjectIds &OfProductRepresentation) const
virtual OdRxValue getAttr(const char *attrName) const override
virtual OdDAI::Entity * getInstanceType() const override
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
virtual void unsetAttr(const char *explicitAttrName) override
const OdAnsiString & getRepresentationType() const
void setRepresentationType(const OdAnsiString &RepresentationType)
const OdAnsiString & getRepresentationIdentifier() const
OdDAI::SetOfOdDAIObjectId & items()
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
void setContextOfItems(const OdDAIObjectId &ContextOfItems)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
void getInvLayerAssignments(OdDAIObjectIds &LayerAssignments) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
void setRepresentationIdentifier(const OdAnsiString &RepresentationIdentifier)
OdSmartPtr< IfcRepresentation > IfcRepresentationPtr