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

Method resetBody

src/model/EnergyManagementSystemProgram.cpp:157–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

setBodyMethod · 0.95
setLinesMethod · 0.95
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

emptyMethod · 0.45

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36