CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc2x3/IfcRepresentationAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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 _IFC2X3_IFCREPRESENTATION_AUTO_IMPL_H
27#define _IFC2X3_IFCREPRESENTATION_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc2x3Enum.h"
32#include "Ifc2x3SelectTypes.h"
34#include "Ifc2x3BuildOption.h"
36
41namespace OdIfc2x3 {
42
44{
45 //DOM-IGNORE-BEGIN
46 OD_EXP_DECLARE_MEMBERS(OdIfc2x3::IfcRepresentation);
47 //DOM-IGNORE-END
48
49public:
50
51
52 //
53 // OdDAI early binding accessors
54 //
55
56 const OdDAIObjectId& getContextOfItems() const;
57 void setContextOfItems(const OdDAIObjectId& ContextOfItems);
58 const OdAnsiString& getRepresentationIdentifier() const;
59 void setRepresentationIdentifier(const OdAnsiString& RepresentationIdentifier);
60 const OdAnsiString& getRepresentationType() const;
61 void setRepresentationType(const OdAnsiString& RepresentationType);
62 void getItems(OdDAIObjectIds& Items) const;
63 OdDAI::OdDAIObjectIdSet& items();
64 void getInvRepresentationMap(OdDAIObjectIds& RepresentationMap) const;
65 void getInvLayerAssignments(OdDAIObjectIds& LayerAssignments) const;
66 void getInvOfProductRepresentation(OdDAIObjectIds& OfProductRepresentation) const;
67
68
69public:
71
78 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
79
86 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
87
91 virtual void setInverseCounterParts();
92
98 virtual OdDAI::Entity* getInstanceType() const;
99
106 virtual OdRxValue getAttr(const char * attrName) const;
107
125 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const;
126
131 virtual void unsetAttr(const char * explicitAttrName);
132
139 virtual bool testAttr(const char * explicitAttrName) const;
140
148 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
149
156 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
157
164
171 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
172
177 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
178
185 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
186
194 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
195
196protected:
197 // Fields declaration:
198 OdDAIObjectId m_ContextOfItems; // IfcRepresentationContext
199 OdAnsiString m_RepresentationIdentifier; // IfcLabel [optional]
200 OdAnsiString m_RepresentationType; // IfcLabel [optional]
201 OdDAI::OdDAIObjectIdSet m_Items; // SET [1:?] of IfcRepresentationItem
202
203 // Declare friend classes for inverse attributes functionality:
207};
208
213
214} // namespace
215
216#endif // _IFC2X3_IFCREPRESENTATION_AUTO_IMPL_H
#define IFC2X3_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual void setInverseCounterParts()
virtual void unsetAttr(const char *explicitAttrName)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual OdRxValue getAttr(const char *attrName) const
void getItems(OdDAIObjectIds &Items) const
void setRepresentationIdentifier(const OdAnsiString &RepresentationIdentifier)
const OdAnsiString & getRepresentationType() const
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
void setContextOfItems(const OdDAIObjectId &ContextOfItems)
void getInvRepresentationMap(OdDAIObjectIds &RepresentationMap) const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual OdIfc::OdIfcEntityType type() const
const OdAnsiString & getRepresentationIdentifier() const
virtual OdDAI::Entity * getInstanceType() const
virtual bool testAttr(const char *explicitAttrName) const
const OdDAIObjectId & getContextOfItems() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
void getInvLayerAssignments(OdDAIObjectIds &LayerAssignments) const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setRepresentationType(const OdAnsiString &RepresentationType)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
OdDAI::OdDAIObjectIdSet & items()
void getInvOfProductRepresentation(OdDAIObjectIds &OfProductRepresentation) const
OdSmartPtr< IfcRepresentation > IfcRepresentationPtr
Ordering
Definition: RxObject.h:295