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/LightingSimulationControl_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_LIGHTINGSIMULATIONCONTROL_IMPL_HPP
7 #define MODEL_LIGHTINGSIMULATIONCONTROL_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 /** LightingSimulationControl_Impl is a ModelObject_Impl that is the implementation class for LightingSimulationControl.*/
18 class MODEL_API LightingSimulationControl_Impl : public ModelObject_Impl
19 {
20
21 public:
22 /** @name Constructors and Destructors */
23 //@{
24
25 LightingSimulationControl_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
26
27 LightingSimulationControl_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
28
29 LightingSimulationControl_Impl(const LightingSimulationControl_Impl& other, Model_Impl* model, bool keepHandle);
30
31 5 virtual ~LightingSimulationControl_Impl() override = default;
32
33 //@}
34 virtual const std::vector<std::string>& outputVariableNames() const override;
35
36 virtual IddObjectType iddObjectType() const override;
37
38 /** @name Getters */
39 //@{
40
41 bool runSimulationforDesignDays() const;
42
43 bool isRunSimulationforDesignDaysDefaulted() const;
44
45 bool runSimulationforWeatherFileRunPeriods() const;
46
47 bool isRunSimulationforWeatherFileRunPeriodsDefaulted() const;
48
49 //@}
50 /** @name Setters */
51 //@{
52
53 bool setRunSimulationforDesignDays(bool runSimulationforDesignDays);
54
55 void resetRunSimulationforDesignDays();
56
57 bool setRunSimulationforWeatherFileRunPeriods(bool runSimulationforWeatherFileRunPeriods);
58
59 void resetRunSimulationforWeatherFileRunPeriods();
60
61 //@}
62 protected:
63 private:
64 REGISTER_LOGGER("openstudio.model.LightingSimulationControl");
65 };
66
67 } // namespace detail
68
69 } // namespace model
70 } // namespace openstudio
71
72 #endif // MODEL_LIGHTINGSIMULATIONCONTROL_IMPL_HPP
73