| 332 | typedef std::list<std::string> StringList; |
| 333 | |
| 334 | std::string convertToDelimitedString(const StringList& list) { |
| 335 | std::stringstream os; |
| 336 | |
| 337 | os << "{"; |
| 338 | |
| 339 | for (StringList::const_iterator iList = list.begin(); iList != list.end(); |
| 340 | ++iList) { |
| 341 | if (iList != list.begin()) { |
| 342 | os << ", "; |
| 343 | } |
| 344 | |
| 345 | os << "\"" << *iList << "\""; |
| 346 | } |
| 347 | os << "}"; |
| 348 | |
| 349 | return os.str(); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | /****************************************************************************** |
no test coverage detected