Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
art::ToolConfigTable< UserConfig, UserKeysToIgnore > Class Template Reference

#include <ToolConfigTable.h>

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

Classes

struct  FullConfig
 

Public Member Functions

 ToolConfigTable (fhicl::Name &&name)
 
 ToolConfigTable (fhicl::ParameterSet const &pset)
 
auto const & operator() () 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, MinimalToolConfig::KeysToIgnore, fhicl::KeysToIgnore< MinimalToolConfig::KeysToIgnore, 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::ToolConfigTable< UserConfig, UserKeysToIgnore >

Definition at line 29 of file ToolConfigTable.h.

Member Typedef Documentation

template<typename UserConfig, typename UserKeysToIgnore = void>
using art::ToolConfigTable< UserConfig, UserKeysToIgnore >::KeysToIgnore_t = std::conditional_t< std::is_void<UserKeysToIgnore>::value, MinimalToolConfig::KeysToIgnore, fhicl::KeysToIgnore<MinimalToolConfig::KeysToIgnore, UserKeysToIgnore>>
private

Definition at line 62 of file ToolConfigTable.h.

Constructor & Destructor Documentation

template<typename UserConfig, typename UserKeysToIgnore = void>
art::ToolConfigTable< UserConfig, UserKeysToIgnore >::ToolConfigTable ( fhicl::Name &&  name)
inline

Definition at line 31 of file ToolConfigTable.h.

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

Definition at line 32 of file ToolConfigTable.h.

32 : fullConfig_{pset} {}
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_

Member Function Documentation

template<typename UserConfig, typename UserKeysToIgnore = void>
cet::exempt_ptr<fhicl::detail::ParameterBase const> art::ToolConfigTable< UserConfig, UserKeysToIgnore >::get_parameter_base ( ) const
inlineoverrideprivatevirtual

Implements fhicl::ConfigurationTable.

Definition at line 66 of file ToolConfigTable.h.

67  {
68  return &fullConfig_;
69  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
template<typename UserConfig, typename UserKeysToIgnore = void>
auto const& art::ToolConfigTable< UserConfig, UserKeysToIgnore >::get_PSet ( ) const
inline

Definition at line 40 of file ToolConfigTable.h.

41  {
42  return fullConfig_.get_PSet();
43  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
template<typename UserConfig, typename UserKeysToIgnore = void>
auto const& art::ToolConfigTable< UserConfig, UserKeysToIgnore >::operator() ( ) const
inline

Definition at line 35 of file ToolConfigTable.h.

36  {
37  return fullConfig_().user();
38  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_
template<typename UserConfig, typename UserKeysToIgnore = void>
void art::ToolConfigTable< UserConfig, UserKeysToIgnore >::print_allowed_configuration ( std::ostream &  os,
std::string const &  prefix 
) const
inline

Definition at line 46 of file ToolConfigTable.h.

48  {
49  fullConfig_.print_allowed_configuration(os, prefix);
50  }
fhicl::Table< FullConfig< UserConfig >, KeysToIgnore_t > fullConfig_

Member Data Documentation

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

Definition at line 64 of file ToolConfigTable.h.


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