MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / select

Method select

Source/Utils/ini.hpp:168–177  ·  view source on GitHub ↗

Select a section for performing operations

Source from the content-addressed store, hash-verified

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)

Callers 1

ProcessINIMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected