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

Method GetLine

avida-core/source/tools/cInitFile.cc:299–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298
299cString cInitFile::GetLine(int line_num)
300{
301 if (line_num < 0 || line_num >= m_lines.GetSize()) return "";
302 return m_lines[line_num]->line;
303}
304
305Apto::SmartPtr<Apto::Map<Apto::String, Apto::String> > cInitFile::GetLineAsDict(int line_num)
306{

Callers 15

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
LoadBatchWithInstSetFunction · 0.45
LoadWithStringListMethod · 0.45
LoadInstSetsMethod · 0.45
LoadMiniTraceQMethod · 0.45

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected