~valhalla-routing/+junk/valhalla_2.1.9-0ubuntu1

« back to all changes in this revision

Viewing changes to libvalhalla/valhalla/baldr/streetname_us.h

  • Committer: valhalla
  • Date: 2017-04-24 20:20:53 UTC
  • Revision ID: valhalla@mapzen.com-20170424202053-7o69b9nwx9ee0tw3
PackagingĀ forĀ 2.1.9-0ubuntu1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef VALHALLA_BALDR_STREETNAME_US_H_
 
2
#define VALHALLA_BALDR_STREETNAME_US_H_
 
3
 
 
4
#include <valhalla/baldr/streetname.h>
 
5
 
 
6
#include <string>
 
7
#include <vector>
 
8
#include <memory>
 
9
 
 
10
namespace valhalla {
 
11
namespace baldr {
 
12
 
 
13
class StreetNameUs : public StreetName {
 
14
 public:
 
15
  StreetNameUs(const std::string& value);
 
16
 
 
17
  std::string GetPreDir() const override;
 
18
 
 
19
  std::string GetPostDir() const override;
 
20
 
 
21
  std::string GetPostCardinalDir() const override;
 
22
 
 
23
  std::string GetBaseName() const override;
 
24
 
 
25
  bool HasSameBaseName(const StreetName& rhs) const override;
 
26
 
 
27
 protected:
 
28
  static const std::vector<std::string> pre_dirs_;
 
29
  static const std::vector<std::string> post_dirs_;
 
30
  static const std::vector<std::string> post_cardinal_dirs_;
 
31
};
 
32
 
 
33
}
 
34
}
 
35
 
 
36
#endif  // VALHALLA_BALDR_STREETNAME_US_H_