GCC Code Coverage Report


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

src/model/AirflowNetworkLeakageRatio_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_AIRFLOWNETWORKLEAKAGERATIO_IMPL_HPP
7 #define MODEL_AIRFLOWNETWORKLEAKAGERATIO_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "AirflowNetworkComponent_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 namespace detail {
16
17 /** AirflowNetworkLeakageRatio_Impl is a AirflowNetworkComponent_Impl that is the implementation class for AirflowNetworkLeakageRatio.*/
18 class MODEL_API AirflowNetworkLeakageRatio_Impl : public AirflowNetworkComponent_Impl
19 {
20 public:
21 /** @name Constructors and Destructors */
22 //@{
23
24 AirflowNetworkLeakageRatio_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
25
26 AirflowNetworkLeakageRatio_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
27
28 AirflowNetworkLeakageRatio_Impl(const AirflowNetworkLeakageRatio_Impl& other, Model_Impl* model, bool keepHandle);
29
30 ✗ virtual ~AirflowNetworkLeakageRatio_Impl() override = default;
31
32 //@}
33 /** @name Virtual Methods */
34 //@{
35
36 virtual const std::vector<std::string>& outputVariableNames() const override;
37
38 virtual IddObjectType iddObjectType() const override;
39
40 //@}
41 /** @name Getters */
42 //@{
43
44 boost::optional<double> effectiveLeakageRatio() const;
45
46 double maximumFlowRate() const;
47
48 double referencePressureDifference() const;
49
50 double airMassFlowExponent() const;
51
52 bool isAirMassFlowExponentDefaulted() const;
53
54 //@}
55 /** @name Setters */
56 //@{
57
58 bool setEffectiveLeakageRatio(double effectiveLeakageRatio);
59
60 void resetEffectiveLeakageRatio();
61
62 bool setMaximumFlowRate(double maximumFlowRate);
63
64 bool setReferencePressureDifference(double referencePressureDifference);
65
66 bool setAirMassFlowExponent(double airMassFlowExponent);
67
68 void resetAirMassFlowExponent();
69
70 //@}
71 /** @name Other */
72 //@{
73
74 //@}
75 protected:
76 private:
77 REGISTER_LOGGER("openstudio.model.AirflowNetworkLeakageRatio");
78 };
79
80 } // namespace detail
81
82 } // namespace model
83 } // namespace openstudio
84
85 #endif // MODEL_AIRFLOWNETWORKLEAKAGERATIO_IMPL_HPP
86