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

Function getClassData

include/extractor/class_data.hpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24inline auto getClassIndexes(const ClassData data) { return util::makeBitRange<ClassData>(data); }
25
26inline auto getClassData(const std::size_t index)
27{
28 BOOST_ASSERT(index <= MAX_CLASS_INDEX);
29 return uint8_t{1} << index;
30}
31
32inline bool isValidClassName(const std::string &name)
33{

Callers 3

ProcessWayMethod · 0.85
SetClassNamesFunction · 0.85
DataFacadeFactoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected