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/SetpointManagerMultiZoneCoolingAverage.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_SETPOINTMANAGERMULTIZONECOOLINGAVERAGE_HPP
7 #define MODEL_SETPOINTMANAGERMULTIZONECOOLINGAVERAGE_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 SetpointManagerMultiZoneCoolingAverage_Impl;
21
22 } // namespace detail
23
24 /** SetpointManagerMultiZoneCoolingAverage is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:MultiZone:Cooling:Average'. */
25 class MODEL_API SetpointManagerMultiZoneCoolingAverage : public SetpointManager
26 {
27 public:
28 /** @name Constructors and Destructors */
29 //@{
30
31 explicit SetpointManagerMultiZoneCoolingAverage(const Model& model);
32
33 20 virtual ~SetpointManagerMultiZoneCoolingAverage() override = default;
34 // Default the copy and move operators because the virtual dtor is explicit
35 ✗ SetpointManagerMultiZoneCoolingAverage(const SetpointManagerMultiZoneCoolingAverage& other) = default;
36 6 SetpointManagerMultiZoneCoolingAverage(SetpointManagerMultiZoneCoolingAverage&& other) = default;
37 ✗ SetpointManagerMultiZoneCoolingAverage& operator=(const SetpointManagerMultiZoneCoolingAverage&) = default;
38 ✗ SetpointManagerMultiZoneCoolingAverage& operator=(SetpointManagerMultiZoneCoolingAverage&&) = default;
39
40 //@}
41
42 static IddObjectType iddObjectType();
43
44 static std::vector<std::string> controlVariableValues();
45
46 /** @name Getters */
47 //@{
48
49 double minimumSetpointTemperature() const;
50
51 double maximumSetpointTemperature() const;
52
53 //@}
54 /** @name Setters */
55 //@{
56
57 bool setMinimumSetpointTemperature(double minimumSetpointTemperature);
58
59 bool setMaximumSetpointTemperature(double maximumSetpointTemperature);
60
61 //@}
62 /** @name Other */
63 //@{
64
65 //@}
66 protected:
67 /// @cond
68 using ImplType = detail::SetpointManagerMultiZoneCoolingAverage_Impl;
69
70 explicit SetpointManagerMultiZoneCoolingAverage(std::shared_ptr<detail::SetpointManagerMultiZoneCoolingAverage_Impl> impl);
71
72 friend class detail::SetpointManagerMultiZoneCoolingAverage_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.SetpointManagerMultiZoneCoolingAverage");
79 };
80
81 /** \relates SetpointManagerMultiZoneCoolingAverage*/
82 using OptionalSetpointManagerMultiZoneCoolingAverage = boost::optional<SetpointManagerMultiZoneCoolingAverage>;
83
84 /** \relates SetpointManagerMultiZoneCoolingAverage*/
85 using SetpointManagerMultiZoneCoolingAverageVector = std::vector<SetpointManagerMultiZoneCoolingAverage>;
86
87 } // namespace model
88 } // namespace openstudio
89
90 #endif // MODEL_SETPOINTMANAGERMULTIZONECOOLINGAVERAGE_HPP
91