LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore > Class Template Reference

#include "EDAnalyzer.h"

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

Classes

struct  FullConfig
 

Public Types

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

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 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::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >

Definition at line 45 of file EDAnalyzer.h.

Member Typedef Documentation

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

Definition at line 59 of file EDAnalyzer.h.

Constructor & Destructor Documentation

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

Definition at line 62 of file EDAnalyzer.h.

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

Definition at line 63 of file EDAnalyzer.h.

63 : fullConfig_{pset} {}
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: EDAnalyzer.h:89

Member Function Documentation

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

Definition at line 71 of file EDAnalyzer.h.

References art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

Referenced by art::EDAnalyzer::EDAnalyzer().

72  {
73  return fullConfig_().eoConfig();
74  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: EDAnalyzer.h:89
template<typename UserConfig, typename UserKeysToIgnore = void>
cet::exempt_ptr<fhicl::detail::ParameterBase const> art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::get_parameter_base ( ) const
inlineoverrideprivatevirtual

Implements fhicl::ConfigurationTable.

Definition at line 91 of file EDAnalyzer.h.

References art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

92  {
93  return &fullConfig_;
94  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: EDAnalyzer.h:89
template<typename UserConfig, typename UserKeysToIgnore = void>
auto const& art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::get_PSet ( ) const
inline

Definition at line 76 of file EDAnalyzer.h.

References art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

Referenced by art::EDAnalyzer::EDAnalyzer().

77  {
78  return fullConfig_.get_PSet();
79  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: EDAnalyzer.h:89
template<typename UserConfig, typename UserKeysToIgnore = void>
auto const& art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::operator() ( ) const
inline

Definition at line 66 of file EDAnalyzer.h.

References art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

67  {
68  return fullConfig_().user();
69  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: EDAnalyzer.h:89
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::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::print_allowed_configuration ( std::ostream &  os,
std::string const &  prefix 
) const
inline

Definition at line 82 of file EDAnalyzer.h.

References art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_.

84  {
85  fullConfig_.print_allowed_configuration(os, prefix);
86  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: EDAnalyzer.h:89

Member Data Documentation


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