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/PerformancePrecisionTradeoffs_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_PERFORMANCEPRECISIONTRADEOFFS_IMPL_HPP
7 #define MODEL_PERFORMANCEPRECISIONTRADEOFFS_IMPL_HPP
8
9 #include <vector>
10 #include "ModelAPI.hpp"
11 #include "ModelObject_Impl.hpp"
12
13 namespace openstudio {
14 namespace model {
15
16 namespace detail {
17
18 /** PerformancePrecisionTradeoffs_Impl is a ModelObject_Impl that is the implementation class for PerformancePrecisionTradeoffs.*/
19 class MODEL_API PerformancePrecisionTradeoffs_Impl : public ModelObject_Impl
20 {
21
22 public:
23 /** @name Constructors and Destructors */
24 //@{
25
26 PerformancePrecisionTradeoffs_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 PerformancePrecisionTradeoffs_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
29
30 PerformancePrecisionTradeoffs_Impl(const PerformancePrecisionTradeoffs_Impl& other, Model_Impl* model, bool keepHandle);
31
32 14 virtual ~PerformancePrecisionTradeoffs_Impl() override = default;
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 bool useCoilDirectSolutions() const;
47 bool isUseCoilDirectSolutionsDefaulted() const;
48
49 std::string zoneRadiantExchangeAlgorithm() const;
50 bool isZoneRadiantExchangeAlgorithmDefaulted() const;
51
52 std::string overrideMode() const;
53 bool isOverrideModeDefaulted() const;
54
55 double maxZoneTempDiff() const;
56 bool isMaxZoneTempDiffDefaulted() const;
57
58 double maxAllowedDelTemp() const;
59 bool isMaxAllowedDelTempDefaulted() const;
60
61 bool useRepresentativeSurfacesforCalculations() const;
62 bool isUseRepresentativeSurfacesforCalculationsDefaulted() const;
63
64 //@}
65 /** @name Setters */
66 //@{
67
68 bool setUseCoilDirectSolutions(bool useCoilDirectSolutions);
69 void resetUseCoilDirectSolutions();
70
71 bool setZoneRadiantExchangeAlgorithm(const std::string& zoneRadiantExchangeAlgorithm);
72 void resetZoneRadiantExchangeAlgorithm();
73
74 bool setOverrideMode(const std::string& overrideMode);
75 void resetOverrideMode();
76
77 bool setMaxZoneTempDiff(double maxZoneTempDiff);
78 void resetMaxZoneTempDiff();
79
80 bool setMaxAllowedDelTemp(double maxAllowedDelTemp);
81 void resetMaxAllowedDelTemp();
82
83 bool setUseRepresentativeSurfacesforCalculations(bool useRepresentativeSurfacesforCalculations);
84 void resetUseRepresentativeSurfacesforCalculations();
85
86 //@}
87 /** @name Other */
88 //@{
89
90 //@}
91 protected:
92 private:
93 REGISTER_LOGGER("openstudio.model.PerformancePrecisionTradeoffs");
94 };
95
96 } // namespace detail
97
98 } // namespace model
99 } // namespace openstudio
100
101 #endif // MODEL_PERFORMANCEPRECISIONTRADEOFFS_IMPL_HPP
102