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

Method GetString

generator/osm2meta.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 m_values.push_back(value);
60 }
61 std::string GetString()
62 {
63 if (m_values.empty())
64 return {};
65
66 RemoveDuplicatesAndKeepOrder(m_values);
67 return strings::JoinStrings(m_values, kOSMMultivalueDelimiter);
68 }
69
70private:
71 std::vector<std::string> m_values;

Callers 7

RemoveUselessNamesMethod · 0.45
GetNameMethod · 0.45
AddSrcMethod · 0.45
MatchMethod · 0.45
InsertPostcodesFunction · 0.45
UNIT_CLASS_TESTFunction · 0.45
GetNameMethod · 0.45

Calls 3

JoinStringsFunction · 0.85
emptyMethod · 0.45

Tested by 2

UNIT_CLASS_TESTFunction · 0.36
GetNameMethod · 0.36