CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcCostValueRelationshipAutoImpl.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 _IFC2X_FINAL_IFCCOSTVALUERELATIONSHIP_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCCOSTVALUERELATIONSHIP_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc2x_FinalEnum.h"
36
41namespace OdIfc2x_final {
42
44{
45 //DOM-IGNORE-BEGIN
46 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcCostValueRelationship);
47 //DOM-IGNORE-END
48
49public:
50
51
52 //
53 // OdDAI early binding accessors
54 //
55
56 const OdDAIObjectId& getComponentOf() const;
57 void setComponentOf(const OdDAIObjectId& ComponentOf);
58 void getCostComponents(OdDAIObjectIds& CostComponents) const;
59 OdDAI::OdDAIObjectIdSet& costComponents();
60 const OdAnsiString& getDescription() const;
61 void setDescription(const OdAnsiString& Description);
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_ComponentOf; // IfcCostValue
170 OdDAI::OdDAIObjectIdSet m_CostComponents; // SET [1:?] of IfcCostValue
171 OdAnsiString m_Description; // IfcText [optional]
172};
173
178
179} // namespace
180
181#endif // _IFC2X_FINAL_IFCCOSTVALUERELATIONSHIP_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
void setDescription(const OdAnsiString &Description)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
const OdDAIObjectId & getComponentOf() const
virtual OdDAI::Entity * getInstanceType() const
void getCostComponents(OdDAIObjectIds &CostComponents) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
const OdAnsiString & getDescription() const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
void setComponentOf(const OdDAIObjectId &ComponentOf)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual OdRxValue getAttr(const char *attrName) const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual void unsetAttr(const char *explicitAttrName)
OdDAI::OdDAIObjectIdSet & costComponents()
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual OdIfc::OdIfcEntityType type() const
virtual bool testAttr(const char *explicitAttrName) const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdSmartPtr< IfcCostValueRelationship > IfcCostValueRelationshipPtr