MCPcopy Create free account
hub / github.com/comaps/comaps / LanguagesListToString

Function LanguagesListToString

libs/kml/pykmlib/bindings.cpp:447–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447std::string LanguagesListToString(std::vector<int8_t> const & langs)
448{
449 std::ostringstream out;
450 out << "[";
451 for (size_t i = 0; i < langs.size(); ++i)
452 {
453 out << "'" << localisation::GetLanguageNameByLanguageIndex(langs[i]) << "'";
454 if (i + 1 != langs.size())
455 out << ", ";
456 }
457 out << "]";
458 return out.str();
459}
460
461std::string CategoryDataToString(CategoryData const & c)
462{

Callers 1

CategoryDataToStringFunction · 0.85

Calls 2

sizeMethod · 0.45

Tested by

no test coverage detected