LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore > Class Template Reference

#include "Analyzer.h"

Inheritance diagram for art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >:
fhicl::ConfigurationTable

Classes

struct  FullConfig
 

Public Member Functions

 Table (fhicl::Name &&name)
 
 Table (fhicl::ParameterSet const &pset)
 
auto const & operator() () const
 
auto const & eoFragment () const
 
auto const & get_PSet () const
 
void print_allowed_configuration (std::ostream &os, std::string const &prefix) const
 
cet::exempt_ptr< fhicl::detail::ParameterBase const > parameter_base () const
 

Private Types

using KeysToIgnore_t = std::conditional_t< std::is_void< UserKeysToIgnore >::value, ModuleConfig::IgnoreKeys, fhicl::KeysToIgnore< ModuleConfig::IgnoreKeys, UserKeysToIgnore >>
 

Private Member Functions

cet::exempt_ptr< fhicl::detail::ParameterBase const > get_parameter_base () const override
 

Private Attributes

fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_tfullConfig_
 

Detailed Description

template<typename UserConfig, typename UserKeysToIgnore = void>
class art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >

Definition at line 37 of file Analyzer.h.

Member Typedef Documentation

template<typename UserConfig, typename UserKeysToIgnore = void>
using art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::KeysToIgnore_t = std::conditional_t< std::is_void<UserKeysToIgnore>::value, ModuleConfig::IgnoreKeys, fhicl::KeysToIgnore<ModuleConfig::IgnoreKeys, UserKeysToIgnore>>
private

Definition at line 48 of file Analyzer.h.

Constructor & Destructor Documentation

template<typename UserConfig, typename UserKeysToIgnore = void>
art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::Table ( fhicl::Name &&  name)
inlineexplicit

Definition at line 51 of file Analyzer.h.

51 : fullConfig_{std::move(name)} {}
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:86
template<typename UserConfig, typename UserKeysToIgnore = void>
art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::Table ( fhicl::ParameterSet const &  pset)
inline

Definition at line 52 of file Analyzer.h.

52 : fullConfig_{pset} {}
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:86

Member Function Documentation

template<typename UserConfig, typename UserKeysToIgnore = void>
auto const& art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::eoFragment ( ) const
inline

Definition at line 61 of file Analyzer.h.

References art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

62  {
63  return fullConfig_().eoConfig();
64  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:86
template<typename UserConfig, typename UserKeysToIgnore = void>
cet::exempt_ptr<fhicl::detail::ParameterBase const> art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::get_parameter_base ( ) const
inlineoverrideprivatevirtual

Implements fhicl::ConfigurationTable.

Definition at line 81 of file Analyzer.h.

References art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

82  {
83  return &fullConfig_;
84  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:86
template<typename UserConfig, typename UserKeysToIgnore = void>
auto const& art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::get_PSet ( ) const
inline

Definition at line 67 of file Analyzer.h.

References art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

Referenced by art::EDAnalyzer::EDAnalyzer(), art::ReplicatedAnalyzer::ReplicatedAnalyzer(), and art::SharedAnalyzer::SharedAnalyzer().

68  {
69  return fullConfig_.get_PSet();
70  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:86
template<typename UserConfig, typename UserKeysToIgnore = void>
auto const& art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::operator() ( ) const
inline

Definition at line 55 of file Analyzer.h.

References art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

56  {
57  return fullConfig_().user();
58  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:86
cet::exempt_ptr<fhicl::detail::ParameterBase const> fhicl::ConfigurationTable::parameter_base ( ) const
inlineinherited

Definition at line 19 of file ConfigurationTable.h.

20  {
21  return get_parameter_base();
22  }
virtual cet::exempt_ptr< fhicl::detail::ParameterBase const > get_parameter_base() const =0
template<typename UserConfig, typename UserKeysToIgnore = void>
void art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::print_allowed_configuration ( std::ostream &  os,
std::string const &  prefix 
) const
inline

Definition at line 73 of file Analyzer.h.

References art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

75  {
76  fullConfig_.print_allowed_configuration(os, prefix);
77  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:86

Member Data Documentation


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