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/PipeAdiabatic_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_PIPEADIABATIC_IMPL_HPP
7 #define MODEL_PIPEADIABATIC_IMPL_HPP
8
9 #include "StraightComponent_Impl.hpp"
10
11 namespace openstudio {
12
13 namespace model {
14
15 namespace detail {
16
17 class MODEL_API PipeAdiabatic_Impl : public StraightComponent_Impl
18 {
19 public:
20 // constructor
21 PipeAdiabatic_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
22
23 // construct from workspace
24 PipeAdiabatic_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
25
26 // copy constructor
27 PipeAdiabatic_Impl(const PipeAdiabatic_Impl& other, Model_Impl* model, bool keepHandle);
28
29 // virtual destructor
30 57 virtual ~PipeAdiabatic_Impl() override = default;
31
32 // Get all output variable names that could be associated with this object.
33 virtual const std::vector<std::string>& outputVariableNames() const override;
34
35 virtual IddObjectType iddObjectType() const override;
36
37 virtual unsigned inletPort() const override;
38
39 virtual unsigned outletPort() const override;
40
41 virtual bool addToNode(Node& node) override;
42
43 virtual ComponentType componentType() const override;
44 virtual std::vector<FuelType> coolingFuelTypes() const override;
45 virtual std::vector<FuelType> heatingFuelTypes() const override;
46 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
47
48 private:
49 REGISTER_LOGGER("openstudio.model.PipeAdiabatic");
50 };
51
52 } // namespace detail
53
54 } // namespace model
55
56 } // namespace openstudio
57
58 #endif // MODEL_PIPEADIABATIC_IMPL_HPP
59