CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x1/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 _IFC4X1_IFCREPRESENTATION_AUTO_IMPL_H
27#define _IFC4X1_IFCREPRESENTATION_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc4x1Enum.h"
32#include "Ifc4x1SelectTypes.h"
34#include "Ifc4x1BuildOption.h"
36
41namespace OdIfc4x1 {
42
44{
45 //DOM-IGNORE-BEGIN
46 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x1::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
112 virtual void unsetAttr(const char * explicitAttrName);
113
120 virtual bool testAttr(const char * explicitAttrName) const;
121
129 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
130
137 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
138
145
152 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
153
158 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
159
166 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
167
175 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
176
177protected:
178 // Fields declaration:
179 OdDAIObjectId m_ContextOfItems; // IfcRepresentationContext
180 OdAnsiString m_RepresentationIdentifier; // IfcLabel [optional]
181 OdAnsiString m_RepresentationType; // IfcLabel [optional]
182 OdDAI::OdDAIObjectIdSet m_Items; // SET [1:?] of IfcRepresentationItem
183
184 // Declare friend classes for inverse attributes functionality:
188};
189
194
195} // namespace
196
197#endif // _IFC4X1_IFCREPRESENTATION_AUTO_IMPL_H
#define IFC4X1_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual OdRxValue getAttr(const char *attrName) const
void setContextOfItems(const OdDAIObjectId &ContextOfItems)
virtual bool testAttr(const char *explicitAttrName) const
OdDAI::OdDAIObjectIdSet & items()
virtual OdIfc::OdIfcEntityType type() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
void getInvLayerAssignments(OdDAIObjectIds &LayerAssignments) const
void getInvOfProductRepresentation(OdDAIObjectIds &OfProductRepresentation) const
virtual void unsetAttr(const char *explicitAttrName)
void getItems(OdDAIObjectIds &Items) const
const OdAnsiString & getRepresentationIdentifier() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
void setRepresentationType(const OdAnsiString &RepresentationType)
virtual OdDAI::Entity * getInstanceType() const
const OdDAIObjectId & getContextOfItems() const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void getInvRepresentationMap(OdDAIObjectIds &RepresentationMap) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
void setRepresentationIdentifier(const OdAnsiString &RepresentationIdentifier)
const OdAnsiString & getRepresentationType() const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual void setInverseCounterParts()
OdSmartPtr< IfcRepresentation > IfcRepresentationPtr