LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "type_traits.h"
Classes | |
struct | Impl |
Public Types | |
using | default_type = T |
using | value_type = T |
Public Member Functions | |
template<typename... TCARGS> | |
Table (Name &&name, TCARGS &&...tcargs) | |
template<typename... TCARGS> | |
Table (Name &&name, Comment &&comment, TCARGS &&...tcargs) | |
template<typename... TCARGS> | |
Table (Name &&name, Comment &&comment, MaybeUseFunction maybeUse, TCARGS &&...tcargs) | |
template<typename K = KeysToIgnore, typename = std::enable_if_t<tt::is_callable<K>::value>> | |
Table (ParameterSet const &pset) | |
template<typename K = KeysToIgnore, typename = std::enable_if_t<!tt::is_callable<K>::value>> | |
Table (ParameterSet const &pset, std::set< std::string > const &keysToIgnore={}) | |
auto const & | operator() () const |
ParameterSet const & | get_PSet () const |
void | validate_ParameterSet (ParameterSet const &pset, std::set< std::string > const &keysToIgnore={}) |
void | print_allowed_configuration (std::ostream &os, std::string const &tab=std::string(3, ' ')) const |
std::vector< cet::exempt_ptr< ParameterBase > > const & | members () const |
std::string | key () const |
std::string | name () const |
std::string | comment () const |
bool | has_default () const |
bool | is_optional () const |
bool | is_conditional () const |
par_type | parameter_type () const |
bool | should_use () const |
void | set_value (fhicl::ParameterSet const &ps, bool trimParents) |
void | set_par_style (par_style const vt) |
void | set_key (std::string const &key) |
Private Types | |
using | members_t = std::vector< cet::exempt_ptr< ParameterBase >> |
Private Member Functions | |
Table (ParameterSet const &, std::set< std::string > const &, Impl) | |
void | maybe_implicitly_default () |
members_t const & | get_members () const override |
void | do_set_value (fhicl::ParameterSet const &pset, bool const trimParents) override |
Private Attributes | |
std::shared_ptr< T > | value_ {std::make_shared<T>()} |
ParameterSet | pset_ {} |
members_t | members_ |
Definition at line 30 of file type_traits.h.
using fhicl::Table< T, KeysToIgnore >::default_type = T |
|
private |
using fhicl::Table< T, KeysToIgnore >::value_type = T |
|
explicit |
|
explicit |
|
explicit |
fhicl::Table< T, KeysToIgnore >::Table | ( | ParameterSet const & | pset | ) |
fhicl::Table< T, KeysToIgnore >::Table | ( | ParameterSet const & | pset, |
std::set< std::string > const & | keysToIgnore = {} |
||
) |
|
private |
|
inlineinherited |
Definition at line 54 of file ParameterBase.h.
References fhicl::detail::ParameterMetadata::comment(), and fhicl::detail::ParameterBase::mdata_.
Referenced by fhicl::detail::AtomBase::AtomBase(), fhicl::detail::PrintAllowedConfiguration::before_action(), fhicl::detail::DelegateBase::DelegateBase(), fhicl::DelegatedParameter::DelegatedParameter(), fhicl::OptionalDelegatedParameter::OptionalDelegatedParameter(), fhicl::OptionalTuple< TYPES >::OptionalTuple(), fhicl::detail::ParameterBase::ParameterBase(), fhicl::detail::SequenceBase::SequenceBase(), fhicl::detail::TableBase::TableBase(), and fhicl::Tuple< TYPES >::Tuple().
|
overrideprivatevirtual |
|
inlineoverrideprivatevirtual |
Implements fhicl::detail::TableBase.
|
inline |
Definition at line 69 of file Table.h.
Referenced by evgen::ActiveVolumeVertexSampler::ActiveVolumeVertexSampler(), and evgen::MARLEYHelper::MARLEYHelper().
|
inlineinherited |
Definition at line 59 of file ParameterBase.h.
References fhicl::detail::ParameterMetadata::has_default(), and fhicl::detail::ParameterBase::mdata_.
Referenced by fhicl::detail::PrintAllowedConfiguration::after_action(), fhicl::detail::ValidateThenSet::before_action(), and fhicl::detail::PrintAllowedConfiguration::enter_sequence().
|
inlineinherited |
Definition at line 69 of file ParameterBase.h.
References fhicl::detail::ParameterMetadata::is_conditional(), and fhicl::detail::ParameterBase::mdata_.
Referenced by fhicl::detail::PrintAllowedConfiguration::after_action(), and fhicl::detail::PrintAllowedConfiguration::before_action().
|
inlineinherited |
Definition at line 64 of file ParameterBase.h.
References fhicl::detail::ParameterMetadata::is_optional(), and fhicl::detail::ParameterBase::mdata_.
Referenced by fhicl::detail::PrintAllowedConfiguration::after_action(), fhicl::detail::ValidateThenSet::before_action(), fhicl::detail::PrintAllowedConfiguration::before_action(), and evgen::MARLEYHelper::fhicl_parameter_to_json().
|
inlineinherited |
Definition at line 44 of file ParameterBase.h.
References fhicl::detail::ParameterMetadata::key(), and fhicl::detail::ParameterBase::mdata_.
Referenced by fhicl::detail::PrintAllowedConfiguration::after_action(), fhicl::detail::ValidateThenSet::before_action(), fhicl::detail::PrintAllowedConfiguration::before_action(), fhicl::detail::SearchAllowedConfiguration::before_action(), fhicl::detail::PrintAllowedConfiguration::cacheTopLevelParameter(), detinfo::LArPropertiesStandard::Configure(), fhicl::OptionalSequence< Table< T >< art::RootInputFileSequence::Config::SecondaryFile > >::do_prepare_elements_for_validation(), fhicl::OptionalTuple< ARGS... >::do_prepare_elements_for_validation(), fhicl::OptionalSequence< T,-1ull >::do_prepare_elements_for_validation(), fhicl::detail::ValidateThenSet::enter_sequence(), fhicl::detail::PrintAllowedConfiguration::enter_sequence(), evgen::MARLEYHelper::fhicl_parameter_to_json(), fhicl::detail::SearchAllowedConfiguration::form_absolute(), fhicl::DelegatedParameter::get(), fhicl::OptionalDelegatedParameter::get_if_present(), fhicl::OptionalDelegatedParameter::hasValue(), fhicl::detail::MaybeDisplayParent::is_sequence_element(), fhicl::detail::PrintAllowedConfiguration::maybeReleaseTopLevelParameter(), fhicl::detail::RegisterIfTableMember::RegisterIfTableMember(), and fhicl::detail::PrintAllowedConfiguration::suppressFormat().
|
private |
|
inlineinherited |
Definition at line 24 of file TableBase.h.
References fhicl::detail::TableBase::get_members().
|
inlineinherited |
Definition at line 49 of file ParameterBase.h.
References fhicl::detail::ParameterBase::mdata_, and fhicl::detail::ParameterMetadata::name().
Referenced by fhicl::detail::AtomBase::AtomBase(), fhicl::detail::DelegateBase::DelegateBase(), fhicl::detail::ValidateThenSet::delegated_parameter(), fhicl::DelegatedParameter::DelegatedParameter(), fhicl::OptionalDelegatedParameter::OptionalDelegatedParameter(), fhicl::OptionalTuple< TYPES >::OptionalTuple(), fhicl::detail::ParameterBase::ParameterBase(), fhicl::detail::SequenceBase::SequenceBase(), fhicl::detail::TableBase::TableBase(), and fhicl::Tuple< TYPES >::Tuple().
|
inline |
|
inlineinherited |
Definition at line 74 of file ParameterBase.h.
References fhicl::detail::ParameterBase::mdata_, and fhicl::detail::ParameterMetadata::type().
Referenced by fhicl::detail::PrintAllowedConfiguration::after_action(), fhicl::detail::PrintAllowedConfiguration::enter_sequence(), evgen::MARLEYHelper::fhicl_parameter_to_json(), fhicl::detail::SearchAllowedConfiguration::form_absolute(), and fhicl::detail::RegisterIfTableMember::RegisterIfTableMember().
void fhicl::Table< T, KeysToIgnore >::print_allowed_configuration | ( | std::ostream & | os, |
std::string const & | tab = std::string(3, ' ') |
||
) | const |
|
inlineinherited |
Definition at line 106 of file ParameterBase.h.
References fhicl::detail::ParameterBase::do_set_value(), fhicl::detail::ParameterBase::mdata_, and fhicl::detail::ParameterMetadata::set_key().
|
inlineinherited |
Definition at line 101 of file ParameterBase.h.
References fhicl::detail::ParameterBase::mdata_, and fhicl::detail::ParameterMetadata::set_par_style().
Referenced by art::RootOutput::Config::Config().
|
inlineinherited |
Definition at line 96 of file ParameterBase.h.
References fhicl::detail::ParameterBase::do_set_value().
Referenced by fhicl::detail::ValidateThenSet::after_action().
|
inlineinherited |
Definition at line 79 of file ParameterBase.h.
References fhicl::detail::ParameterBase::maybeUse_.
Referenced by fhicl::detail::ValidateThenSet::before_action(), and evgen::MARLEYHelper::fhicl_parameter_to_json().
void fhicl::Table< T, KeysToIgnore >::validate_ParameterSet | ( | ParameterSet const & | pset, |
std::set< std::string > const & | keysToIgnore = {} |
||
) |
|
private |
Definition at line 91 of file Table.h.
Referenced by fhicl::Table< trkf::TrackStatePropagator::trkmkr::KalmanFilterFitTrackMaker::Config >::get_members().
|
private |
Definition at line 90 of file Table.h.
Referenced by fhicl::Table< trkf::TrackStatePropagator::trkmkr::KalmanFilterFitTrackMaker::Config >::get_PSet().
|
private |
Definition at line 89 of file Table.h.
Referenced by fhicl::Table< trkf::TrackStatePropagator::trkmkr::KalmanFilterFitTrackMaker::Config >::operator()().