GCC Code Coverage Report


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

src/model/CoilSystemCoolingWaterHeatExchangerAssisted.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_COILSYSTEMCOOLINGWATERHEATEXCHANGERASSISTED_HPP
7 #define MODEL_COILSYSTEMCOOLINGWATERHEATEXCHANGERASSISTED_HPP
8
9 #include "ModelAPI.hpp"
10 #include "StraightComponent.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class AirToAirComponent;
16 class WaterToAirComponent;
17
18 namespace detail {
19
20 class CoilSystemCoolingWaterHeatExchangerAssisted_Impl;
21
22 } // namespace detail
23
24 /** CoilSystemCoolingWaterHeatExchangerAssisted is a StraightComponent that wraps the OpenStudio IDD object 'OS:CoilSystem:Cooling:Water:HeatExchangerAssisted'. */
25 class MODEL_API CoilSystemCoolingWaterHeatExchangerAssisted : public StraightComponent
26 {
27 public:
28 /** @name Constructors and Destructors */
29 //@{
30
31 // This constructor will also create the underlying objects CoilCoolingWater and HeatExchangerAirToAirSensibleAndLatent
32 explicit CoilSystemCoolingWaterHeatExchangerAssisted(const Model& model);
33
34 explicit CoilSystemCoolingWaterHeatExchangerAssisted(const Model& model, const AirToAirComponent& heatExchanger);
35
36 107 virtual ~CoilSystemCoolingWaterHeatExchangerAssisted() override = default;
37 // Default the copy and move operators because the virtual dtor is explicit
38 ✗ CoilSystemCoolingWaterHeatExchangerAssisted(const CoilSystemCoolingWaterHeatExchangerAssisted& other) = default;
39 41 CoilSystemCoolingWaterHeatExchangerAssisted(CoilSystemCoolingWaterHeatExchangerAssisted&& other) = default;
40 ✗ CoilSystemCoolingWaterHeatExchangerAssisted& operator=(const CoilSystemCoolingWaterHeatExchangerAssisted&) = default;
41 ✗ CoilSystemCoolingWaterHeatExchangerAssisted& operator=(CoilSystemCoolingWaterHeatExchangerAssisted&&) = default;
42
43 //@}
44
45 static IddObjectType iddObjectType();
46
47 /** @name Getters */
48 //@{
49
50 AirToAirComponent heatExchanger() const;
51
52 WaterToAirComponent coolingCoil() const;
53
54 //@}
55 /** @name Setters */
56 //@{
57
58 bool setHeatExchanger(const AirToAirComponent& heatExchanger);
59
60 bool setCoolingCoil(const WaterToAirComponent& coolingCoil);
61
62 //@}
63 /** @name Other */
64 //@{
65
66 //@}
67 protected:
68 /// @cond
69 using ImplType = detail::CoilSystemCoolingWaterHeatExchangerAssisted_Impl;
70
71 explicit CoilSystemCoolingWaterHeatExchangerAssisted(std::shared_ptr<detail::CoilSystemCoolingWaterHeatExchangerAssisted_Impl> impl);
72
73 friend class detail::CoilSystemCoolingWaterHeatExchangerAssisted_Impl;
74 friend class Model;
75 friend class IdfObject;
76 friend class openstudio::detail::IdfObject_Impl;
77 /// @endcond
78 private:
79 − REGISTER_LOGGER("openstudio.model.CoilSystemCoolingWaterHeatExchangerAssisted");
80 };
81
82 /** \relates CoilSystemCoolingWaterHeatExchangerAssisted*/
83 using OptionalCoilSystemCoolingWaterHeatExchangerAssisted = boost::optional<CoilSystemCoolingWaterHeatExchangerAssisted>;
84
85 /** \relates CoilSystemCoolingWaterHeatExchangerAssisted*/
86 using CoilSystemCoolingWaterHeatExchangerAssistedVector = std::vector<CoilSystemCoolingWaterHeatExchangerAssisted>;
87
88 } // namespace model
89 } // namespace openstudio
90
91 #endif // MODEL_COILSYSTEMCOOLINGWATERHEATEXCHANGERASSISTED_HPP
92