General: code modernization using clang-tidy
[marnav.git] / include / marnav / nmea / name.hpp
blob79766c82e853f0d504c435952ee3f79fc6372932
1 #ifndef MARNAV_NMEA_NAME_HPP
2 #define MARNAV_NMEA_NAME_HPP
4 #include <marnav/nmea/constants.hpp>
5 #include <marnav/nmea/sentence_id.hpp>
6 #include <marnav/nmea/talker_id.hpp>
7 #include <string>
9 namespace marnav::nmea
11 /// @{
12 /// Returns a printable / human readable name for the specified argument.
13 ///
14 /// @param[in] t The argument to return the name for.
15 /// @return The human readable name.
17 std::string to_name(sentence_id t);
18 std::string to_name(talker t);
19 std::string to_name(selection_mode t);
20 std::string to_name(status t);
21 std::string to_name(route_mode t);
22 std::string to_name(mode_indicator t);
23 std::string to_name(quality t);
24 std::string to_name(reference t);
25 std::string to_name(side t);
26 std::string to_name(type_of_point t);
28 std::string to_name(unit::distance t);
29 std::string to_name(unit::temperature t);
30 std::string to_name(unit::velocity t);
31 /// @}
34 #endif