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

Function isValidClassName

include/extractor/class_data.hpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32inline bool isValidClassName(const std::string &name)
33{
34 return std::find_if_not(name.begin(),
35 name.end(),
36 [](const auto c) { return std::isalnum(c); }) == name.end();
37}
38} // namespace osrm::extractor
39
40#endif

Callers 2

ProcessWayMethod · 0.85
SetClassNamesFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected