CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc2x2_Final/IfcDocumentInformationRelationshipAutoImpl.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 _IFC2X2_FINAL_IFCDOCUMENTINFORMATIONRELATIONSHIP_AUTO_IMPL_H
27#define _IFC2X2_FINAL_IFCDOCUMENTINFORMATIONRELATIONSHIP_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc2x2_FinalEnum.h"
36
41namespace OdIfc2x2_final {
42
44{
45 //DOM-IGNORE-BEGIN
47 //DOM-IGNORE-END
48
49public:
50
51
52 //
53 // OdDAI early binding accessors
54 //
55
56 const OdDAIObjectId& getRelatingDocument() const;
57 void setRelatingDocument(const OdDAIObjectId& RelatingDocument);
58 void getRelatedDocuments(OdDAIObjectIds& RelatedDocuments) const;
59 OdDAI::OdDAIObjectIdSet& relatedDocuments();
60 const OdAnsiString& getRelationshipType() const;
61 void setRelationshipType(const OdAnsiString& RelationshipType);
62
63
64public:
66
73 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
74
81 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
82
88 virtual OdDAI::Entity* getInstanceType() const;
89
96 virtual OdRxValue getAttr(const char * attrName) const;
97
102 virtual void unsetAttr(const char * explicitAttrName);
103
110 virtual bool testAttr(const char * explicitAttrName) const;
111
119 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
120
127 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
128
135
142 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
143
148 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
149
156 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
157
165 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
166
167protected:
168 // Fields declaration:
169 OdDAIObjectId m_RelatingDocument; // IfcDocumentInformation
170 OdDAI::OdDAIObjectIdSet m_RelatedDocuments; // SET [1:?] of IfcDocumentInformation
171 OdAnsiString m_RelationshipType; // IfcLabel [optional]
172};
173
178
179} // namespace
180
181#endif // _IFC2X2_FINAL_IFCDOCUMENTINFORMATIONRELATIONSHIP_AUTO_IMPL_H
#define IFC2X2_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdIfc::OdIfcEntityType type() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual OdRxValue getAttr(const char *attrName) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual void unsetAttr(const char *explicitAttrName)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual bool testAttr(const char *explicitAttrName) const
virtual OdDAI::Entity * getInstanceType() const
const OdDAIObjectId & getRelatingDocument() const
void setRelatingDocument(const OdDAIObjectId &RelatingDocument)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setRelationshipType(const OdAnsiString &RelationshipType)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
void getRelatedDocuments(OdDAIObjectIds &RelatedDocuments) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
const OdAnsiString & getRelationshipType() const
OdSmartPtr< IfcDocumentInformationRelationship > IfcDocumentInformationRelationshipPtr