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

Method resetBody

src/model/EnergyManagementSystemSubroutine.cpp:151–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 bool EnergyManagementSystemSubroutine_Impl::resetBody() {
152 //erase body of program
153 bool results = false;
154 std::vector<std::vector<std::string>> result;
155 result = clearExtensibleGroups();
156 // if result is not empty, then the group was cleared out since the old values were returned
157 if (!result.empty()) {
158 results = true;
159 };
160 return results;
161 }
162
163 bool EnergyManagementSystemSubroutine_Impl::addLine(const std::string& line) {
164 //add line to end of program body

Callers 2

setBodyMethod · 0.95
setLinesMethod · 0.95

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected