MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / GetNameForID

Method GetNameForID

include/extractor/string_table.hpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 StringTableImpl(IndexedData indexed_data_) : indexed_data{std::move(indexed_data_)} {}
58
59 std::string_view GetNameForID(const StringViewID id) const
60 {
61 if (id == INVALID_STRINGVIEWID)
62 return {};
63
64 return indexed_data.at(id + 0);
65 }
66
67 std::string_view GetDestinationsForID(const StringViewID id) const
68 {

Callers 11

findBasicTurnTypeMethod · 0.45
isSameNameMethod · 0.45
operator()Method · 0.45
isObviousOfTwoMethod · 0.45
findSegregatedNodesFunction · 0.45
getRoundaboutTypeMethod · 0.45
fromRampMethod · 0.45
encodeVectorTileFunction · 0.45
makeCheckRoadForNameFunction · 0.45
IsTrafficIslandMethod · 0.45
requiresNameAnnouncedFunction · 0.45

Calls 1

atMethod · 0.45

Tested by

no test coverage detected