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

Method allowsEntry

src/util/guidance/entry_class.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19bool EntryClass::allowsEntry(std::uint32_t index) const
20{
21 BOOST_ASSERT(index < CHAR_BIT * sizeof(FlagBaseType));
22 return 0 != (enabled_entries_flags & (FlagBaseType{1} << index));
23}
24
25bool EntryClass::operator==(const EntryClass &other) const
26{

Callers 1

assembleStepsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected