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/SiteGroundReflectance_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_SITEGROUNDREFLECTANCE_IMPL_HPP
7 #define MODEL_SITEGROUNDREFLECTANCE_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 namespace detail {
16
17 /** SiteGroundReflectance_Impl is a ModelObject_Impl that is the implementation class for SiteGroundReflectance.*/
18 class MODEL_API SiteGroundReflectance_Impl : public ModelObject_Impl
19 {
20
21 public:
22 /** @name Constructors and Destructors */
23 //@{
24
25 SiteGroundReflectance_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
26
27 SiteGroundReflectance_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
28
29 SiteGroundReflectance_Impl(const SiteGroundReflectance_Impl& other, Model_Impl* model, bool keepHandle);
30
31 8 virtual ~SiteGroundReflectance_Impl() override = default;
32
33 //@}
34
35 virtual boost::optional<ParentObject> parent() const override;
36
37 virtual const std::vector<std::string>& outputVariableNames() const override;
38
39 virtual IddObjectType iddObjectType() const override;
40
41 /** @name Getters */
42 //@{
43
44 double januaryGroundReflectance() const;
45
46 bool isJanuaryGroundReflectanceDefaulted() const;
47
48 double februaryGroundReflectance() const;
49
50 bool isFebruaryGroundReflectanceDefaulted() const;
51
52 double marchGroundReflectance() const;
53
54 bool isMarchGroundReflectanceDefaulted() const;
55
56 double aprilGroundReflectance() const;
57
58 bool isAprilGroundReflectanceDefaulted() const;
59
60 double mayGroundReflectance() const;
61
62 bool isMayGroundReflectanceDefaulted() const;
63
64 double juneGroundReflectance() const;
65
66 bool isJuneGroundReflectanceDefaulted() const;
67
68 double julyGroundReflectance() const;
69
70 bool isJulyGroundReflectanceDefaulted() const;
71
72 double augustGroundReflectance() const;
73
74 bool isAugustGroundReflectanceDefaulted() const;
75
76 double septemberGroundReflectance() const;
77
78 bool isSeptemberGroundReflectanceDefaulted() const;
79
80 double octoberGroundReflectance() const;
81
82 bool isOctoberGroundReflectanceDefaulted() const;
83
84 double novemberGroundReflectance() const;
85
86 bool isNovemberGroundReflectanceDefaulted() const;
87
88 double decemberGroundReflectance() const;
89
90 bool isDecemberGroundReflectanceDefaulted() const;
91
92 //@}
93 /** @name Setters */
94 //@{
95
96 bool setJanuaryGroundReflectance(double januaryGroundReflectance);
97
98 void resetJanuaryGroundReflectance();
99
100 bool setFebruaryGroundReflectance(double februaryGroundReflectance);
101
102 void resetFebruaryGroundReflectance();
103
104 bool setMarchGroundReflectance(double marchGroundReflectance);
105
106 void resetMarchGroundReflectance();
107
108 bool setAprilGroundReflectance(double aprilGroundReflectance);
109
110 void resetAprilGroundReflectance();
111
112 bool setMayGroundReflectance(double mayGroundReflectance);
113
114 void resetMayGroundReflectance();
115
116 bool setJuneGroundReflectance(double juneGroundReflectance);
117
118 void resetJuneGroundReflectance();
119
120 bool setJulyGroundReflectance(double julyGroundReflectance);
121
122 void resetJulyGroundReflectance();
123
124 bool setAugustGroundReflectance(double augustGroundReflectance);
125
126 void resetAugustGroundReflectance();
127
128 bool setSeptemberGroundReflectance(double septemberGroundReflectance);
129
130 void resetSeptemberGroundReflectance();
131
132 bool setOctoberGroundReflectance(double octoberGroundReflectance);
133
134 void resetOctoberGroundReflectance();
135
136 bool setNovemberGroundReflectance(double novemberGroundReflectance);
137
138 void resetNovemberGroundReflectance();
139
140 bool setDecemberGroundReflectance(double decemberGroundReflectance);
141
142 void resetDecemberGroundReflectance();
143
144 //@}
145
146 protected:
147 private:
148 REGISTER_LOGGER("openstudio.model.SiteGroundReflectance");
149 };
150
151 } // namespace detail
152
153 } // namespace model
154 } // namespace openstudio
155
156 #endif // MODEL_SITEGROUNDREFLECTANCE_IMPL_HPP
157