Static Public Member Functions | Static Private Attributes | List of all members
art::Suffixes Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Utilities/PluginSuffixes.h"

Static Public Member Functions

static std::string const & module ()
 
static std::string const & plugin ()
 
static std::string const & service ()
 
static std::string const & source ()
 
static std::string const & tool ()
 
static std::string const & mfPlugin ()
 
static std::string const & mfStatsPlugin ()
 
static std::string const & get (suffix_type st)
 
static std::string print ()
 
static suffix_type get (std::string const &suffix)
 
static std::map< suffix_type, std::string > const & all ()
 

Static Private Attributes

static std::map< suffix_type, std::stringsuffixes_
 
static std::map< std::string, suffix_typerSuffixes_
 

Detailed Description

Definition at line 77 of file PluginSuffixes.h.

Member Function Documentation

static std::map<suffix_type, std::string> const& art::Suffixes::all ( )
inlinestatic

Definition at line 143 of file PluginSuffixes.h.

144  {
145  return suffixes_;
146  }
static std::map< suffix_type, std::string > suffixes_
static std::string const& art::Suffixes::get ( suffix_type  st)
inlinestatic

Definition at line 116 of file PluginSuffixes.h.

References string.

Referenced by art::detail::getFilePath().

117  {
118  return suffixes_[st];
119  }
static std::map< suffix_type, std::string > suffixes_
static suffix_type art::Suffixes::get ( std::string const &  suffix)
inlinestatic

Definition at line 131 of file PluginSuffixes.h.

References it, art::errors::NotFound, and print.

132  {
133  auto it = rSuffixes_.find(suffix);
134  if (it == rSuffixes_.cend()) {
136  << " The suffix '" << suffix << "' is not supported.\n"
137  << " Please choose from:" << print();
138  }
139  return it->second;
140  }
set< int >::iterator it
static std::string print()
static std::map< std::string, suffix_type > rSuffixes_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66
static std::string const& art::Suffixes::mfPlugin ( )
inlinestatic

Definition at line 105 of file PluginSuffixes.h.

References art::mfPlugin, and string.

106  {
108  }
static std::map< suffix_type, std::string > suffixes_
static std::string const& art::Suffixes::mfStatsPlugin ( )
inlinestatic

Definition at line 110 of file PluginSuffixes.h.

References art::mfStatsPlugin, and string.

111  {
113  }
static std::map< suffix_type, std::string > suffixes_
static std::string const& art::Suffixes::module ( )
inlinestatic

Definition at line 80 of file PluginSuffixes.h.

References art::module, and string.

81  {
83  }
static std::map< suffix_type, std::string > suffixes_
static std::string const& art::Suffixes::plugin ( )
inlinestatic

Definition at line 85 of file PluginSuffixes.h.

References art::plugin, and string.

86  {
88  }
static std::map< suffix_type, std::string > suffixes_
static std::string art::Suffixes::print ( )
inlinestatic

Definition at line 122 of file PluginSuffixes.h.

References gammaraytel::pr, fillBadChanDBTables::result, and string.

123  {
125  for (auto const& pr : suffixes_)
126  result += "\n '" + pr.second + "'";
127  return result;
128  }
static std::map< suffix_type, std::string > suffixes_
enum BeamMode string
static std::string const& art::Suffixes::service ( )
inlinestatic

Definition at line 90 of file PluginSuffixes.h.

References art::service, and string.

91  {
93  }
static std::map< suffix_type, std::string > suffixes_
static std::string const& art::Suffixes::source ( )
inlinestatic

Definition at line 95 of file PluginSuffixes.h.

References art::source, and string.

96  {
98  }
static std::map< suffix_type, std::string > suffixes_
static std::string const& art::Suffixes::tool ( )
inlinestatic

Definition at line 100 of file PluginSuffixes.h.

References string, and art::tool.

Referenced by art::make_tool().

101  {
103  }
static std::map< suffix_type, std::string > suffixes_

Member Data Documentation

std::map<std::string, suffix_type> art::Suffixes::rSuffixes_
staticprivate

Definition at line 150 of file PluginSuffixes.h.

std::map<suffix_type, std::string> art::Suffixes::suffixes_
staticprivate

Definition at line 149 of file PluginSuffixes.h.


The documentation for this class was generated from the following file: