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

Method reliefComponent

src/model/AirLoopHVACOutdoorAirSystem.cpp:449–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447 }
448
449 boost::optional<ModelObject> AirLoopHVACOutdoorAirSystem_Impl::reliefComponent(openstudio::Handle handle) const {
450 auto comps = reliefComponents();
451
452 auto it = std::find_if(comps.begin(), comps.end(), [&](const ModelObject& comp) { return (comp.handle() == handle); });
453 if (it != comps.end()) {
454 return *it;
455 }
456
457 return boost::none;
458 }
459
460 bool AirLoopHVACOutdoorAirSystem_Impl::addToNode(Node& node) {
461

Callers 8

addToNodeMethod · 0.80
addToNodeMethod · 0.80
addToNodeMethod · 0.80
removeFromAirLoopHVACMethod · 0.80
removeFromAirLoopHVACMethod · 0.80
addToNodeMethod · 0.80
removeFromLoopMethod · 0.80
addToNodeMethod · 0.80

Calls 3

beginMethod · 0.80
endMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected