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

Method remove

src/model/RefrigerationCase.cpp:122–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 std::vector<IdfObject> RefrigerationCase_Impl::remove() {
123 std::vector<IdfObject> result;
124
125 this->removeFromSystem();
126 this->removeFromSecondarySystem();
127 this->removeFromCompressorRack();
128
129 if (boost::optional<RefrigerationDefrostCycleParameters> caseDefrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
130 std::vector<IdfObject> removedDefrostCycleParameters = caseDefrostCycleParameters->remove();
131 result.insert(result.end(), removedDefrostCycleParameters.begin(), removedDefrostCycleParameters.end());
132 }
133
134 std::vector<IdfObject> removedRefrigerationCase = ParentObject_Impl::remove();
135 result.insert(result.end(), removedRefrigerationCase.begin(), removedRefrigerationCase.end());
136
137 return result;
138 }
139
140 std::vector<IddObjectType> RefrigerationCase_Impl::allowableChildTypes() const {
141 std::vector<IddObjectType> result;

Callers

nothing calls this directly

Calls 7

removeFromSystemMethod · 0.95
beginMethod · 0.80
insertMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected