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

Method GetClassNames

src/extractor/scripting_environment_lua.cpp:1196–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1194}
1195
1196std::vector<std::string> Sol2ScriptingEnvironment::GetClassNames()
1197{
1198 auto &context = GetSol2Context();
1199 switch (context.api_version)
1200 {
1201 case 4:
1202 case 3:
1203 case 2:
1204 return Sol2ScriptingEnvironment::GetStringListFromTable("classes");
1205 default:
1206 return {};
1207 }
1208}
1209
1210std::vector<std::string> Sol2ScriptingEnvironment::GetNameSuffixList()
1211{

Callers 1

ParseOSMDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected