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

Method removeStage

src/model/CoilHeatingDXMultiSpeed.cpp:450–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448 }
449
450 bool CoilHeatingDXMultiSpeed_Impl::removeStage(const CoilHeatingDXMultiSpeedStageData& stage) {
451 boost::optional<unsigned> idx = stageIndex(stage);
452 if (!idx) {
453 LOG(Warn, "For " << briefDescription() << " cannot remove stage " << stage.briefDescription() << " since it is not part of it.");
454 return false;
455 }
456
457 return removeStage(idx.get());
458 }
459
460 bool CoilHeatingDXMultiSpeed_Impl::removeStage(unsigned index) {
461 bool result = false;

Callers 8

removeMethod · 0.45
removeMethod · 0.45
removeMethod · 0.45
removeMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 3

briefDescriptionMethod · 0.80
eraseExtensibleGroupMethod · 0.80
getMethod · 0.45

Tested by 4

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36