CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4/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 _IFC4_IFCREFERENCE_AUTO_IMPL_H
27#define _IFC4_IFCREFERENCE_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc4Enum.h"
32#include "Ifc4SelectTypes.h"
33#include "Ifc4CollectionTypes.h"
34#include "Ifc4BuildOption.h"
35
40namespace OdIfc4 {
41
43{
44 //DOM-IGNORE-BEGIN
45 OD_EXP_DECLARE_MEMBERS(OdIfc4::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
118 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const;
119
124 virtual void unsetAttr(const char * explicitAttrName);
125
132 virtual bool testAttr(const char * explicitAttrName) const;
133
141 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
142
149 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
150
157
164 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
165
170 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
171
178 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
179
187 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
188
189protected:
190 // Fields declaration:
191 OdAnsiString m_TypeIdentifier; // IfcIdentifier [optional]
192 OdAnsiString m_AttributeIdentifier; // IfcIdentifier [optional]
193 OdAnsiString m_InstanceName; // IfcLabel [optional]
194 OdDAI::IntList m_ListPositions; // LIST [1:?] of IfcInteger [optional]
195
196 OdDAIObjectId m_InnerReference; // IfcReference [optional]
197};
198
203
204} // namespace
205
206#endif // _IFC4_IFCREFERENCE_AUTO_IMPL_H
#define IFC4_EXPORT
OdResult
Definition: OdResult.h:29
void setInnerReference(const OdDAIObjectId &InnerReference)
virtual OdRxValue getAttr(const char *attrName) const
virtual bool testAttr(const char *explicitAttrName) const
virtual void unsetAttr(const char *explicitAttrName)
const OdDAIObjectId & getInnerReference() const
virtual OdIfc::OdIfcEntityType type() const
void setAttributeIdentifier(const OdAnsiString &AttributeIdentifier)
const OdAnsiString & getAttributeIdentifier() const
virtual OdDAI::Entity * getInstanceType() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
void getListPositions(OdArray< int > &ListPositions) const
const OdAnsiString & getTypeIdentifier() const
void setTypeIdentifier(const OdAnsiString &TypeIdentifier)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
void setInstanceName(const OdAnsiString &InstanceName)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
const OdAnsiString & getInstanceName() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const
OdDAI::IntList & listPositions()
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
OdSmartPtr< IfcReference > IfcReferencePtr
Ordering
Definition: RxObject.h:295