GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 1 / 0 / 1
Functions: 100.0% 1 / 0 / 1
Branches: -% 0 / 0 / 0

src/model/RefrigerationWalkInZoneBoundary_Impl.hpp
Line Branch Exec Source
1 /***********************************************************************************************************************
2 * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC.
3 * See also https://openstudio.net/license
4 ***********************************************************************************************************************/
5
6 #ifndef MODEL_REFRIGERATIONWALKINZONEBOUNDARY_IMPL_HPP
7 #define MODEL_REFRIGERATIONWALKINZONEBOUNDARY_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class ThermalZone;
16 class Schedule;
17
18 namespace detail {
19
20 /** RefrigerationWalkInZoneBoundary_Impl is a ModelObject_Impl that is the implementation class for RefrigerationWalkInZoneBoundary.*/
21 class MODEL_API RefrigerationWalkInZoneBoundary_Impl : public ModelObject_Impl
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 RefrigerationWalkInZoneBoundary_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 RefrigerationWalkInZoneBoundary_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
30
31 RefrigerationWalkInZoneBoundary_Impl(const RefrigerationWalkInZoneBoundary_Impl& other, Model_Impl* model, bool keepHandle);
32
33 104 virtual ~RefrigerationWalkInZoneBoundary_Impl() override = default;
34
35 //@}
36 /** @name Virtual Methods */
37 //@{
38
39 virtual const std::vector<std::string>& outputVariableNames() const override;
40
41 virtual IddObjectType iddObjectType() const override;
42
43 virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
44
45 virtual ModelObject clone(Model model) const override;
46
47 //@}
48 /** @name Getters */
49 //@{
50
51 boost::optional<ThermalZone> thermalZone() const;
52
53 double totalInsulatedSurfaceAreaFacingZone() const;
54
55 double insulatedSurfaceUValueFacingZone() const;
56
57 bool isInsulatedSurfaceUValueFacingZoneDefaulted() const;
58
59 double areaofGlassReachInDoorsFacingZone() const;
60
61 bool isAreaofGlassReachInDoorsFacingZoneDefaulted() const;
62
63 double heightofGlassReachInDoorsFacingZone() const;
64
65 bool isHeightofGlassReachInDoorsFacingZoneDefaulted() const;
66
67 double glassReachInDoorUValueFacingZone() const;
68
69 bool isGlassReachInDoorUValueFacingZoneDefaulted() const;
70
71 boost::optional<Schedule> glassReachInDoorOpeningScheduleFacingZone() const;
72
73 double areaofStockingDoorsFacingZone() const;
74
75 bool isAreaofStockingDoorsFacingZoneDefaulted() const;
76
77 double heightofStockingDoorsFacingZone() const;
78
79 bool isHeightofStockingDoorsFacingZoneDefaulted() const;
80
81 double stockingDoorUValueFacingZone() const;
82
83 bool isStockingDoorUValueFacingZoneDefaulted() const;
84
85 boost::optional<Schedule> stockingDoorOpeningScheduleFacingZone() const;
86
87 std::string stockingDoorOpeningProtectionTypeFacingZone() const;
88
89 bool isStockingDoorOpeningProtectionTypeFacingZoneDefaulted() const;
90
91 //@}
92 /** @name Setters */
93 //@{
94
95 bool setThermalZone(const ThermalZone& thermalZone);
96
97 void resetThermalZone();
98
99 bool setTotalInsulatedSurfaceAreaFacingZone(double totalInsulatedSurfaceAreaFacingZone);
100
101 bool setInsulatedSurfaceUValueFacingZone(double insulatedSurfaceUValueFacingZone);
102
103 void resetInsulatedSurfaceUValueFacingZone();
104
105 bool setAreaofGlassReachInDoorsFacingZone(double areaofGlassReachInDoorsFacingZone);
106
107 void resetAreaofGlassReachInDoorsFacingZone();
108
109 bool setHeightofGlassReachInDoorsFacingZone(double heightofGlassReachInDoorsFacingZone);
110
111 void resetHeightofGlassReachInDoorsFacingZone();
112
113 bool setGlassReachInDoorUValueFacingZone(double glassReachInDoorUValueFacingZone);
114
115 void resetGlassReachInDoorUValueFacingZone();
116
117 bool setGlassReachInDoorOpeningScheduleFacingZone(Schedule& schedule);
118
119 void resetGlassReachInDoorOpeningScheduleFacingZone();
120
121 bool setAreaofStockingDoorsFacingZone(double areaofStockingDoorsFacingZone);
122
123 void resetAreaofStockingDoorsFacingZone();
124
125 bool setHeightofStockingDoorsFacingZone(double heightofStockingDoorsFacingZone);
126
127 void resetHeightofStockingDoorsFacingZone();
128
129 bool setStockingDoorUValueFacingZone(double stockingDoorUValueFacingZone);
130
131 void resetStockingDoorUValueFacingZone();
132
133 bool setStockingDoorOpeningScheduleFacingZone(Schedule& schedule);
134
135 void resetStockingDoorOpeningScheduleFacingZone();
136
137 bool setStockingDoorOpeningProtectionTypeFacingZone(const std::string& stockingDoorOpeningProtectionTypeFacingZone);
138
139 void resetStockingDoorOpeningProtectionTypeFacingZone();
140
141 //@}
142 /** @name Other */
143 //@{
144
145 //@}
146 protected:
147 private:
148 REGISTER_LOGGER("openstudio.model.RefrigerationWalkInZoneBoundary");
149 };
150
151 } // namespace detail
152
153 } // namespace model
154 } // namespace openstudio
155
156 #endif // MODEL_REFRIGERATIONWALKINZONEBOUNDARY_IMPL_HPP
157