GCC Code Coverage Report


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

src/model/AirLoopHVACZoneSplitter_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_AIRLOOPHVACZONESPLITTER_IMPL_HPP
7 #define MODEL_AIRLOOPHVACZONESPLITTER_IMPL_HPP
8
9 #include "Splitter_Impl.hpp"
10
11 namespace openstudio {
12 namespace model {
13
14 class ThermalZone;
15 class AirflowNetworkDistributionNode;
16
17 namespace detail {
18
19 class MODEL_API AirLoopHVACZoneSplitter_Impl : public Splitter_Impl
20 {
21 public:
22 // constructor
23 AirLoopHVACZoneSplitter_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
24
25 // construct from workspace
26 AirLoopHVACZoneSplitter_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
27
28 // copy constructor
29 AirLoopHVACZoneSplitter_Impl(const AirLoopHVACZoneSplitter_Impl& other, Model_Impl* model, bool keepHandle);
30
31 // virtual destructor
32 1079 virtual ~AirLoopHVACZoneSplitter_Impl() override = default;
33
34 // Get all output variable names that could be associated with this object.
35 virtual const std::vector<std::string>& outputVariableNames() const override;
36
37 virtual IddObjectType iddObjectType() const override;
38
39 virtual std::vector<ModelObject> children() const override;
40
41 std::vector<openstudio::IdfObject> remove() override;
42
43 virtual unsigned inletPort() const override;
44
45 unsigned outletPort(unsigned branchIndex) const override;
46
47 unsigned nextOutletPort() const override;
48
49 std::vector<ThermalZone> thermalZones();
50
51 boost::optional<ModelObject> zoneEquipmentForBranch(int branchIndex);
52
53 void disconnect() override;
54
55 AirflowNetworkDistributionNode getAirflowNetworkDistributionNode();
56
57 boost::optional<AirflowNetworkDistributionNode> airflowNetworkDistributionNode() const;
58
59 virtual ComponentType componentType() const override;
60 virtual std::vector<FuelType> coolingFuelTypes() const override;
61 virtual std::vector<FuelType> heatingFuelTypes() const override;
62 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
63
64 private:
65 − REGISTER_LOGGER("openstudio.model.AirLoopHVACZoneSplitter");
66 };
67
68 } // namespace detail
69
70 } // namespace model
71
72 } // namespace openstudio
73
74 #endif // MODEL_AIRLOOPHVACZONESPLITTER_IMPL_HPP
75