GCC Code Coverage Report


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

src/model/SurfacePropertyIncidentSolarMultiplier_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_SURFACEPROPERTYINCIDENTSOLARMULTIPLIER_IMPL_HPP
7 #define MODEL_SURFACEPROPERTYINCIDENTSOLARMULTIPLIER_IMPL_HPP
8
9 #include <model/ModelAPI.hpp>
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class SubSurface;
16 class Schedule;
17
18 namespace detail {
19
20 /** SurfacePropertyIncidentSolarMultiplier_Impl is a ModelObject_Impl that is the implementation class for SurfacePropertyIncidentSolarMultiplier.*/
21 class MODEL_API SurfacePropertyIncidentSolarMultiplier_Impl : public ModelObject_Impl
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 SurfacePropertyIncidentSolarMultiplier_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 SurfacePropertyIncidentSolarMultiplier_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
30
31 SurfacePropertyIncidentSolarMultiplier_Impl(const SurfacePropertyIncidentSolarMultiplier_Impl& other, Model_Impl* model, bool keepHandle);
32
33 4 virtual ~SurfacePropertyIncidentSolarMultiplier_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 std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
44
45 //@}
46 /** @name Getters */
47 //@{
48
49 SubSurface subSurface() const;
50
51 double incidentSolarMultiplier() const;
52
53 boost::optional<Schedule> incidentSolarMultiplierSchedule() const;
54
55 //@}
56 /** @name Setters */
57 //@{
58
59 bool setSubSurface(const SubSurface& subSurface);
60
61 bool setIncidentSolarMultiplier(double incidentSolarMultiplier);
62
63 bool setIncidentSolarMultiplierSchedule(Schedule& schedule);
64
65 void resetIncidentSolarMultiplierSchedule();
66
67 //@}
68 /** @name Other */
69 //@{
70
71 //@}
72 protected:
73 private:
74 − REGISTER_LOGGER("openstudio.model.SurfacePropertyIncidentSolarMultiplier");
75
76 boost::optional<SubSurface> optionalSubSurface() const;
77 };
78
79 } // namespace detail
80
81 } // namespace model
82 } // namespace openstudio
83
84 #endif // MODEL_SURFACEPROPERTYINCIDENTSOLARMULTIPLIER_IMPL_HPP
85