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

Function ArrToStr

unittests/tests/TextFileTest.cpp:17–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17wxString ArrToStr(const wxArrayString& arr)
18{
19 wxString str = "[";
20
21 for (size_t i = 0; i < arr.Count(); ++i) {
22 if (str != "[") {
23 str << ", \"" << arr[i] << '"';
24 } else {
25 str << '"' << arr[i] << '"';
26 }
27 }
28
29 str << "]";
30
31 return str;
32}
33
34
35wxString ArrToStr(size_t count, const char* arr[])

Callers 1

CompareReadLinesFunction · 0.85

Calls 1

wxArrayStringClass · 0.85

Tested by

no test coverage detected