CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcCompartmentAutoImpl.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_IFCCOMPARTMENT_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCCOMPARTMENT_AUTO_IMPL_H
28
29#include "IfcZoneAutoImpl.h"
30
35namespace OdIfc2x_final {
36
38{
39 //DOM-IGNORE-BEGIN
40 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcCompartment);
41 //DOM-IGNORE-END
42
43public:
44
45
46 //
47 // OdDAI early binding accessors
48 //
49
50 OdDAI::Logical getHasNaturalVentilation() const;
51 void setHasNaturalVentilation(OdDAI::Logical HasNaturalVentilation);
52 OdDAI::Logical getHasSprinklerProtection() const;
53 void setHasSprinklerProtection(OdDAI::Logical HasSprinklerProtection);
54 int getFireRiskFactor() const;
55 void setFireRiskFactor(int FireRiskFactor);
56
57
58public:
60
67 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
68
75 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
76
82 virtual OdDAI::Entity* getInstanceType() const;
83
90 virtual OdRxValue getAttr(const char * attrName) const;
91
96 virtual void unsetAttr(const char * explicitAttrName);
97
104 virtual bool testAttr(const char * explicitAttrName) const;
105
113 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
114
121 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
122
129
136 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
137
142 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
143
150 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
151
159 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
160
161protected:
162 // Fields declaration:
163 OdDAI::Logical m_HasNaturalVentilation; // LOGICAL [optional]
164 OdDAI::Logical m_HasSprinklerProtection; // LOGICAL [optional]
165 int m_FireRiskFactor; // INTEGER [optional]
166};
167
172
173} // namespace
174
175#endif // _IFC2X_FINAL_IFCCOMPARTMENT_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
virtual void unsetAttr(const char *explicitAttrName)
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual OdDAI::Entity * getInstanceType() const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
void setFireRiskFactor(int FireRiskFactor)
virtual OdIfc::OdIfcEntityType type() const
OdDAI::Logical getHasSprinklerProtection() const
OdDAI::Logical getHasNaturalVentilation() const
virtual bool testAttr(const char *explicitAttrName) const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
void setHasNaturalVentilation(OdDAI::Logical HasNaturalVentilation)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual OdRxValue getAttr(const char *attrName) const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
void setHasSprinklerProtection(OdDAI::Logical HasSprinklerProtection)
OdSmartPtr< IfcCompartment > IfcCompartmentPtr