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/ZoneAirHeatBalanceAlgorithm_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_ZONEAIRHEATBALANCEALGORITHM_IMPL_HPP
7 #define MODEL_ZONEAIRHEATBALANCEALGORITHM_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 /** ZoneAirHeatBalanceAlgorithm_Impl is a ModelObject_Impl that is the implementation class for ZoneAirHeatBalanceAlgorithm.*/
18 class MODEL_API ZoneAirHeatBalanceAlgorithm_Impl : public ModelObject_Impl
19 {
20
21 public:
22 /** @name Constructors and Destructors */
23 //@{
24
25 // constructor
26 ZoneAirHeatBalanceAlgorithm_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 // construct from workspace
29 ZoneAirHeatBalanceAlgorithm_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
30
31 // clone copy constructor
32 ZoneAirHeatBalanceAlgorithm_Impl(const ZoneAirHeatBalanceAlgorithm_Impl& other, Model_Impl* model, bool keepHandle);
33
34 // virtual destructor
35 363 virtual ~ZoneAirHeatBalanceAlgorithm_Impl() override = default;
36
37 //@}
38
39 /** @name Virtual Methods */
40 //@{
41
42 // return the parent object in the hierarchy
43 virtual boost::optional<ParentObject> parent() const override;
44
45 // set the parent, child may have to call methods on the parent
46 virtual bool setParent(ParentObject& newParent) override;
47
48 // Get all output variable names that could be associated with this object.
49 virtual const std::vector<std::string>& outputVariableNames() const override;
50
51 virtual IddObjectType iddObjectType() const override;
52
53 //@}
54 /** @name Getters */
55 //@{
56
57 std::string algorithm() const;
58 bool isAlgorithmDefaulted() const;
59
60 bool doSpaceHeatBalanceforSizing() const;
61 bool isDoSpaceHeatBalanceforSizingDefaulted() const;
62
63 bool doSpaceHeatBalanceforSimulation() const;
64 bool isDoSpaceHeatBalanceforSimulationDefaulted() const;
65
66 //@}
67 /** @name Setters */
68 //@{
69
70 bool setAlgorithm(const std::string& algorithm);
71 void resetAlgorithm();
72
73 bool setDoSpaceHeatBalanceforSizing(bool doSpaceHeatBalanceforSizing);
74 void resetDoSpaceHeatBalanceforSizing();
75
76 bool setDoSpaceHeatBalanceforSimulation(bool doSpaceHeatBalanceforSimulation);
77 void resetDoSpaceHeatBalanceforSimulation();
78
79 //@}
80 /** @name Other */
81 //@{
82
83 //@}
84 protected:
85 private:
86 REGISTER_LOGGER("openstudio.model.ZoneAirHeatBalanceAlgorithm");
87 };
88
89 } // namespace detail
90
91 } // namespace model
92 } // namespace openstudio
93
94 #endif // MODEL_ZONEAIRHEATBALANCEALGORITHM_IMPL_HPP
95