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

Method PopLine

avida-core/source/tools/cStringList.cc:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86cString cStringList::PopLine(int line_num)
87{
88 tListIterator<cString> string_it(string_list);
89 string_it.Next();
90 for (int k = 0; k < line_num && string_it.Next(); k++) ;
91 return ReturnString(string_list.Remove(string_it));
92}
93
94int cStringList::LocateString(const cString & test_string) const
95{

Callers 4

NotifyMethod · 0.45
NotifyMethod · 0.45
CommandMapTasksMethod · 0.45

Calls 2

NextMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected