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/Duct_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_DUCT_IMPL_HPP
7 #define MODEL_DUCT_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "StraightComponent_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 namespace detail {
16
17 /** Duct_Impl is a StraightComponent_Impl that is the implementation class for Duct.*/
18 class MODEL_API Duct_Impl : public StraightComponent_Impl
19 {
20 public:
21 /** @name Constructors and Destructors */
22 //@{
23
24 Duct_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
25
26 Duct_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
27
28 Duct_Impl(const Duct_Impl& other, Model_Impl* model, bool keepHandle);
29
30 ✗ virtual ~Duct_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 virtual unsigned inletPort() const override;
41
42 virtual unsigned outletPort() const override;
43
44 virtual bool addToNode(Node& node) override;
45
46 virtual ComponentType componentType() const override;
47 virtual std::vector<FuelType> coolingFuelTypes() const override;
48 virtual std::vector<FuelType> heatingFuelTypes() const override;
49 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
50
51 //@}
52 /** @name Getters */
53 //@{
54
55 //@}
56 /** @name Setters */
57 //@{
58
59 //@}
60 /** @name Other */
61 //@{
62
63 //@}
64 protected:
65 private:
66 REGISTER_LOGGER("openstudio.model.Duct");
67 };
68
69 } // namespace detail
70
71 } // namespace model
72 } // namespace openstudio
73
74 #endif // MODEL_DUCT_IMPL_HPP
75