Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
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
 
- Public Member Functions inherited from fhicl::ConfigurationTable
virtual ~ConfigurationTable ()=default
 
cet::exempt_ptr< fhicl::detail::ParameterBase const > parameter_base () const
 

Private Types

using KeysToIgnore_t = std::conditional_t< std::is_void< UserKeysToIgnore >::value, detail::ModuleConfig::IgnoreKeys, fhicl::KeysToIgnore< detail::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 36 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, detail::ModuleConfig::IgnoreKeys, fhicl::KeysToIgnore<detail::ModuleConfig::IgnoreKeys, UserKeysToIgnore>>
private

Definition at line 49 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 52 of file Analyzer.h.

52 : fullConfig_{std::move(name)} {}
def move(depos, offset)
Definition: depos.py:107
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:87
template<typename UserConfig, typename UserKeysToIgnore = void>
art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::Table ( fhicl::ParameterSet const &  pset)
inline

Definition at line 53 of file Analyzer.h.

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

Member Function Documentation

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

Definition at line 62 of file Analyzer.h.

63  {
64  return fullConfig_().eoConfig();
65  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:87
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 82 of file Analyzer.h.

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

Definition at line 68 of file Analyzer.h.

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

Definition at line 56 of file Analyzer.h.

57  {
58  return fullConfig_().user();
59  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
Definition: Analyzer.h:87
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 74 of file Analyzer.h.

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

Member Data Documentation

template<typename UserConfig, typename UserKeysToIgnore = void>
fhicl::Table<FullConfig<UserConfig>, KeysToIgnore_t> art::detail::Analyzer::Table< UserConfig, UserKeysToIgnore >::fullConfig_
private

Definition at line 87 of file Analyzer.h.


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