Select a section for performing operations
| 166 | |
| 167 | //Select a section for performing operations |
| 168 | bool select(const section_t section) |
| 169 | { |
| 170 | sectionsit_t sectionsit = sections.find(section); |
| 171 | if (sectionsit == sections.end()) |
| 172 | return false; |
| 173 | |
| 174 | current = sectionsit->second; |
| 175 | |
| 176 | return true; |
| 177 | } |
| 178 | |
| 179 | ///Debug |
| 180 | friend std::ostream& operator<<(std::ostream& os, const ini_t& ini) |
no test coverage detected