23 #ifndef MODEM_ID_CONVERTH 24 #define MODEM_ID_CONVERTH 40 std::string read_lookup_file(std::string path);
42 std::string get_name_from_id(
int id);
43 std::string get_type_from_id(
int id);
44 std::string get_location_from_id(
int id);
45 int get_id_from_name(std::string name);
47 size_t max_name_length() {
return max_name_length_; }
48 int max_id() {
return max_id_; }
50 const std::map<int, std::string>& names()
const {
return names_; }
53 std::map<int, std::string> names_;
54 std::map<int, std::string> types_;
55 std::map<int, std::string> locations_;
57 size_t max_name_length_;
The global namespace for the Goby project.