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/CoilCoolingCooledBeam_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_COILCOOLINGCOOLEDBEAM_IMPL_HPP
7 #define MODEL_COILCOOLINGCOOLEDBEAM_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 /** CoilCoolingCooledBeam_Impl is a StraightComponent_Impl that is the implementation class for CoilCoolingCooledBeam.*/
18 class MODEL_API CoilCoolingCooledBeam_Impl : public StraightComponent_Impl
19 {
20 public:
21 /** @name Constructors and Destructors */
22 //@{
23
24 CoilCoolingCooledBeam_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
25
26 CoilCoolingCooledBeam_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
27
28 CoilCoolingCooledBeam_Impl(const CoilCoolingCooledBeam_Impl& other, Model_Impl* model, bool keepHandle);
29
30 16 virtual ~CoilCoolingCooledBeam_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 boost::optional<HVACComponent> containingHVACComponent() const override;
45
46 virtual boost::optional<StraightComponent> containingStraightComponent() const override;
47
48 virtual ComponentType componentType() const override;
49 virtual std::vector<FuelType> coolingFuelTypes() const override;
50 virtual std::vector<FuelType> heatingFuelTypes() const override;
51 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
52
53 //@}
54 /** @name Getters */
55 //@{
56
57 double coilSurfaceAreaperCoilLength() const;
58
59 bool isCoilSurfaceAreaperCoilLengthDefaulted() const;
60
61 double modelParametera() const;
62
63 bool isModelParameteraDefaulted() const;
64
65 double modelParametern1() const;
66
67 bool isModelParametern1Defaulted() const;
68
69 double modelParametern2() const;
70
71 bool isModelParametern2Defaulted() const;
72
73 double modelParametern3() const;
74
75 bool isModelParametern3Defaulted() const;
76
77 double modelParametera0() const;
78
79 bool isModelParametera0Defaulted() const;
80
81 double modelParameterK1() const;
82
83 bool isModelParameterK1Defaulted() const;
84
85 double modelParametern() const;
86
87 bool isModelParameternDefaulted() const;
88
89 double leavingPipeInsideDiameter() const;
90
91 bool isLeavingPipeInsideDiameterDefaulted() const;
92
93 //@}
94 /** @name Setters */
95 //@{
96
97 bool setCoilSurfaceAreaperCoilLength(double coilSurfaceAreaperCoilLength);
98
99 void resetCoilSurfaceAreaperCoilLength();
100
101 bool setModelParametera(double modelParametera);
102
103 void resetModelParametera();
104
105 bool setModelParametern1(double modelParametern1);
106
107 void resetModelParametern1();
108
109 bool setModelParametern2(double modelParametern2);
110
111 void resetModelParametern2();
112
113 bool setModelParametern3(double modelParametern3);
114
115 void resetModelParametern3();
116
117 bool setModelParametera0(double modelParametera0);
118
119 void resetModelParametera0();
120
121 bool setModelParameterK1(double modelParameterK1);
122
123 void resetModelParameterK1();
124
125 bool setModelParametern(double modelParametern);
126
127 void resetModelParametern();
128
129 bool setLeavingPipeInsideDiameter(double leavingPipeInsideDiameter);
130
131 void resetLeavingPipeInsideDiameter();
132
133 //@}
134 /** @name Other */
135 //@{
136
137 bool addToNode(Node& node) override;
138
139 //@}
140 protected:
141 private:
142 REGISTER_LOGGER("openstudio.model.CoilCoolingCooledBeam");
143 };
144
145 } // namespace detail
146
147 } // namespace model
148 } // namespace openstudio
149
150 #endif // MODEL_COILCOOLINGCOOLEDBEAM_IMPL_HPP
151