1 #ifndef art_Utilities_PluginSuffixes_h 2 #define art_Utilities_PluginSuffixes_h 57 #include <type_traits> 74 return os << static_cast<std::underlying_type_t<suffix_type>>(st);
79 static std::string
const&
84 static std::string
const&
89 static std::string
const&
94 static std::string
const&
99 static std::string
const&
104 static std::string
const&
109 static std::string
const&
115 static std::string
const&
118 return suffixes_[st];
125 for (
auto const& pr : suffixes_)
126 result +=
"\n '" + pr.second +
"'";
131 get(std::string
const& suffix)
133 auto it = rSuffixes_.find(suffix);
134 if (it == rSuffixes_.cend()) {
136 <<
" The suffix '" << suffix <<
"' is not supported.\n" 137 <<
" Please choose from:" << print();
142 static std::map<suffix_type, std::string>
const&
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
static std::string const & mfStatsPlugin()
static std::map< suffix_type, std::string > const & all()
static std::string print()
static std::string const & source()
static std::map< std::string, suffix_type > rSuffixes_
static std::string const & plugin()
static std::string const & tool()
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
static std::string const & mfPlugin()
static std::string const & service()
static std::string const & module()
static std::map< suffix_type, std::string > suffixes_