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

Method GetRefForID

include/extractor/string_table.hpp:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 std::string_view GetRefForID(const StringViewID id) const
84 {
85 if (id == INVALID_STRINGVIEWID)
86 return {};
87
88 const constexpr auto OFFSET_REF = 3u;
89 return indexed_data.at(id + OFFSET_REF);
90 }
91
92 std::string_view GetPronunciationForID(const StringViewID id) const
93 {

Callers 1

requiresNameAnnouncedFunction · 0.45

Calls 1

atMethod · 0.45

Tested by

no test coverage detected