MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / readNextLineNotEmpty

Function readNextLineNotEmpty

source/utils/Helper.cpp:191–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 }
190
191 bool readNextLineNotEmpty(std::istream& is, std::string& line)
192 {
193 while (is.good())
194 {
195 std::getline(is, line);
196 trim(line);
197 if(!line.empty())
198 return true;
199 }
200 return false;
201 }
202
203 std::string toString(void* p)
204 {

Callers 8

exceptionFilterMethod · 0.85
fillMasterServerGamesFunction · 0.85
exceptionFilterMethod · 0.85
critErrHandlerMethod · 0.85
loadMethod · 0.85
loadCreatureSkillsMethod · 0.85
loadCreatureMoodsMethod · 0.85

Calls 1

trimFunction · 0.85

Tested by

no test coverage detected