GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 0.0% 0 / 0 / 1
Functions: 0.0% 0 / 0 / 1
Branches: -% 0 / 0 / 0

src/model/DesignSpecificationZoneAirDistribution_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_DESIGNSPECIFICATIONZONEAIRDISTRIBUTION_IMPL_HPP
7 #define MODEL_DESIGNSPECIFICATIONZONEAIRDISTRIBUTION_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Schedule;
16
17 namespace detail {
18
19 /** DesignSpecificationZoneAirDistribution_Impl is a ModelObject_Impl that is the implementation class for DesignSpecificationZoneAirDistribution.*/
20 class MODEL_API DesignSpecificationZoneAirDistribution_Impl : public ModelObject_Impl
21 {
22
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 DesignSpecificationZoneAirDistribution_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 DesignSpecificationZoneAirDistribution_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
30
31 DesignSpecificationZoneAirDistribution_Impl(const DesignSpecificationZoneAirDistribution_Impl& other, Model_Impl* model, bool keepHandle);
32
33 ✗ virtual ~DesignSpecificationZoneAirDistribution_Impl() override = default;
34
35 //@}
36
37 /** @name Virtual Methods */
38 //@{
39
40 virtual const std::vector<std::string>& outputVariableNames() const override;
41
42 virtual IddObjectType iddObjectType() const override;
43
44 virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
45
46 //@}
47 /** @name Getters */
48 //@{
49
50 double zoneAirDistributionEffectivenessinCoolingMode() const;
51
52 bool isZoneAirDistributionEffectivenessinCoolingModeDefaulted() const;
53
54 double zoneAirDistributionEffectivenessinHeatingMode() const;
55
56 bool isZoneAirDistributionEffectivenessinHeatingModeDefaulted() const;
57
58 boost::optional<Schedule> zoneAirDistributionEffectivenessSchedule() const;
59
60 double zoneSecondaryRecirculationFraction() const;
61
62 bool isZoneSecondaryRecirculationFractionDefaulted() const;
63
64 //@}
65 /** @name Setters */
66 //@{
67
68 bool setZoneAirDistributionEffectivenessinCoolingMode(double zoneAirDistributionEffectivenessinCoolingMode);
69
70 void resetZoneAirDistributionEffectivenessinCoolingMode();
71
72 bool setZoneAirDistributionEffectivenessinHeatingMode(double zoneAirDistributionEffectivenessinHeatingMode);
73
74 void resetZoneAirDistributionEffectivenessinHeatingMode();
75
76 bool setZoneAirDistributionEffectivenessSchedule(Schedule& schedule);
77
78 void resetZoneAirDistributionEffectivenessSchedule();
79
80 bool setZoneSecondaryRecirculationFraction(double zoneSecondaryRecirculationFraction);
81
82 void resetZoneSecondaryRecirculationFraction();
83
84 //@}
85 /** @name Other */
86 //@{
87
88 //@}
89 protected:
90 private:
91 REGISTER_LOGGER("openstudio.model.DesignSpecificationZoneAirDistribution");
92
93 boost::optional<ModelObject> zoneAirDistributionEffectivenessScheduleAsModelObject() const;
94
95 bool setZoneAirDistributionEffectivenessScheduleAsModelObject(const boost::optional<ModelObject>& modelObject);
96 };
97
98 } // namespace detail
99
100 } // namespace model
101 } // namespace openstudio
102
103 #endif // MODEL_DESIGNSPECIFICATIONZONEAIRDISTRIBUTION_IMPL_HPP
104