GCC Code Coverage Report


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

src/model/RefrigerationWalkInZoneBoundary.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_HPP
7 #define MODEL_REFRIGERATIONWALKINZONEBOUNDARY_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject.hpp"
11
12 namespace openstudio {
13
14 namespace model {
15
16 class ThermalZone;
17 class Schedule;
18
19 namespace detail {
20
21 class RefrigerationWalkInZoneBoundary_Impl;
22
23 } // namespace detail
24
25 /** RefrigerationWalkInZoneBoundary is a ModelObject that wraps the OpenStudio IDD object 'OS:Refrigeration:WalkIn:ZoneBoundary'. */
26 class MODEL_API RefrigerationWalkInZoneBoundary : public ModelObject
27 {
28 public:
29 /** @name Constructors and Destructors */
30 //@{
31
32 explicit RefrigerationWalkInZoneBoundary(const Model& model);
33
34 206 virtual ~RefrigerationWalkInZoneBoundary() override = default;
35 // Default the copy and move operators because the virtual dtor is explicit
36 29 RefrigerationWalkInZoneBoundary(const RefrigerationWalkInZoneBoundary& other) = default;
37 36 RefrigerationWalkInZoneBoundary(RefrigerationWalkInZoneBoundary&& other) = default;
38 ✗ RefrigerationWalkInZoneBoundary& operator=(const RefrigerationWalkInZoneBoundary&) = default;
39 ✗ RefrigerationWalkInZoneBoundary& operator=(RefrigerationWalkInZoneBoundary&&) = default;
40
41 //@}
42
43 static IddObjectType iddObjectType();
44
45 static std::vector<std::string> stockingDoorOpeningProtectionTypeFacingZoneValues();
46
47 /** @name Getters */
48 //@{
49
50 boost::optional<ThermalZone> thermalZone() const;
51
52 double totalInsulatedSurfaceAreaFacingZone() const;
53
54 double insulatedSurfaceUValueFacingZone() const;
55
56 bool isInsulatedSurfaceUValueFacingZoneDefaulted() const;
57
58 double areaofGlassReachInDoorsFacingZone() const;
59
60 bool isAreaofGlassReachInDoorsFacingZoneDefaulted() const;
61
62 double heightofGlassReachInDoorsFacingZone() const;
63
64 bool isHeightofGlassReachInDoorsFacingZoneDefaulted() const;
65
66 double glassReachInDoorUValueFacingZone() const;
67
68 bool isGlassReachInDoorUValueFacingZoneDefaulted() const;
69
70 boost::optional<Schedule> glassReachInDoorOpeningScheduleFacingZone() const;
71
72 double areaofStockingDoorsFacingZone() const;
73
74 bool isAreaofStockingDoorsFacingZoneDefaulted() const;
75
76 double heightofStockingDoorsFacingZone() const;
77
78 bool isHeightofStockingDoorsFacingZoneDefaulted() const;
79
80 double stockingDoorUValueFacingZone() const;
81
82 bool isStockingDoorUValueFacingZoneDefaulted() const;
83
84 boost::optional<Schedule> stockingDoorOpeningScheduleFacingZone() const;
85
86 std::string stockingDoorOpeningProtectionTypeFacingZone() const;
87
88 bool isStockingDoorOpeningProtectionTypeFacingZoneDefaulted() const;
89
90 //@}
91 /** @name Setters */
92 //@{
93
94 bool setThermalZone(const ThermalZone& thermalZone);
95
96 void resetThermalZone();
97
98 bool setTotalInsulatedSurfaceAreaFacingZone(double totalInsulatedSurfaceAreaFacingZone);
99
100 bool setInsulatedSurfaceUValueFacingZone(double insulatedSurfaceUValueFacingZone);
101
102 void resetInsulatedSurfaceUValueFacingZone();
103
104 bool setAreaofGlassReachInDoorsFacingZone(double areaofGlassReachInDoorsFacingZone);
105
106 void resetAreaofGlassReachInDoorsFacingZone();
107
108 bool setHeightofGlassReachInDoorsFacingZone(double heightofGlassReachInDoorsFacingZone);
109
110 void resetHeightofGlassReachInDoorsFacingZone();
111
112 bool setGlassReachInDoorUValueFacingZone(double glassReachInDoorUValueFacingZone);
113
114 void resetGlassReachInDoorUValueFacingZone();
115
116 bool setGlassReachInDoorOpeningScheduleFacingZone(Schedule& schedule);
117
118 void resetGlassReachInDoorOpeningScheduleFacingZone();
119
120 bool setAreaofStockingDoorsFacingZone(double areaofStockingDoorsFacingZone);
121
122 void resetAreaofStockingDoorsFacingZone();
123
124 bool setHeightofStockingDoorsFacingZone(double heightofStockingDoorsFacingZone);
125
126 void resetHeightofStockingDoorsFacingZone();
127
128 bool setStockingDoorUValueFacingZone(double stockingDoorUValueFacingZone);
129
130 void resetStockingDoorUValueFacingZone();
131
132 bool setStockingDoorOpeningScheduleFacingZone(Schedule& schedule);
133
134 void resetStockingDoorOpeningScheduleFacingZone();
135
136 bool setStockingDoorOpeningProtectionTypeFacingZone(const std::string& stockingDoorOpeningProtectionTypeFacingZone);
137
138 void resetStockingDoorOpeningProtectionTypeFacingZone();
139
140 //@}
141 /** @name Other */
142 //@{
143
144 //@}
145 protected:
146 /// @cond
147 using ImplType = detail::RefrigerationWalkInZoneBoundary_Impl;
148
149 explicit RefrigerationWalkInZoneBoundary(std::shared_ptr<detail::RefrigerationWalkInZoneBoundary_Impl> impl);
150
151 friend class detail::RefrigerationWalkInZoneBoundary_Impl;
152 friend class Model;
153 friend class IdfObject;
154 friend class openstudio::detail::IdfObject_Impl;
155 /// @endcond
156 private:
157 REGISTER_LOGGER("openstudio.model.RefrigerationWalkInZoneBoundary");
158 };
159
160 /** \relates RefrigerationWalkInZoneBoundary*/
161 using OptionalRefrigerationWalkInZoneBoundary = boost::optional<RefrigerationWalkInZoneBoundary>;
162
163 /** \relates RefrigerationWalkInZoneBoundary*/
164 using RefrigerationWalkInZoneBoundaryVector = std::vector<RefrigerationWalkInZoneBoundary>;
165
166 } // namespace model
167 } // namespace openstudio
168
169 #endif // MODEL_REFRIGERATIONWALKINZONEBOUNDARY_HPP
170