GCC Code Coverage Report


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

src/model/CoilCoolingCooledBeam.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_HPP
7 #define MODEL_COILCOOLINGCOOLEDBEAM_HPP
8
9 #include "ModelAPI.hpp"
10 #include "StraightComponent.hpp"
11
12 namespace openstudio {
13
14 namespace model {
15
16 namespace detail {
17
18 class CoilCoolingCooledBeam_Impl;
19
20 } // namespace detail
21
22 /** CoilCoolingCooledBeam is a StraightComponent that wraps the OpenStudio IDD object 'OS:Coil:Cooling:CooledBeam'. */
23 class MODEL_API CoilCoolingCooledBeam : public StraightComponent
24 {
25 public:
26 /** @name Constructors and Destructors */
27 //@{
28
29 explicit CoilCoolingCooledBeam(const Model& model);
30
31 9 virtual ~CoilCoolingCooledBeam() override = default;
32 // Default the copy and move operators because the virtual dtor is explicit
33 ✗ CoilCoolingCooledBeam(const CoilCoolingCooledBeam& other) = default;
34 1 CoilCoolingCooledBeam(CoilCoolingCooledBeam&& other) = default;
35 ✗ CoilCoolingCooledBeam& operator=(const CoilCoolingCooledBeam&) = default;
36 ✗ CoilCoolingCooledBeam& operator=(CoilCoolingCooledBeam&&) = default;
37
38 //@}
39
40 static IddObjectType iddObjectType();
41
42 /** @name Getters */
43 //@{
44
45 //unsigned inletPort() const;
46
47 //unsigned outletPort() const;
48
49 double coilSurfaceAreaperCoilLength() const;
50
51 bool isCoilSurfaceAreaperCoilLengthDefaulted() const;
52
53 double modelParametera() const;
54
55 bool isModelParameteraDefaulted() const;
56
57 double modelParametern1() const;
58
59 bool isModelParametern1Defaulted() const;
60
61 double modelParametern2() const;
62
63 bool isModelParametern2Defaulted() const;
64
65 double modelParametern3() const;
66
67 bool isModelParametern3Defaulted() const;
68
69 double modelParametera0() const;
70
71 bool isModelParametera0Defaulted() const;
72
73 double modelParameterK1() const;
74
75 bool isModelParameterK1Defaulted() const;
76
77 double modelParametern() const;
78
79 bool isModelParameternDefaulted() const;
80
81 double leavingPipeInsideDiameter() const;
82
83 bool isLeavingPipeInsideDiameterDefaulted() const;
84
85 //@}
86 /** @name Setters */
87 //@{
88
89 bool setCoilSurfaceAreaperCoilLength(double coilSurfaceAreaperCoilLength);
90
91 void resetCoilSurfaceAreaperCoilLength();
92
93 bool setModelParametera(double modelParametera);
94
95 void resetModelParametera();
96
97 bool setModelParametern1(double modelParametern1);
98
99 void resetModelParametern1();
100
101 bool setModelParametern2(double modelParametern2);
102
103 void resetModelParametern2();
104
105 bool setModelParametern3(double modelParametern3);
106
107 void resetModelParametern3();
108
109 bool setModelParametera0(double modelParametera0);
110
111 void resetModelParametera0();
112
113 bool setModelParameterK1(double modelParameterK1);
114
115 void resetModelParameterK1();
116
117 bool setModelParametern(double modelParametern);
118
119 void resetModelParametern();
120
121 bool setLeavingPipeInsideDiameter(double leavingPipeInsideDiameter);
122
123 void resetLeavingPipeInsideDiameter();
124
125 //@}
126 /** @name Other */
127 //@{
128
129 //@}
130 protected:
131 /// @cond
132 using ImplType = detail::CoilCoolingCooledBeam_Impl;
133
134 explicit CoilCoolingCooledBeam(std::shared_ptr<detail::CoilCoolingCooledBeam_Impl> impl);
135
136 friend class detail::CoilCoolingCooledBeam_Impl;
137 friend class Model;
138 friend class IdfObject;
139 friend class openstudio::detail::IdfObject_Impl;
140 /// @endcond
141 private:
142 REGISTER_LOGGER("openstudio.model.CoilCoolingCooledBeam");
143 };
144
145 /** \relates CoilCoolingCooledBeam*/
146 using OptionalCoilCoolingCooledBeam = boost::optional<CoilCoolingCooledBeam>;
147
148 /** \relates CoilCoolingCooledBeam*/
149 using CoilCoolingCooledBeamVector = std::vector<CoilCoolingCooledBeam>;
150
151 } // namespace model
152 } // namespace openstudio
153
154 #endif // MODEL_COILCOOLINGCOOLEDBEAM_HPP
155