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/SurfacePropertyOtherSideCoefficients_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_SURFACEPROPERTYOTHERSIDECOEFFICIENTS_IMPL_HPP
7 #define MODEL_SURFACEPROPERTYOTHERSIDECOEFFICIENTS_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ResourceObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Schedule;
16
17 namespace detail {
18
19 /** SurfacePropertyOtherSideCoefficients_Impl is a ResourceObject_Impl that is the implementation class for SurfacePropertyOtherSideCoefficients.*/
20 class MODEL_API SurfacePropertyOtherSideCoefficients_Impl : public ResourceObject_Impl
21 {
22
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 SurfacePropertyOtherSideCoefficients_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 SurfacePropertyOtherSideCoefficients_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
30
31 SurfacePropertyOtherSideCoefficients_Impl(const SurfacePropertyOtherSideCoefficients_Impl& other, Model_Impl* model, bool keepHandle);
32
33 6 virtual ~SurfacePropertyOtherSideCoefficients_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 //@}
46 /** @name Getters */
47 //@{
48
49 boost::optional<double> combinedConvectiveRadiativeFilmCoefficient() const;
50
51 double constantTemperature() const;
52
53 bool isConstantTemperatureDefaulted() const;
54
55 double constantTemperatureCoefficient() const;
56
57 bool isConstantTemperatureCoefficientDefaulted() const;
58
59 double externalDryBulbTemperatureCoefficient() const;
60
61 bool isExternalDryBulbTemperatureCoefficientDefaulted() const;
62
63 double groundTemperatureCoefficient() const;
64
65 bool isGroundTemperatureCoefficientDefaulted() const;
66
67 double windSpeedCoefficient() const;
68
69 bool isWindSpeedCoefficientDefaulted() const;
70
71 double zoneAirTemperatureCoefficient() const;
72
73 bool isZoneAirTemperatureCoefficientDefaulted() const;
74
75 boost::optional<Schedule> constantTemperatureSchedule() const;
76
77 bool sinusoidalVariationofConstantTemperatureCoefficient() const;
78
79 bool isSinusoidalVariationofConstantTemperatureCoefficientDefaulted() const;
80
81 double periodofSinusoidalVariation() const;
82
83 bool isPeriodofSinusoidalVariationDefaulted() const;
84
85 double previousOtherSideTemperatureCoefficient() const;
86
87 bool isPreviousOtherSideTemperatureCoefficientDefaulted() const;
88
89 boost::optional<double> minimumOtherSideTemperatureLimit() const;
90
91 boost::optional<double> maximumOtherSideTemperatureLimit() const;
92
93 //@}
94 /** @name Setters */
95 //@{
96
97 bool setCombinedConvectiveRadiativeFilmCoefficient(double combinedConvectiveRadiativeFilmCoefficient);
98
99 void resetCombinedConvectiveRadiativeFilmCoefficient();
100
101 bool setConstantTemperature(double constantTemperature);
102
103 void resetConstantTemperature();
104
105 bool setConstantTemperatureCoefficient(double constantTemperatureCoefficient);
106
107 void resetConstantTemperatureCoefficient();
108
109 bool setExternalDryBulbTemperatureCoefficient(double externalDryBulbTemperatureCoefficient);
110
111 void resetExternalDryBulbTemperatureCoefficient();
112
113 bool setGroundTemperatureCoefficient(double groundTemperatureCoefficient);
114
115 void resetGroundTemperatureCoefficient();
116
117 bool setWindSpeedCoefficient(double windSpeedCoefficient);
118
119 void resetWindSpeedCoefficient();
120
121 bool setZoneAirTemperatureCoefficient(double zoneAirTemperatureCoefficient);
122
123 void resetZoneAirTemperatureCoefficient();
124
125 bool setConstantTemperatureSchedule(Schedule& schedule);
126
127 void resetConstantTemperatureSchedule();
128
129 bool setSinusoidalVariationofConstantTemperatureCoefficient(bool sinusoidalVariationofConstantTemperatureCoefficient);
130
131 void resetSinusoidalVariationofConstantTemperatureCoefficient();
132
133 bool setPeriodofSinusoidalVariation(double periodofSinusoidalVariation);
134
135 void resetPeriodofSinusoidalVariation();
136
137 bool setPreviousOtherSideTemperatureCoefficient(double previousOtherSideTemperatureCoefficient);
138
139 void resetPreviousOtherSideTemperatureCoefficient();
140
141 bool setMinimumOtherSideTemperatureLimit(double minimumOtherSideTemperatureLimit);
142
143 void resetMinimumOtherSideTemperatureLimit();
144
145 bool setMaximumOtherSideTemperatureLimit(double maximumOtherSideTemperatureLimit);
146
147 void resetMaximumOtherSideTemperatureLimit();
148
149 //@}
150 /** @name Other */
151 //@{
152
153 //@}
154 protected:
155 private:
156 REGISTER_LOGGER("openstudio.model.SurfacePropertyOtherSideCoefficients");
157 };
158
159 } // namespace detail
160
161 } // namespace model
162 } // namespace openstudio
163
164 #endif // MODEL_SURFACEPROPERTYOTHERSIDECOEFFICIENTS_IMPL_HPP
165