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/Thermostat_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_THERMOSTAT_IMPL_HPP
7 #define MODEL_THERMOSTAT_IMPL_HPP
8
9 #include "ModelObject_Impl.hpp"
10
11 namespace openstudio {
12
13 namespace model {
14
15 class ThermalZone;
16
17 namespace detail {
18
19 class MODEL_API Thermostat_Impl : public ModelObject_Impl
20 {
21
22 public:
23 Thermostat_Impl(IddObjectType type, Model_Impl* model);
24
25 Thermostat_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
26
27 Thermostat_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
28
29 Thermostat_Impl(const Thermostat_Impl& other, Model_Impl* model, bool keepHandles);
30
31 boost::optional<ThermalZone> thermalZone() const;
32
33 2428 virtual ~Thermostat_Impl() override = default;
34
35 protected:
36 friend class Model_Impl;
37
38 private:
39 REGISTER_LOGGER("openstudio.model.Thermostat");
40 };
41
42 } // namespace detail
43
44 } // namespace model
45 } // namespace openstudio
46
47 #endif
48