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

Function AppendNames

tools/feature_list/feature_list.cpp:134–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void AppendNames(FeatureType & f, vector<string> & columns)
135{
136 vector<string> names(kLangCount);
137 f.GetNames().ForEach([&names](int8_t code, string_view name) { names[code] = name; });
138 columns.insert(columns.end(), next(names.begin()), names.end());
139}
140
141void PrintAsCSV(vector<string> const & columns, char const delimiter, ostream & out)
142{

Callers 1

ProcessMethod · 0.85

Calls 5

ForEachMethod · 0.45
GetNamesMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected