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

Method removeFromSystem

src/model/RefrigerationCase.cpp:1265–1270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1263 }
1264
1265 void RefrigerationCase_Impl::removeFromSystem() {
1266 boost::optional<RefrigerationSystem> refrigerationSystem = system();
1267 if (refrigerationSystem) {
1268 refrigerationSystem.get().removeCase(this->getObject<RefrigerationCase>());
1269 }
1270 }
1271
1272 bool RefrigerationCase_Impl::addToSecondarySystem(RefrigerationSecondarySystem& secondarySystem) {
1273 return secondarySystem.addCase(this->getObject<RefrigerationCase>());

Callers 1

removeMethod · 0.95

Calls 2

removeCaseMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected