CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x2/IfcReferenceAutoImpl.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 _IFC4X2_IFCREFERENCE_AUTO_IMPL_H
27#define _IFC4X2_IFCREFERENCE_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc4x2Enum.h"
32#include "Ifc4x2SelectTypes.h"
34#include "Ifc4x2BuildOption.h"
35
40namespace OdIfc4x2 {
41
43{
44 //DOM-IGNORE-BEGIN
45 OD_EXP_DECLARE_MEMBERS(OdIfc4x2::IfcReference);
46 //DOM-IGNORE-END
47
48public:
49
50
51 //
52 // OdDAI early binding accessors
53 //
54
55 const OdAnsiString& getTypeIdentifier() const;
56 void setTypeIdentifier(const OdAnsiString& TypeIdentifier);
57 const OdAnsiString& getAttributeIdentifier() const;
58 void setAttributeIdentifier(const OdAnsiString& AttributeIdentifier);
59 const OdAnsiString& getInstanceName() const;
60 void setInstanceName(const OdAnsiString& InstanceName);
61 void getListPositions(OdArray<int >& ListPositions) const;
62 OdDAI::IntList& listPositions();
63 const OdDAIObjectId& getInnerReference() const;
64 void setInnerReference(const OdDAIObjectId& InnerReference);
65
66
67public:
69
76 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
77
84 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
85
91 virtual OdDAI::Entity* getInstanceType() const;
92
99 virtual OdRxValue getAttr(const char * attrName) const;
100
105 virtual void unsetAttr(const char * explicitAttrName);
106
113 virtual bool testAttr(const char * explicitAttrName) const;
114
122 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
123
130 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
131
138
145 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
146
151 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
152
159 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
160
168 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
169
170protected:
171 // Fields declaration:
172 OdAnsiString m_TypeIdentifier; // IfcIdentifier [optional]
173 OdAnsiString m_AttributeIdentifier; // IfcIdentifier [optional]
174 OdAnsiString m_InstanceName; // IfcLabel [optional]
175 OdDAI::IntList m_ListPositions; // LIST [1:?] of IfcInteger [optional]
176
177 OdDAIObjectId m_InnerReference; // IfcReference [optional]
178};
179
184
185} // namespace
186
187#endif // _IFC4X2_IFCREFERENCE_AUTO_IMPL_H
#define IFC4X2_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
const OdAnsiString & getInstanceName() const
virtual void unsetAttr(const char *explicitAttrName)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
OdDAI::IntList & listPositions()
virtual bool testAttr(const char *explicitAttrName) const
void setAttributeIdentifier(const OdAnsiString &AttributeIdentifier)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
void setInstanceName(const OdAnsiString &InstanceName)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual OdDAI::Entity * getInstanceType() const
virtual OdRxValue getAttr(const char *attrName) const
void getListPositions(OdArray< int > &ListPositions) const
const OdAnsiString & getAttributeIdentifier() const
virtual OdIfc::OdIfcEntityType type() const
void setTypeIdentifier(const OdAnsiString &TypeIdentifier)
const OdDAIObjectId & getInnerReference() const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
const OdAnsiString & getTypeIdentifier() const
void setInnerReference(const OdDAIObjectId &InnerReference)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
OdSmartPtr< IfcReference > IfcReferencePtr