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