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/OutputControlReportingTolerances_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_OUTPUTCONTROLREPORTINGTOLERANCES_IMPL_HPP
7 #define MODEL_OUTPUTCONTROLREPORTINGTOLERANCES_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 /** OutputControlReportingTolerances_Impl is a ModelObject_Impl that is the implementation class for OutputControlReportingTolerances.*/
18 class MODEL_API OutputControlReportingTolerances_Impl : public ModelObject_Impl
19 {
20
21 public:
22 /** @name Constructors and Destructors */
23 //@{
24
25 OutputControlReportingTolerances_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
26
27 OutputControlReportingTolerances_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
28
29 OutputControlReportingTolerances_Impl(const OutputControlReportingTolerances_Impl& other, Model_Impl* model, bool keepHandle);
30
31 85 virtual ~OutputControlReportingTolerances_Impl() override = default;
32
33 //@}
34
35 /** @name Virtual Methods */
36 //@{
37
38 virtual const std::vector<std::string>& outputVariableNames() const override;
39
40 virtual IddObjectType iddObjectType() const override;
41
42 //@}
43 /** @name Getters */
44 //@{
45
46 double toleranceforTimeHeatingSetpointNotMet() const;
47
48 bool isToleranceforTimeHeatingSetpointNotMetDefaulted() const;
49
50 double toleranceforTimeCoolingSetpointNotMet() const;
51
52 bool isToleranceforTimeCoolingSetpointNotMetDefaulted() const;
53
54 //@}
55 /** @name Setters */
56 //@{
57
58 bool setToleranceforTimeHeatingSetpointNotMet(double toleranceforTimeHeatingSetpointNotMet);
59
60 void resetToleranceforTimeHeatingSetpointNotMet();
61
62 bool setToleranceforTimeCoolingSetpointNotMet(double toleranceforTimeCoolingSetpointNotMet);
63
64 void resetToleranceforTimeCoolingSetpointNotMet();
65
66 //@}
67 /** @name Other */
68 //@{
69
70 //@}
71 protected:
72 private:
73 REGISTER_LOGGER("openstudio.model.OutputControlReportingTolerances");
74 };
75
76 } // namespace detail
77
78 } // namespace model
79 } // namespace openstudio
80
81 #endif // MODEL_OUTPUTCONTROLREPORTINGTOLERANCES_IMPL_HPP
82