LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::Suffixes Class Reference

#include "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 print ()
 
static std::vector< std::string > const & all ()
 

Static Private Member Functions

static constexpr auto index_for (suffix_type const st)
 

Static Private Attributes

static std::vector< std::string > const suffixes_
 

Detailed Description

Definition at line 75 of file PluginSuffixes.h.

Member Function Documentation

static std::vector<std::string> const& art::Suffixes::all ( )
inlinestatic

Definition at line 129 of file PluginSuffixes.h.

130  {
131  return suffixes_;
132  }
static std::vector< std::string > const suffixes_
static constexpr auto art::Suffixes::index_for ( suffix_type const  st)
inlinestaticprivate

Definition at line 77 of file PluginSuffixes.h.

78  {
79  return static_cast<std::underlying_type_t<suffix_type>>(st);
80  }
static std::string const& art::Suffixes::mfPlugin ( )
inlinestatic

Definition at line 109 of file PluginSuffixes.h.

References art::mfPlugin.

Referenced by art::detail::get_MetadataCollector(), and art::detail::get_MetadataSummary().

110  {
112  }
static std::vector< std::string > const suffixes_
static constexpr auto index_for(suffix_type const st)
static std::string const& art::Suffixes::mfStatsPlugin ( )
inlinestatic

Definition at line 114 of file PluginSuffixes.h.

References art::mfStatsPlugin.

Referenced by art::detail::get_MetadataCollector(), and art::detail::get_MetadataSummary().

115  {
117  }
static std::vector< std::string > const suffixes_
static constexpr auto index_for(suffix_type const st)
static std::string const& art::Suffixes::module ( )
inlinestatic

Definition at line 84 of file PluginSuffixes.h.

References art::module.

Referenced by art::BasicOutputOptionsHandler::doCheckOptions(), art::BasicOptionsHandler::doCheckOptions(), art::detail::get_MetadataCollector(), and art::detail::get_MetadataSummary().

85  {
87  }
static std::vector< std::string > const suffixes_
static constexpr auto index_for(suffix_type const st)
static std::string const& art::Suffixes::plugin ( )
inlinestatic

Definition at line 89 of file PluginSuffixes.h.

References art::plugin.

Referenced by art::detail::get_MetadataCollector(), art::detail::get_MetadataSummary(), and art::RPManager::RPManager().

90  {
92  }
static std::vector< std::string > const suffixes_
static constexpr auto index_for(suffix_type const st)
static std::string art::Suffixes::print ( )
inlinestatic

Definition at line 120 of file PluginSuffixes.h.

Referenced by art::BasicOptionsHandler::BasicOptionsHandler(), and art::detail::print_description().

121  {
122  std::string result;
123  for (auto const& suffix : suffixes_)
124  result += "\n '" + suffix + "'";
125  return result;
126  }
static std::vector< std::string > const suffixes_
static std::string const& art::Suffixes::service ( )
inlinestatic

Definition at line 94 of file PluginSuffixes.h.

References art::service.

Referenced by art::BasicOptionsHandler::doCheckOptions(), art::detail::get_LibraryInfoCollection(), art::detail::get_MetadataCollector(), and art::detail::get_MetadataSummary().

95  {
97  }
static std::vector< std::string > const suffixes_
static constexpr auto index_for(suffix_type const st)
static std::string const& art::Suffixes::source ( )
inlinestatic

Definition at line 99 of file PluginSuffixes.h.

References art::source.

Referenced by art::detail::get_MetadataCollector(), art::detail::get_MetadataSummary(), and art::InputSourceFactory::make().

100  {
102  }
static std::vector< std::string > const suffixes_
static constexpr auto index_for(suffix_type const st)
static std::string const& art::Suffixes::tool ( )
inlinestatic

Definition at line 104 of file PluginSuffixes.h.

References art::tool.

Referenced by art::detail::get_MetadataCollector(), art::detail::get_MetadataSummary(), and art::make_tool().

105  {
107  }
static std::vector< std::string > const suffixes_
static constexpr auto index_for(suffix_type const st)

Member Data Documentation

std::vector< std::string > const art::Suffixes::suffixes_
staticprivate
Initial value:
{"module",
"plugin",
"service",
"source",
"tool",
"mfPlugin",
"mfStatsPlugin"}

Definition at line 135 of file PluginSuffixes.h.


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