MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / airLoops

Method airLoops

src/model/AirLoopHVACDedicatedOutdoorAirSystem.cpp:131–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 std::vector<AirLoopHVAC> AirLoopHVACDedicatedOutdoorAirSystem_Impl::airLoops() const {
132 std::vector<AirLoopHVAC> result;
133 auto groups = extensibleGroups();
134 for (const auto& group : groups) {
135 auto target = group.cast<WorkspaceExtensibleGroup>().getTarget(OS_AirLoopHVAC_DedicatedOutdoorAirSystemExtensibleFields::AirLoop);
136 if (target) {
137 if (auto airLoop = target->optionalCast<AirLoopHVAC>()) {
138 result.push_back(airLoop.get());
139 }
140 }
141 }
142 return result;
143 }
144
145 boost::optional<unsigned> AirLoopHVACDedicatedOutdoorAirSystem_Impl::airLoopIndex(const AirLoopHVAC& airLoopHVAC) const {
146

Callers 2

TEST_FFunction · 0.80

Calls 3

getTargetMethod · 0.45
push_backMethod · 0.45
getMethod · 0.45

Tested by 1

TEST_FFunction · 0.64