| 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 |