GCC Code Coverage Report


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

src/model/RefrigerationSubcoolerMechanical_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_REFRIGERATIONSUBCOOLERMECHANICAL_IMPL_HPP
7 #define MODEL_REFRIGERATIONSUBCOOLERMECHANICAL_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class RefrigerationSystem;
16
17 namespace detail {
18
19 /** RefrigerationSubcoolerMechanical_Impl is a ModelObject_Impl that is the implementation class for RefrigerationSubcoolerMechanical.*/
20 class MODEL_API RefrigerationSubcoolerMechanical_Impl : public ModelObject_Impl
21 {
22 public:
23 /** @name Constructors and Destructors */
24 //@{
25
26 RefrigerationSubcoolerMechanical_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 RefrigerationSubcoolerMechanical_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
29
30 RefrigerationSubcoolerMechanical_Impl(const RefrigerationSubcoolerMechanical_Impl& other, Model_Impl* model, bool keepHandle);
31
32 31 virtual ~RefrigerationSubcoolerMechanical_Impl() override = default;
33
34 //@}
35 /** @name Virtual Methods */
36 //@{
37
38 virtual const std::vector<std::string>& outputVariableNames() const override;
39
40 virtual IddObjectType iddObjectType() const override;
41
42 virtual ModelObject clone(Model model) const override;
43
44 //@}
45 /** @name Getters */
46 //@{
47
48 boost::optional<RefrigerationSystem> capacityProvidingSystem() const;
49
50 boost::optional<double> outletControlTemperature() const;
51
52 //@}
53 /** @name Setters */
54 //@{
55
56 bool setCapacityProvidingSystem(const boost::optional<RefrigerationSystem>& refrigerationSystem);
57
58 void resetCapacityProvidingSystem();
59
60 bool setOutletControlTemperature(boost::optional<double> outletControlTemperature);
61
62 void resetOutletControlTemperature();
63
64 //@}
65 /** @name Other */
66 //@{
67
68 boost::optional<RefrigerationSystem> system() const;
69
70 //@}
71 protected:
72 private:
73 − REGISTER_LOGGER("openstudio.model.RefrigerationSubcoolerMechanical");
74 };
75
76 } // namespace detail
77
78 } // namespace model
79 } // namespace openstudio
80
81 #endif // MODEL_REFRIGERATIONSUBCOOLERMECHANICAL_IMPL_HPP
82