1 #ifndef art_Framework_Art_detail_ServiceNames_h 2 #define art_Framework_Art_detail_ServiceNames_h 20 #include "boost/bimap.hpp" 24 namespace bimaps = boost::bimaps;
32 boost::bimap<bimaps::set_of<std::string>, bimaps::set_of<std::string>>;
34 static std::string
const&
37 auto it =
lookup_.left.find(fclname);
38 return it ==
lookup_.left.end() ? fclname : it->second;
41 static std::string
const&
44 auto it =
lookup_.right.find(libname);
45 return it ==
lookup_.right.end() ? libname : it->second;
static ServiceNames_bimap_t lookup_
static std::string const & libname(std::string const &fclname)
static std::string const & fclname(std::string const &libname)
boost::bimap< bimaps::set_of< std::string >, bimaps::set_of< std::string >> ServiceNames_bimap_t