CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x2/IfcRelConnectsPortsAutoImpl.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_IFCRELCONNECTSPORTS_AUTO_IMPL_H
27#define _IFC4X2_IFCRELCONNECTSPORTS_AUTO_IMPL_H
28
30#include "IfcPortAutoImpl.h"
31#include "IfcElementAutoImpl.h"
32
37namespace OdIfc4x2 {
38
40{
41 //DOM-IGNORE-BEGIN
42 OD_EXP_DECLARE_MEMBERS(OdIfc4x2::IfcRelConnectsPorts);
43 //DOM-IGNORE-END
44
45public:
46
47
48 //
49 // OdDAI early binding accessors
50 //
51
52 const OdDAIObjectId& getRelatingPort() const;
53 void setRelatingPort(const OdDAIObjectId& RelatingPort);
54 const OdDAIObjectId& getRelatedPort() const;
55 void setRelatedPort(const OdDAIObjectId& RelatedPort);
56 const OdDAIObjectId& getRealizingElement() const;
57 void setRealizingElement(const OdDAIObjectId& RealizingElement);
58
59
60public:
61
68 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
69
76 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
77
81 virtual void setInverseCounterParts();
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_RelatingPort; // IfcPort
170 OdDAIObjectId m_RelatedPort; // IfcPort
171 OdDAIObjectId m_RealizingElement; // IfcElement [optional]
172};
173
178
179} // namespace
180
181#endif // _IFC4X2_IFCRELCONNECTSPORTS_AUTO_IMPL_H
#define IFC4X2_EXPORT
OdResult
Definition: OdResult.h:29
void setRelatingPort(const OdDAIObjectId &RelatingPort)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
const OdDAIObjectId & getRelatingPort() const
virtual OdDAI::Entity * getInstanceType() const
virtual void unsetAttr(const char *explicitAttrName)
void setRealizingElement(const OdDAIObjectId &RealizingElement)
virtual OdIfc::OdIfcEntityType type() const
const OdDAIObjectId & getRealizingElement() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
void setRelatedPort(const OdDAIObjectId &RelatedPort)
virtual void setInverseCounterParts()
virtual bool testAttr(const char *explicitAttrName) const
const OdDAIObjectId & getRelatedPort() const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual OdRxValue getAttr(const char *attrName) const
OdSmartPtr< IfcRelConnectsPorts > IfcRelConnectsPortsPtr