MCPcopy Create free account
hub / github.com/amule-project/amule / ReadLines

Method ReadLines

src/libs/common/TextFile.cpp:200–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198
199
200wxArrayString CTextFile::ReadLines(EReadTextFile flags, const wxMBConv& conv)
201{
202 wxArrayString lines;
203
204 while (!Eof()) {
205 bool result = true;
206
207 wxString line = GetNextLine(flags, conv, &result);
208
209 if (result) {
210 lines.Add(line);
211 }
212 }
213
214 return lines;
215}
216
217
218bool CTextFile::WriteLines(const wxArrayString& lines, const wxMBConv& conv)

Callers 3

CPreferencesMethod · 0.80
LoadDirListFileFunction · 0.80
CompareReadLinesFunction · 0.80

Calls 1

AddMethod · 0.45

Tested by 1

CompareReadLinesFunction · 0.64