CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc2x2_Final/IfcOrganizationRelationshipAutoImpl.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_IFCORGANIZATIONRELATIONSHIP_AUTO_IMPL_H
27#define _IFC2X2_FINAL_IFCORGANIZATIONRELATIONSHIP_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc2x2_FinalEnum.h"
36
41namespace OdIfc2x2_final {
42
44{
45 //DOM-IGNORE-BEGIN
46 OD_EXP_DECLARE_MEMBERS(OdIfc2x2_final::IfcOrganizationRelationship);
47 //DOM-IGNORE-END
48
49public:
50
51
52 //
53 // OdDAI early binding accessors
54 //
55
56 const OdAnsiString& getName() const;
57 void setName(const OdAnsiString& Name);
58 const OdAnsiString& getDescription() const;
59 void setDescription(const OdAnsiString& Description);
60 const OdDAIObjectId& getRelatingOrganization() const;
61 void setRelatingOrganization(const OdDAIObjectId& RelatingOrganization);
62 void getRelatedOrganizations(OdDAIObjectIds& RelatedOrganizations) const;
63 OdDAI::OdDAIObjectIdSet& relatedOrganizations();
64
65
66public:
68
75 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
76
83 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
84
90 virtual OdDAI::Entity* getInstanceType() const;
91
98 virtual OdRxValue getAttr(const char * attrName) const;
99
104 virtual void unsetAttr(const char * explicitAttrName);
105
112 virtual bool testAttr(const char * explicitAttrName) const;
113
121 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
122
129 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
130
137
144 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
145
150 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
151
158 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
159
167 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
168
169protected:
170 // Fields declaration:
171 OdAnsiString m_Name; // IfcLabel
172 OdAnsiString m_Description; // IfcText [optional]
173 OdDAIObjectId m_RelatingOrganization; // IfcOrganization
174 OdDAI::OdDAIObjectIdSet m_RelatedOrganizations; // SET [1:?] of IfcOrganization
175};
176
181
182} // namespace
183
184#endif // _IFC2X2_FINAL_IFCORGANIZATIONRELATIONSHIP_AUTO_IMPL_H
#define IFC2X2_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
void setDescription(const OdAnsiString &Description)
virtual OdIfc::OdIfcEntityType type() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
void setName(const OdAnsiString &Name)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdDAI::OdDAIObjectIdSet & relatedOrganizations()
void setRelatingOrganization(const OdDAIObjectId &RelatingOrganization)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual void unsetAttr(const char *explicitAttrName)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual bool testAttr(const char *explicitAttrName) const
void getRelatedOrganizations(OdDAIObjectIds &RelatedOrganizations) const
const OdDAIObjectId & getRelatingOrganization() const
const OdAnsiString & getName() const
const OdAnsiString & getDescription() const
virtual OdRxValue getAttr(const char *attrName) const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual OdDAI::Entity * getInstanceType() const
OdSmartPtr< IfcOrganizationRelationship > IfcOrganizationRelationshipPtr