1 #ifndef _TRIG_ROADS__H_
2 #define _TRIG_ROADS__H_
5 #include <unordered_map>
11 std::string m_file_name;
14 std::vector<TrigRoad> m_roads;
15 std::unordered_map<int, int> m_idx_map;
18 TrigRoads(
const int pol,
const int top_bot);
26 int TopBot()
const {
return m_top_bot; }
29 std::string
str(
const int level=0)
const;
TrigRoads(const int pol, const int top_bot)
int LoadConfig(const std::string file_name)
TrigRoad * FindRoad(const int road_id)
std::string str(const int level=0) const
unsigned int GetNumRoads() const
TrigRoad * GetRoad(const int idx)