30 #include <RobotAPI/interface/aron.h>
34 template <
class T1,
class T2>
39 for (
const auto& [key, val] : m)
41 ret.emplace(val, key);
47 std::map<T, std::string>
50 return InvertMap<std::string, T>(m);
54 std::map<std::string, T>
57 return InvertMap<T, std::string>(m);
64 type::Maybe::OPTIONAL,
66 type::Maybe::SHARED_PTR,
67 type::Maybe::UNIQUE_PTR};
112 namespace defaultconversion::string
117 {Maybe::RAW_PTR,
"armarx::aron::type::Maybe::RAW_PTR"},
118 {Maybe::SHARED_PTR,
"armarx::aron::type::Maybe::SHARED_PTR"},
119 {Maybe::UNIQUE_PTR,
"armarx::aron::type::Maybe::UNIQUE_PTR"},
120 {Maybe::OPTIONAL,
"armarx::aron::type::Maybe::OPTIONAL"}};
146 namespace defaultconversion::typeinfo
204 namespace defaultconversion::string
220 namespace defaultconversion::typeinfo
242 namespace defaultconversion