GCC Code Coverage Report


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

src/model/SetpointManagerMultiZoneMaximumHumidityAverage.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_SETPOINTMANAGERMULTIZONEMAXIMUMHUMIDITYAVERAGE_HPP
7 #define MODEL_SETPOINTMANAGERMULTIZONEMAXIMUMHUMIDITYAVERAGE_HPP
8
9 #include "ModelAPI.hpp"
10 #include "SetpointManager.hpp"
11
12 namespace openstudio {
13
14 namespace model {
15
16 class Node;
17
18 namespace detail {
19
20 class SetpointManagerMultiZoneMaximumHumidityAverage_Impl;
21
22 } // namespace detail
23
24 /** SetpointManagerMultiZoneMaximumHumidityAverage is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:MultiZone:MaximumHumidity:Average'. */
25 class MODEL_API SetpointManagerMultiZoneMaximumHumidityAverage : public SetpointManager
26 {
27 public:
28 /** @name Constructors and Destructors */
29 //@{
30
31 explicit SetpointManagerMultiZoneMaximumHumidityAverage(const Model& model);
32
33 21 virtual ~SetpointManagerMultiZoneMaximumHumidityAverage() override = default;
34 // Default the copy and move operators because the virtual dtor is explicit
35 ✗ SetpointManagerMultiZoneMaximumHumidityAverage(const SetpointManagerMultiZoneMaximumHumidityAverage& other) = default;
36 6 SetpointManagerMultiZoneMaximumHumidityAverage(SetpointManagerMultiZoneMaximumHumidityAverage&& other) = default;
37 ✗ SetpointManagerMultiZoneMaximumHumidityAverage& operator=(const SetpointManagerMultiZoneMaximumHumidityAverage&) = default;
38 ✗ SetpointManagerMultiZoneMaximumHumidityAverage& operator=(SetpointManagerMultiZoneMaximumHumidityAverage&&) = default;
39
40 //@}
41
42 static IddObjectType iddObjectType();
43
44 static std::vector<std::string> controlVariableValues();
45
46 /** @name Getters */
47 //@{
48
49 double minimumSetpointHumidityRatio() const;
50
51 double maximumSetpointHumidityRatio() const;
52
53 //@}
54 /** @name Setters */
55 //@{
56
57 bool setMinimumSetpointHumidityRatio(double minimumSetpointHumidityRatio);
58
59 bool setMaximumSetpointHumidityRatio(double maximumSetpointHumidityRatio);
60
61 //@}
62 /** @name Other */
63 //@{
64
65 //@}
66 protected:
67 /// @cond
68 using ImplType = detail::SetpointManagerMultiZoneMaximumHumidityAverage_Impl;
69
70 explicit SetpointManagerMultiZoneMaximumHumidityAverage(std::shared_ptr<detail::SetpointManagerMultiZoneMaximumHumidityAverage_Impl> impl);
71
72 friend class detail::SetpointManagerMultiZoneMaximumHumidityAverage_Impl;
73 friend class Model;
74 friend class IdfObject;
75 friend class openstudio::detail::IdfObject_Impl;
76 /// @endcond
77 private:
78 REGISTER_LOGGER("openstudio.model.SetpointManagerMultiZoneMaximumHumidityAverage");
79 };
80
81 /** \relates SetpointManagerMultiZoneMaximumHumidityAverage*/
82 using OptionalSetpointManagerMultiZoneMaximumHumidityAverage = boost::optional<SetpointManagerMultiZoneMaximumHumidityAverage>;
83
84 /** \relates SetpointManagerMultiZoneMaximumHumidityAverage*/
85 using SetpointManagerMultiZoneMaximumHumidityAverageVector = std::vector<SetpointManagerMultiZoneMaximumHumidityAverage>;
86
87 } // namespace model
88 } // namespace openstudio
89
90 #endif // MODEL_SETPOINTMANAGERMULTIZONEMAXIMUMHUMIDITYAVERAGE_HPP
91