GCC Code Coverage Report


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

src/model/Duct.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_HPP
7 #define MODEL_DUCT_HPP
8
9 #include "ModelAPI.hpp"
10 #include "StraightComponent.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 namespace detail {
16
17 class Duct_Impl;
18
19 } // namespace detail
20
21 class MODEL_API Duct : public StraightComponent
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 explicit Duct(const Model& model);
28
29 ✗ virtual ~Duct() override = default;
30 // Default the copy and move operators because the virtual dtor is explicit
31 ✗ Duct(const Duct& other) = default;
32 ✗ Duct(Duct&& other) = default;
33 ✗ Duct& operator=(const Duct&) = default;
34 ✗ Duct& operator=(Duct&&) = default;
35
36 //@}
37
38 static IddObjectType iddObjectType();
39
40 /** @name Getters */
41 //@{
42
43 //@}
44 /** @name Setters */
45 //@{
46
47 //@}
48 /** @name Other */
49 //@{
50
51 //@}
52 protected:
53 /// @cond
54 using ImplType = detail::Duct_Impl;
55
56 explicit Duct(std::shared_ptr<detail::Duct_Impl> impl);
57
58 friend class detail::Duct_Impl;
59 friend class Model;
60 friend class IdfObject;
61 friend class openstudio::detail::IdfObject_Impl;
62 /// @endcond
63 private:
64 REGISTER_LOGGER("openstudio.model.Duct");
65 };
66
67 /** \relates Duct*/
68 using OptionalDuct = boost::optional<Duct>;
69
70 /** \relates Duct*/
71 using DuctVector = std::vector<Duct>;
72
73 } // namespace model
74 } // namespace openstudio
75
76 #endif // MODEL_DUCT_HPP
77