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

Method removeFromSystem

src/model/RefrigerationCompressor.cpp:331–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329 }
330
331 void RefrigerationCompressor_Impl::removeFromSystem() {
332 if (boost::optional<RefrigerationSystem> refrigerationSystem = this->system()) {
333 auto refrigerationCompressor = this->getObject<RefrigerationCompressor>();
334 refrigerationSystem->removeCompressor(refrigerationCompressor);
335 refrigerationSystem->removeHighStageCompressor(refrigerationCompressor);
336 }
337 }
338
339 } // namespace detail
340

Callers 1

removeMethod · 0.95

Calls 3

systemMethod · 0.95
removeCompressorMethod · 0.80

Tested by

no test coverage detected