LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Namespaces | |
atom | |
no_defaults | |
sequence | |
table | |
yes_defaults | |
Typedefs | |
typedef std::string | ps_atom_t |
typedef std::vector< boost::any > | ps_sequence_t |
typedef long double | ldbl |
using | key_t = std::string |
using | name_t = std::string |
using | cit_size_t = std::vector< std::size_t >::const_iterator |
using | base_ptr = cet::exempt_ptr< ParameterBase > |
Enumerations | |
enum | binding_modifier : unsigned char { binding_modifier::NONE, binding_modifier::PROTECT_IGNORE, binding_modifier::PROTECT_ERROR } |
enum | print_mode { print_mode::raw, print_mode::annotated, print_mode::prefix_annotated } |
Functions | |
bool | is_sequence (boost::any const &val) |
bool | is_table (boost::any const &val) |
bool | is_nil (boost::any const &val) |
ps_atom_t | encode (std::string const &) |
ps_atom_t | encode (char const *) |
ps_atom_t | encode (void *) |
ps_atom_t | encode (bool) |
ParameterSetID | encode (ParameterSet const &) |
ps_atom_t | encode (std::uintmax_t) |
template<class T > | |
tt::enable_if< tt::is_uint< T >::value, ps_atom_t >::type | encode (T const &) |
ps_atom_t | encode (std::intmax_t) |
template<class T > | |
tt::enable_if< tt::is_int< T >::value, ps_atom_t >::type | encode (T const &) |
ps_atom_t | encode (ldbl) |
template<class T > | |
tt::enable_if< tt::is_floating_point< T >::value, ps_atom_t >::type | encode (T const &) |
template<class T > | |
ps_atom_t | encode (std::complex< T > const &) |
template<class T > | |
ps_sequence_t | encode (std::vector< T > const &) |
template<class T > | |
tt::disable_if< tt::is_numeric< T >::value, std::string >::type | encode (T const &) |
void | decode (boost::any const &, std::string &) |
void | decode (boost::any const &, void *&) |
void | decode (boost::any const &, bool &) |
void | decode (boost::any const &, ParameterSet &) |
void | decode (boost::any const &, std::uintmax_t &) |
template<class T > | |
tt::enable_if< tt::is_uint< T >::value, void >::type | decode (boost::any const &, T &) |
void | decode (boost::any const &, std::intmax_t &) |
template<class T > | |
tt::enable_if< tt::is_int< T >::value, void >::type | decode (boost::any const &, T &) |
void | decode (boost::any const &, ldbl &) |
template<class T > | |
tt::enable_if< tt::is_floating_point< T >::value, void >::type | decode (boost::any const &, T &) |
void | decode (boost::any const &, std::complex< ldbl > &) |
template<class T > | |
void | decode (boost::any const &, std::complex< T > &) |
template<class T > | |
void | decode (boost::any const &, std::vector< T > &) |
template<typename U > | |
void | decode_tuple (boost::any const &, U &tuple) |
template<typename T , std::size_t SIZE> | |
void | decode (boost::any const &a, std::array< T, SIZE > &result) |
template<typename KEY , typename VALUE > | |
void | decode (boost::any const &a, std::pair< KEY, VALUE > &result) |
template<typename... ARGS> | |
void | decode (boost::any const &a, std::tuple< ARGS... > &result) |
template<class T > | |
tt::disable_if< tt::is_numeric< T >::value, void >::type | decode (boost::any const &, T &) |
boost::any | encode (extended_value const &xval) |
Keys | get_names (std::string const &key) |
SequenceKey | get_sequence_indices (std::string const &key) |
bool | find_an_any (cit_size_t it, cit_size_t const cend, boost::any &a) |
std::string | nl (std::size_t i=1) |
std::string | printed_suffix (std::string const &key, std::size_t const sz) |
std::string | print_prefix_annotated_info (std::string const &curr_info) |
std::string | print_annotated_info (std::string const &curr_info, std::string const &cached_info) |
bool | is_sequence_element (std::string const &key) |
bool | is_table_member (std::string const &key) |
template<typename L > | |
void | try_insert (L l, std::string const &key) |
std::string | translate (error) |
void | throwOnSQLiteFailure (sqlite3 *db, char *msg=nullptr) |
std::function< bool()> | AlwaysUse () |
void | check_nargs_for_bounded_sequences (std::string const &key, std::size_t expected, std::size_t provided) |
std::string | optional_parameter_message (bool const with_comment=true) |
std::string | strip_first_containing_name (std::string const &key) |
std::string | strip_all_containing_names (std::string const &key) |
template<typename T > | |
std::set< std::string > | ensure_callable () |
std::set< std::string > & | concatenate_keys (std::set< std::string > &keys) |
template<typename H , typename... T> | |
std::set< std::string > & | concatenate_keys (std::set< std::string > &keys, H const &h, T const &...t) |
using fhicl::detail::base_ptr = typedef cet::exempt_ptr<ParameterBase> |
Definition at line 17 of file MaybeDisplayParent.h.
using fhicl::detail::cit_size_t = typedef std::vector<std::size_t>::const_iterator |
Definition at line 108 of file ParameterSetImplHelpers.h.
using fhicl::detail::key_t = typedef std::string |
Definition at line 71 of file KeyAssembler.h.
typedef long double fhicl::detail::ldbl |
using fhicl::detail::name_t = typedef std::string |
Definition at line 72 of file KeyAssembler.h.
typedef std::string fhicl::detail::ps_atom_t |
typedef std::vector<boost::any> fhicl::detail::ps_sequence_t |
|
strong |
|
strong |
|
inline |
Definition at line 10 of file ConfigPredicate.h.
Referenced by fhicl::DelegatedParameter::DelegatedParameter(), fhicl::OptionalDelegatedParameter::OptionalDelegatedParameter(), fhicl::OptionalTuple< TYPES >::OptionalTuple(), and fhicl::Tuple< TYPES >::Tuple().
void fhicl::detail::check_nargs_for_bounded_sequences | ( | std::string const & | key, |
std::size_t | expected, | ||
std::size_t | provided | ||
) |
Definition at line 8 of file check_nargs_for_bounded_sequences.cc.
Referenced by fhicl::OptionalSequence< Table< T >< art::RootInputFileSequence::Config::SecondaryFile > >::do_prepare_elements_for_validation(), fhicl::OptionalTuple< ARGS... >::do_prepare_elements_for_validation(), fhicl::Sequence< float, 3u >::do_prepare_elements_for_validation(), and fhicl::Tuple< TYPES >::do_prepare_elements_for_validation().
|
inline |
Definition at line 23 of file KeysToIgnore.h.
Referenced by concatenate_keys(), and fhicl::KeysToIgnore< H, T >::operator()().
std::set<std::string>& fhicl::detail::concatenate_keys | ( | std::set< std::string > & | keys, |
H const & | h, | ||
T const &... | t | ||
) |
Definition at line 30 of file KeysToIgnore.h.
References evd::details::begin(), concatenate_keys(), and evd::details::end().
void fhicl::detail::decode | ( | boost::any const & | , |
std::string & | |||
) |
Referenced by art::decode(), decode(), decode_tuple(), fhicl::detail::per_entry< SIZE, TUPLE >::decode_tuple_entry(), fhicl::detail::per_entry< 0, TUPLE >::decode_tuple_entry(), encode(), fhicl::ParameterSet::get_one_(), is_table(), fhicl::detail::it_value_get< T, typename tt::disable_if< std::is_reference< T >::value|| std::is_pointer< T >::value >::type >::operator()(), and fhicl::detail::it_value_get< std::complex< U >, typename tt::disable_if< std::is_reference< std::complex< U > >::value|| std::is_pointer< std::complex< U > >::value >::type >::operator()().
void fhicl::detail::decode | ( | boost::any const & | , |
void *& | |||
) |
void fhicl::detail::decode | ( | boost::any const & | , |
bool & | |||
) |
void fhicl::detail::decode | ( | boost::any const & | , |
ParameterSet & | |||
) |
void fhicl::detail::decode | ( | boost::any const & | , |
std::uintmax_t & | |||
) |
tt::enable_if< tt::is_uint< T >::value, void >::type fhicl::detail::decode | ( | boost::any const & | a, |
T & | result | ||
) |
Definition at line 222 of file coding.h.
References decode(), and fhicl::detail::atom::value().
void fhicl::detail::decode | ( | boost::any const & | , |
std::intmax_t & | |||
) |
tt::enable_if< tt::is_int< T >::value, void >::type fhicl::detail::decode | ( | boost::any const & | a, |
T & | result | ||
) |
Definition at line 233 of file coding.h.
References decode(), and fhicl::detail::atom::value().
void fhicl::detail::decode | ( | boost::any const & | , |
ldbl & | |||
) |
tt::enable_if< tt::is_floating_point< T >::value, void >::type fhicl::detail::decode | ( | boost::any const & | a, |
T & | result | ||
) |
Definition at line 244 of file coding.h.
References decode().
void fhicl::detail::decode | ( | boost::any const & | , |
std::complex< ldbl > & | |||
) |
void fhicl::detail::decode | ( | boost::any const & | a, |
std::complex< T > & | result | ||
) |
Definition at line 255 of file coding.h.
References decode().
void fhicl::detail::decode | ( | boost::any const & | a, |
std::vector< T > & | result | ||
) |
Definition at line 267 of file coding.h.
References decode(), e, fhicl::extended_value::is_a(), fhicl::parse_value_string(), fhicl::SEQUENCE, and fhicl::type_mismatch.
void fhicl::detail::decode | ( | boost::any const & | a, |
std::array< T, SIZE > & | result | ||
) |
void fhicl::detail::decode | ( | boost::any const & | a, |
std::pair< KEY, VALUE > & | result | ||
) |
void fhicl::detail::decode | ( | boost::any const & | a, |
std::tuple< ARGS... > & | result | ||
) |
tt::disable_if< tt::is_numeric< T >::value, void >::type fhicl::detail::decode | ( | boost::any const & | a, |
T & | result | ||
) |
void fhicl::detail::decode_tuple | ( | boost::any const & | a, |
U & | tuple | ||
) |
Definition at line 337 of file coding.h.
References decode(), fhicl::detail::per_entry< SIZE, TUPLE >::decode_tuple_entry(), tmp, and fhicl::detail::atom::value().
Referenced by decode(), and is_table().
boost::any fhicl::detail::encode | ( | extended_value const & | xval | ) |
Definition at line 25 of file encode_extended_value.cc.
References shims::map< Key, T, Compare, Allocator >::begin(), fhicl::BOOL, fhicl::COMPLEX, e, encode(), shims::map< Key, T, Compare, Allocator >::end(), fhicl::NIL, fhicl::NUMBER, fhicl::ParameterSetRegistry::put(), fhicl::ParameterSet::put(), fhicl::SEQUENCE, fhicl::STRING, fhicl::TABLE, fhicl::TABLEID, fhicl::extended_value::tag, fhicl::type_mismatch, and fhicl::UNKNOWN.
ps_atom_t fhicl::detail::encode | ( | std::string const & | value | ) |
Definition at line 87 of file coding.cc.
References fhicl::extended_value::is_a(), fhicl::parse_value_string(), fhicl::STRING, and fhicl::type_mismatch.
Referenced by encode(), is_table(), fhicl::intermediate_table::put(), fhicl::ParameterSet::put(), fhicl::ParameterSet::put_or_replace(), fhicl::ParameterSet::put_or_replace_compatible(), and fhicl::intermediate_table::putNil().
ps_atom_t fhicl::detail::encode | ( | char const * | value | ) |
ps_atom_t fhicl::detail::encode | ( | void * | ) |
Definition at line 111 of file coding.cc.
References canon_nil().
ps_atom_t fhicl::detail::encode | ( | bool | value | ) |
ParameterSetID fhicl::detail::encode | ( | ParameterSet const & | value | ) |
ps_atom_t fhicl::detail::encode | ( | std::uintmax_t | value | ) |
tt::enable_if<tt::is_uint<T>::value, ps_atom_t>::type fhicl::detail::encode | ( | T const & | ) |
ps_atom_t fhicl::detail::encode | ( | std::intmax_t | value | ) |
tt::enable_if<tt::is_int<T>::value, ps_atom_t>::type fhicl::detail::encode | ( | T const & | ) |
Definition at line 150 of file coding.cc.
References atom_rep(), fhicl::BOOL, canon_nil(), fhicl::COMPLEX, decode(), encode(), fhicl::ParameterSetRegistry::get(), fhicl::extended_value::is_a(), literal_infinity(), literal_true(), fhicl::NUMBER, fhicl::parse_value_string(), fhicl::type_mismatch, and fhicl::detail::atom::value().
tt::enable_if<tt::is_floating_point<T>::value, ps_atom_t>::type fhicl::detail::encode | ( | T const & | ) |
ps_atom_t fhicl::detail::encode | ( | std::complex< T > const & | ) |
ps_sequence_t fhicl::detail::encode | ( | std::vector< T > const & | ) |
tt::disable_if< tt::is_numeric< T >::value, std::string >::type fhicl::detail::encode | ( | T const & | value | ) |
std::set<std::string> fhicl::detail::ensure_callable | ( | ) |
|
inline |
Definition at line 111 of file ParameterSetImplHelpers.h.
Referenced by fhicl::ParameterSet::find_one_(), fhicl::ParameterSet::get_one_(), and fhicl::ParameterSet::key_is_type_().
|
inline |
Definition at line 42 of file ParameterSetImplHelpers.h.
References fhicl::cant_find, and fhicl::detail::Keys::last().
Referenced by fhicl::ParameterSet::get_if_present(), fhicl::ParameterSet::has_key(), and fhicl::ParameterSet::key_is_type_().
|
inline |
Definition at line 86 of file ParameterSetImplHelpers.h.
References geo::vect::indices().
Referenced by fhicl::ParameterSet::find_one_(), fhicl::ParameterSet::get_one_(), and fhicl::ParameterSet::key_is_type_().
bool fhicl::detail::is_nil | ( | boost::any const & | val | ) |
Definition at line 75 of file coding.cc.
References atom_rep(), canon_nil(), is_sequence(), and is_table().
Referenced by fhicl::ParameterSet::insert_or_replace_compatible_(), and is_table().
|
inline |
Definition at line 50 of file coding.h.
Referenced by atom_rep(), art::decode(), fhicl::detail::SearchAllowedConfiguration::form_absolute(), fhicl::ParameterSet::insert_or_replace_compatible_(), fhicl::ParameterSet::is_key_to_atom(), fhicl::ParameterSet::is_key_to_sequence(), is_nil(), fhicl::ParameterSet::stringify_(), fhicl::ParameterSet::walk(), and fhicl::detail::ParameterWalker< C >::walk_over().
|
inline |
Definition at line 67 of file printing_helpers.h.
References fhicl::detail::sequence::closing_brace().
Referenced by fhicl::detail::PrintAllowedConfiguration::before_action(), is_table_member(), fhicl::detail::table::printed_prefix(), fhicl::detail::sequence::printed_prefix(), and fhicl::detail::atom::printed_prefix().
|
inline |
Definition at line 56 of file coding.h.
References decode(), decode_tuple(), encode(), is_nil(), and fhicl::detail::atom::value().
Referenced by atom_rep(), fhicl::detail::Prettifier::before_action(), fhicl::detail::SearchAllowedConfiguration::form_absolute(), fhicl::ParameterSet::get_pset_names(), fhicl::ParameterSet::insert_or_replace_compatible_(), fhicl::ParameterSet::is_key_to_atom(), fhicl::ParameterSet::is_key_to_table(), is_nil(), fhicl::detail::RegisterIfTableMember::RegisterIfTableMember(), fhicl::ParameterSet::stringify_(), fhicl::ParameterSet::walk(), and fhicl::detail::ParameterWalker< C >::walk_over().
|
inline |
Definition at line 74 of file printing_helpers.h.
References is_sequence_element().
Referenced by fhicl::detail::RegisterIfTableMember::RegisterIfTableMember().
|
inline |
Definition at line 21 of file printing_helpers.h.
References print_annotated_info(), print_prefix_annotated_info(), and printed_suffix().
Referenced by fhicl::detail::Prettifier::atom(), fhicl::detail::PrettifierAnnotated::atom(), fhicl::detail::PrettifierPrefixAnnotated::atom(), recob::dumper::DumpPCAxis(), recob::dumper::DumpSpacePoint(), fhicl::detail::PrettifierAnnotated::enter_sequence(), fhicl::detail::PrettifierPrefixAnnotated::enter_sequence(), fhicl::detail::PrettifierAnnotated::enter_table(), fhicl::detail::PrettifierPrefixAnnotated::enter_table(), fhicl::detail::Prettifier::exit_sequence(), fhicl::detail::PrettifierAnnotated::exit_sequence(), fhicl::detail::PrettifierPrefixAnnotated::exit_sequence(), fhicl::detail::Prettifier::exit_table(), fhicl::detail::PrettifierAnnotated::exit_table(), fhicl::detail::PrettifierPrefixAnnotated::exit_table(), and fhicl::detail::Prettifier::maybe_nl_().
|
inline |
Definition at line 7 of file optional_parameter_message.h.
Referenced by fhicl::detail::ValidateThenSet::check_keys(), and art::detail::describe().
std::string fhicl::detail::print_annotated_info | ( | std::string const & | curr_info, |
std::string const & | cached_info | ||
) |
Definition at line 27 of file printing_helpers.cc.
Referenced by fhicl::detail::PrettifierAnnotated::atom(), fhicl::detail::PrettifierAnnotated::enter_sequence(), fhicl::detail::PrettifierAnnotated::enter_table(), and nl().
std::string fhicl::detail::print_prefix_annotated_info | ( | std::string const & | curr_info | ) |
Definition at line 39 of file printing_helpers.cc.
Referenced by fhicl::detail::PrettifierPrefixAnnotated::atom(), fhicl::detail::PrettifierPrefixAnnotated::enter_sequence(), fhicl::detail::PrettifierPrefixAnnotated::enter_table(), and nl().
std::string fhicl::detail::printed_suffix | ( | std::string const & | key, |
std::size_t const | sz | ||
) |
Definition at line 48 of file printing_helpers.cc.
Referenced by fhicl::detail::Prettifier::atom(), fhicl::detail::PrettifierAnnotated::atom(), fhicl::detail::PrettifierPrefixAnnotated::atom(), fhicl::detail::Prettifier::exit_sequence(), fhicl::detail::PrettifierAnnotated::exit_sequence(), fhicl::detail::PrettifierPrefixAnnotated::exit_sequence(), fhicl::detail::Prettifier::exit_table(), fhicl::detail::PrettifierAnnotated::exit_table(), fhicl::detail::PrettifierPrefixAnnotated::exit_table(), and nl().
std::string fhicl::detail::strip_all_containing_names | ( | std::string const & | key | ) |
Definition at line 14 of file strip_containing_names.cc.
Referenced by fhicl::detail::ParameterMetadata::set_key().
std::string fhicl::detail::strip_first_containing_name | ( | std::string const & | key | ) |
Definition at line 7 of file strip_containing_names.cc.
Referenced by fhicl::detail::ValidateThenSet::before_action(), fhicl::detail::ValidateThenSet::delegated_parameter(), fhicl::detail::ValidateThenSet::enter_sequence(), fhicl::DelegatedParameter::get(), fhicl::OptionalDelegatedParameter::get_if_present(), and fhicl::OptionalDelegatedParameter::hasValue().
void fhicl::detail::throwOnSQLiteFailure | ( | sqlite3 * | db, |
char * | msg = nullptr |
||
) |
Definition at line 32 of file ParameterSetRegistry.cc.
References fhicl::cant_open_db, and fhicl::sql_error.
Referenced by fhicl::ParameterSetRegistry::exportTo(), fhicl::ParameterSetRegistry::find_(), fhicl::ParameterSetRegistry::importFrom(), and fhicl::ParameterSetRegistry::~ParameterSetRegistry().
std::string fhicl::detail::translate | ( | error | code | ) |
Definition at line 12 of file exception.cc.
References fhicl::cant_find, fhicl::cant_happen, fhicl::cant_insert, fhicl::cant_open_db, fhicl::number_is_too_large, fhicl::other, fhicl::parse_error, fhicl::protection_violation, fhicl::sql_error, fhicl::type_mismatch, and fhicl::unimplemented.
void fhicl::detail::try_insert | ( | L | l, |
std::string const & | key | ||
) |
Definition at line 13 of file try_blocks.h.
References fhicl::cant_insert, and e.
Referenced by fhicl::ParameterSet::put(), fhicl::ParameterSet::put_or_replace(), and fhicl::ParameterSet::put_or_replace_compatible().