MCPcopy Create free account
hub / github.com/devosoft/avida / ReadLine

Method ReadLine

avida-core/source/tools/cFile.cc:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool cFile::ReadLine(cString& in_string)
64{
65 std::string linebuf;
66 std::getline(fp, linebuf);
67 if (fp.bad()) return false;
68 in_string = linebuf.c_str();
69 return true;
70}

Callers 6

loadFileMethod · 0.80
InitWithDirectoryMethod · 0.80
FreezerMethod · 0.80
InstantiateGenomeMethod · 0.80
LoadAttachmentMethod · 0.80
ImportItemMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected