5 reverseMap(std::map<art::suffix_type, std::string>
const& map)
7 std::map<std::string, art::suffix_type> result;
8 for (
auto const& pr : map)
9 result.emplace(pr.second, pr.first);
15 {suffix_type::module,
"module"},
16 {suffix_type::plugin,
"plugin"},
17 {suffix_type::service,
"service"},
18 {suffix_type::source,
"source"},
19 {suffix_type::tool,
"tool"},
20 {suffix_type::mfPlugin,
"mfPlugin"},
21 {suffix_type::mfStatsPlugin,
"mfStatsPlugin"}};
24 reverseMap(suffixes_);
static std::map< std::string, suffix_type > rSuffixes_
static std::map< suffix_type, std::string > suffixes_