18 #ifndef NAF_TOOLS_ROUTE
19 #define NAF_TOOLS_ROUTE
41 enum class NAF::Tools::RouteType
52 Route(std::string route);
53 Route(std::vector<std::string> segments);
56 std::string get_route()
const {
return route_; }
57 RouteType get_current_route_type()
const {
return current_route_type_;}
58 std::vector<std::string> get_segments()
const {
return segments_;}
60 void set_current_route_type(RouteType current_route_type) {current_route_type_ = current_route_type;}
61 void set_segments(std::vector<std::string> segments) {segments_ = segments;}
63 std::string SegmentsToString_();
64 bool operator==(
const Route& route);
67 void StringToSegment_(std::string& route);
68 void IdentifyRouteType_();
72 RouteType current_route_type_;
73 std::vector<std::string> segments_;