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/PipeOutdoor_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_PIPEOUTDOOR_IMPL_HPP
7 #define MODEL_PIPEOUTDOOR_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "StraightComponent_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Construction;
16 class Node;
17
18 namespace detail {
19
20 /** PipeOutdoor_Impl is a StraightComponent_Impl that is the implementation class for PipeOutdoor.*/
21 class MODEL_API PipeOutdoor_Impl : public StraightComponent_Impl
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 PipeOutdoor_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 PipeOutdoor_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
30
31 PipeOutdoor_Impl(const PipeOutdoor_Impl& other, Model_Impl* model, bool keepHandle);
32
33 ✗ virtual ~PipeOutdoor_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 virtual unsigned inletPort() const override;
44
45 virtual unsigned outletPort() const override;
46
47 virtual bool addToNode(Node& node) override;
48
49 virtual ComponentType componentType() const override;
50 virtual std::vector<FuelType> coolingFuelTypes() const override;
51 virtual std::vector<FuelType> heatingFuelTypes() const override;
52 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
53
54 //@}
55 /** @name Getters */
56 //@{
57
58 boost::optional<Construction> construction() const;
59
60 boost::optional<Node> ambientTemperatureOutdoorAirNode() const;
61
62 double pipeInsideDiameter() const;
63
64 double pipeLength() const;
65
66 //@}
67 /** @name Setters */
68 //@{
69
70 bool setConstruction(const boost::optional<Construction>& construction);
71
72 void resetConstruction();
73
74 bool setAmbientTemperatureOutdoorAirNode(const boost::optional<Node>& node);
75
76 void resetAmbientTemperatureOutdoorAirNode();
77
78 bool setPipeInsideDiameter(double pipeInsideDiameter);
79
80 bool setPipeLength(double pipeLength);
81
82 //@}
83 /** @name Other */
84 //@{
85
86 //@}
87 protected:
88 private:
89 REGISTER_LOGGER("openstudio.model.PipeOutdoor");
90 };
91
92 } // namespace detail
93
94 } // namespace model
95 } // namespace openstudio
96
97 #endif // MODEL_PIPEOUTDOOR_IMPL_HPP
98