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/AirflowNetworkZoneExhaustFan_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_AIRFLOWNETWORKZONEEXHAUSTFAN_IMPL_HPP
7 #define MODEL_AIRFLOWNETWORKZONEEXHAUSTFAN_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class OutdoorAirController;
16 class Crack;
17
18 namespace detail {
19
20 /** AirflowNetworkZoneExhaustFan_Impl is a ModelObject_Impl that is the implementation class for AirflowNetworkZoneExhaustFan.*/
21 class MODEL_API AirflowNetworkZoneExhaustFan_Impl : public ModelObject_Impl
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 AirflowNetworkZoneExhaustFan_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 AirflowNetworkZoneExhaustFan_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
30
31 AirflowNetworkZoneExhaustFan_Impl(const AirflowNetworkZoneExhaustFan_Impl& other, Model_Impl* model, bool keepHandle);
32
33 1 virtual ~AirflowNetworkZoneExhaustFan_Impl() override = default;
34
35 //@}
36 /** @name Virtual Methods */
37 //@{
38
39 virtual const std::vector<std::string>& outputVariableNames() const override;
40
41 virtual IddObjectType iddObjectType() const override;
42
43 //@}
44 /** @name Getters */
45 //@{
46
47 boost::optional<FanZoneExhaust> fanZoneExhaust() const;
48 boost::optional<AirflowNetworkCrack> crack() const;
49
50 //@}
51 /** @name Setters */
52 //@{
53
54 bool setCrack(const AirflowNetworkCrack& crack);
55 void resetCrack();
56
57 //@}
58 /** @name Other */
59 //@{
60
61 void resetFanZoneExhaust();
62
63 //@}
64 protected:
65 private:
66 REGISTER_LOGGER("openstudio.model.AirflowNetworkZoneExhaustFan");
67 };
68
69 } // namespace detail
70
71 } // namespace model
72 } // namespace openstudio
73
74 #endif // MODEL_AIRFLOWNETWORKZONEEXHAUSTFAN_IMPL_HPP
75