GCC Code Coverage Report


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

src/model/AirflowNetworkHorizontalOpening_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_AIRFLOWNETWORKHORIZONTALOPENING_IMPL_HPP
7 #define MODEL_AIRFLOWNETWORKHORIZONTALOPENING_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 /** AirflowNetworkHorizontalOpening_Impl is a ModelObject_Impl that is the implementation class for AirflowNetworkHorizontalOpening.*/
18 class MODEL_API AirflowNetworkHorizontalOpening_Impl : public AirflowNetworkComponent_Impl
19 {
20 public:
21 /** @name Constructors and Destructors */
22 //@{
23
24 AirflowNetworkHorizontalOpening_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
25
26 AirflowNetworkHorizontalOpening_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
27
28 AirflowNetworkHorizontalOpening_Impl(const AirflowNetworkHorizontalOpening_Impl& other, Model_Impl* model, bool keepHandle);
29
30 4 virtual ~AirflowNetworkHorizontalOpening_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 double airMassFlowCoefficientWhenOpeningisClosed() const;
45
46 double airMassFlowExponentWhenOpeningisClosed() const;
47
48 bool isAirMassFlowExponentWhenOpeningisClosedDefaulted() const;
49
50 double slopingPlaneAngle() const;
51
52 bool isSlopingPlaneAngleDefaulted() const;
53
54 double dischargeCoefficient() const;
55
56 //@}
57 /** @name Setters */
58 //@{
59
60 bool setAirMassFlowCoefficientWhenOpeningisClosed(double airMassFlowCoefficientWhenOpeningisClosed);
61
62 bool setAirMassFlowExponentWhenOpeningisClosed(double airMassFlowExponentWhenOpeningisClosed);
63
64 void resetAirMassFlowExponentWhenOpeningisClosed();
65
66 bool setSlopingPlaneAngle(double slopingPlaneAngle);
67
68 void resetSlopingPlaneAngle();
69
70 bool setDischargeCoefficient(double dischargeCoefficient);
71
72 //@}
73 protected:
74 private:
75 REGISTER_LOGGER("openstudio.model.AirflowNetworkHorizontalOpening");
76 };
77
78 } // namespace detail
79
80 } // namespace model
81 } // namespace openstudio
82
83 #endif // MODEL_AIRFLOWNETWORKHORIZONTALOPENING_IMPL_HPP
84