restructured to only return valid turns to the outside + cleanup
This commit is contained in:
committed by
Patrick Niklaus
parent
a3cf7f09e8
commit
1cc9a2f4a1
@@ -10,14 +10,19 @@ namespace osrm
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
|
||||
// While this could, theoretically, hold any names in the fitting format,
|
||||
// the NameTable allows access to a part of the Datafacade to allow
|
||||
// processing based on name indices.
|
||||
class NameTable
|
||||
{
|
||||
private:
|
||||
//FIXME should this use shared memory
|
||||
// FIXME should this use shared memory
|
||||
RangeTable<16, false> m_name_table;
|
||||
ShM<char, false>::vector m_names_char_list;
|
||||
|
||||
public:
|
||||
NameTable( const std::string &filename );
|
||||
NameTable(const std::string &filename);
|
||||
std::string get_name_for_id(const unsigned name_id) const;
|
||||
};
|
||||
} // namespace util
|
||||
|
||||
Reference in New Issue
Block a user