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.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_HPP
7 #define MODEL_DESIGNSPECIFICATIONZONEAIRDISTRIBUTION_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject.hpp"
11
12 namespace openstudio {
13
14 namespace model {
15
16 class Schedule;
17
18 namespace detail {
19
20 class DesignSpecificationZoneAirDistribution_Impl;
21
22 } // namespace detail
23
24 /** DesignSpecificationZoneAirDistribution is a ModelObject that wraps the OpenStudio IDD object 'OS:DesignSpecification:ZoneAirDistribution'. */
25 class MODEL_API DesignSpecificationZoneAirDistribution : public ModelObject
26 {
27 public:
28 explicit DesignSpecificationZoneAirDistribution(const Model& model);
29
30 ✗ virtual ~DesignSpecificationZoneAirDistribution() override = default;
31 // Default the copy and move operators because the virtual dtor is explicit
32 DesignSpecificationZoneAirDistribution(const DesignSpecificationZoneAirDistribution& other) = default;
33 DesignSpecificationZoneAirDistribution(DesignSpecificationZoneAirDistribution&& other) = default;
34 DesignSpecificationZoneAirDistribution& operator=(const DesignSpecificationZoneAirDistribution&) = default;
35 DesignSpecificationZoneAirDistribution& operator=(DesignSpecificationZoneAirDistribution&&) = default;
36
37 static IddObjectType iddObjectType();
38
39 double zoneAirDistributionEffectivenessinCoolingMode() const;
40
41 bool isZoneAirDistributionEffectivenessinCoolingModeDefaulted() const;
42
43 bool setZoneAirDistributionEffectivenessinCoolingMode(double zoneAirDistributionEffectivenessinCoolingMode);
44
45 void resetZoneAirDistributionEffectivenessinCoolingMode();
46
47 double zoneAirDistributionEffectivenessinHeatingMode() const;
48
49 bool isZoneAirDistributionEffectivenessinHeatingModeDefaulted() const;
50
51 bool setZoneAirDistributionEffectivenessinHeatingMode(double zoneAirDistributionEffectivenessinHeatingMode);
52
53 void resetZoneAirDistributionEffectivenessinHeatingMode();
54
55 boost::optional<Schedule> zoneAirDistributionEffectivenessSchedule() const;
56
57 bool setZoneAirDistributionEffectivenessSchedule(Schedule& schedule);
58
59 void resetZoneAirDistributionEffectivenessSchedule();
60
61 double zoneSecondaryRecirculationFraction() const;
62
63 bool isZoneSecondaryRecirculationFractionDefaulted() const;
64
65 bool setZoneSecondaryRecirculationFraction(double zoneSecondaryRecirculationFraction);
66
67 void resetZoneSecondaryRecirculationFraction();
68
69 protected:
70 /// @cond
71 using ImplType = detail::DesignSpecificationZoneAirDistribution_Impl;
72
73 explicit DesignSpecificationZoneAirDistribution(std::shared_ptr<detail::DesignSpecificationZoneAirDistribution_Impl> impl);
74
75 friend class detail::DesignSpecificationZoneAirDistribution_Impl;
76 friend class Model;
77 friend class IdfObject;
78 friend class openstudio::detail::IdfObject_Impl;
79 /// @endcond
80 private:
81 REGISTER_LOGGER("openstudio.model.DesignSpecificationZoneAirDistribution");
82 };
83
84 /** \relates DesignSpecificationZoneAirDistribution*/
85 using OptionalDesignSpecificationZoneAirDistribution = boost::optional<DesignSpecificationZoneAirDistribution>;
86
87 /** \relates DesignSpecificationZoneAirDistribution*/
88 using DesignSpecificationZoneAirDistributionVector = std::vector<DesignSpecificationZoneAirDistribution>;
89
90 } // namespace model
91 } // namespace openstudio
92
93 #endif // MODEL_DESIGNSPECIFICATIONZONEAIRDISTRIBUTION_HPP
94