Namespaces | |
atom | |
no_defaults | |
sequence | |
table | |
yes_defaults | |
Typedefs | |
using | ps_atom_t = std::string |
using | ps_sequence_t = std::vector< std::any > |
using | ldbl = long double |
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 (std::any const &val) |
bool | is_table (std::any const &val) |
bool | is_nil (std::any const &val) |
ps_atom_t | encode (std::string const &) |
ps_atom_t | encode (char const *) |
ps_atom_t | encode (std::nullptr_t) |
ps_atom_t | encode (bool) |
ParameterSetID | encode (ParameterSet const &) |
ps_atom_t | encode (std::uintmax_t) |
template<class T > | |
std::enable_if_t< tt::is_uint< T >::value, ps_atom_t > | encode (T const &) |
ps_atom_t | encode (std::intmax_t) |
template<class T > | |
std::enable_if_t< tt::is_int< T >::value, ps_atom_t > | encode (T const &) |
ps_atom_t | encode (ldbl) |
template<class T > | |
std::enable_if_t< std::is_floating_point_v< T >, ps_atom_t > | 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_t< tt::is_numeric< T >::value, std::string > | encode (T const &) |
void | decode (std::any const &, std::string &) |
void | decode (std::any const &, std::nullptr_t &) |
void | decode (std::any const &, bool &) |
void | decode (std::any const &, ParameterSet &) |
void | decode (std::any const &, std::uintmax_t &) |
template<class T > | |
std::enable_if_t< tt::is_uint< T >::value > | decode (std::any const &, T &) |
void | decode (std::any const &, std::intmax_t &) |
template<class T > | |
std::enable_if_t< tt::is_int< T >::value > | decode (std::any const &, T &) |
void | decode (std::any const &, ldbl &) |
template<class T > | |
std::enable_if_t< std::is_floating_point_v< T > > | decode (std::any const &, T &) |
void | decode (std::any const &, std::complex< ldbl > &) |
template<class T > | |
void | decode (std::any const &, std::complex< T > &) |
template<class T > | |
void | decode (std::any const &, std::vector< T > &) |
template<typename U > | |
void | decode_tuple (std::any const &, U &tuple) |
template<typename T , std::size_t SIZE> | |
void | decode (std::any const &a, std::array< T, SIZE > &result) |
template<typename KEY , typename VALUE > | |
void | decode (std::any const &a, std::pair< KEY, VALUE > &result) |
template<typename... ARGS> | |
void | decode (std::any const &a, std::tuple< ARGS... > &result) |
template<class T > | |
tt::disable_if_t< tt::is_numeric< T >::value > | decode (std::any const &, T &) |
std::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, std::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) |
std::size_t | index_for_sequence_element (std::string const &name) |
template<typename L > | |
void | try_insert (L l, std::string const &key) |
std::string | translate (error) |
void | throwOnSQLiteFailure (int rc, char *msg=nullptr) |
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) |
int | fhicl_get_impl (int argc, char **argv) |
template<typename T > | |
std::string | name_of () |
template<> | |
std::string | name_of< std::string > () |
using fhicl::detail::base_ptr = typedef cet::exempt_ptr<ParameterBase> |
Definition at line 16 of file MaybeDisplayParent.h.
using fhicl::detail::cit_size_t = typedef std::vector<std::size_t>::const_iterator |
Definition at line 70 of file ParameterSetImplHelpers.h.
using fhicl::detail::key_t = typedef std::string |
Definition at line 69 of file KeyAssembler.h.
using fhicl::detail::ldbl = typedef long double |
using fhicl::detail::name_t = typedef std::string |
Definition at line 70 of file KeyAssembler.h.
using fhicl::detail::ps_atom_t = typedef std::string |
using fhicl::detail::ps_sequence_t = typedef std::vector<std::any> |
|
strong |
|
strong |
Enumerator | |
---|---|
raw | |
annotated | |
prefix_annotated |
Definition at line 5 of file print_mode.h.
|
inline |
Definition at line 10 of file ConfigPredicate.h.
void fhicl::detail::check_nargs_for_bounded_sequences | ( | std::string const & | key, |
std::size_t | expected, | ||
std::size_t | provided | ||
) |
Definition at line 9 of file check_nargs_for_bounded_sequences.cc.
|
inline |
Definition at line 22 of file KeysToIgnore.h.
std::set<std::string>& fhicl::detail::concatenate_keys | ( | std::set< std::string > & | keys, |
H const & | h, | ||
T const &... | t | ||
) |
Definition at line 29 of file KeysToIgnore.h.
void fhicl::detail::decode | ( | std::any const & | , |
std::string & | |||
) |
void fhicl::detail::decode | ( | std::any const & | , |
std::nullptr_t & | |||
) |
void fhicl::detail::decode | ( | std::any const & | , |
bool & | |||
) |
void fhicl::detail::decode | ( | std::any const & | , |
ParameterSet & | |||
) |
void fhicl::detail::decode | ( | std::any const & | , |
std::uintmax_t & | |||
) |
std::enable_if_t< tt::is_uint< T >::value > fhicl::detail::decode | ( | std::any const & | a, |
T & | result | ||
) |
Definition at line 211 of file coding.h.
void fhicl::detail::decode | ( | std::any const & | , |
std::intmax_t & | |||
) |
std::enable_if_t< tt::is_int< T >::value > fhicl::detail::decode | ( | std::any const & | a, |
T & | result | ||
) |
Definition at line 222 of file coding.h.
void fhicl::detail::decode | ( | std::any const & | , |
ldbl & | |||
) |
std::enable_if_t< std::is_floating_point_v< T > > fhicl::detail::decode | ( | std::any const & | a, |
T & | result | ||
) |
Definition at line 233 of file coding.h.
void fhicl::detail::decode | ( | std::any const & | , |
std::complex< ldbl > & | |||
) |
void fhicl::detail::decode | ( | std::any const & | a, |
std::complex< T > & | result | ||
) |
Definition at line 244 of file coding.h.
void fhicl::detail::decode | ( | std::any const & | a, |
std::vector< T > & | result | ||
) |
Definition at line 256 of file coding.h.
void fhicl::detail::decode | ( | std::any const & | a, |
std::array< T, SIZE > & | result | ||
) |
void fhicl::detail::decode | ( | std::any const & | a, |
std::pair< KEY, VALUE > & | result | ||
) |
void fhicl::detail::decode | ( | std::any const & | a, |
std::tuple< ARGS... > & | result | ||
) |
tt::disable_if_t< tt::is_numeric< T >::value > fhicl::detail::decode | ( | std::any const & | a, |
T & | result | ||
) |
void fhicl::detail::decode_tuple | ( | std::any const & | a, |
U & | tuple | ||
) |
Definition at line 324 of file coding.h.
std::any fhicl::detail::encode | ( | extended_value const & | xval | ) |
Definition at line 24 of file encode_extended_value.cc.
ps_atom_t fhicl::detail::encode | ( | std::string const & | value | ) |
Definition at line 87 of file coding.cc.
ps_atom_t fhicl::detail::encode | ( | std::nullptr_t | ) |
ParameterSetID fhicl::detail::encode | ( | ParameterSet const & | value | ) |
std::enable_if_t<tt::is_uint<T>::value, ps_atom_t> fhicl::detail::encode | ( | T const & | ) |
std::enable_if_t<tt::is_int<T>::value, ps_atom_t> fhicl::detail::encode | ( | T const & | ) |
Definition at line 150 of file coding.cc.
std::enable_if_t<std::is_floating_point_v<T>, ps_atom_t> 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_t< tt::is_numeric< T >::value, std::string > fhicl::detail::encode | ( | T const & | value | ) |
std::set<std::string> fhicl::detail::ensure_callable | ( | ) |
Definition at line 15 of file KeysToIgnore.h.
int fhicl::detail::fhicl_get_impl | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 231 of file fhicl_get_impl.cc.
|
inline |
Definition at line 73 of file ParameterSetImplHelpers.h.
Keys fhicl::detail::get_names | ( | std::string const & | key | ) |
Definition at line 17 of file ParameterSetImplHelpers.cc.
SequenceKey fhicl::detail::get_sequence_indices | ( | std::string const & | key | ) |
Definition at line 35 of file ParameterSetImplHelpers.cc.
std::size_t fhicl::detail::index_for_sequence_element | ( | std::string const & | name | ) |
Definition at line 110 of file printing_helpers.cc.
bool fhicl::detail::is_nil | ( | std::any const & | val | ) |
Definition at line 75 of file coding.cc.
|
inline |
Definition at line 49 of file coding.h.
|
inline |
Definition at line 64 of file printing_helpers.h.
|
inline |
Definition at line 55 of file coding.h.
|
inline |
Definition at line 71 of file printing_helpers.h.
std::string fhicl::detail::name_of | ( | ) |
std::string fhicl::detail::name_of< std::string > | ( | ) |
|
inline |
Definition at line 18 of file printing_helpers.h.
|
inline |
Definition at line 6 of file optional_parameter_message.h.
std::string fhicl::detail::print_annotated_info | ( | std::string const & | curr_info, |
std::string const & | cached_info | ||
) |
Definition at line 29 of file printing_helpers.cc.
std::string fhicl::detail::print_prefix_annotated_info | ( | std::string const & | curr_info | ) |
Definition at line 41 of file printing_helpers.cc.
std::string fhicl::detail::printed_suffix | ( | std::string const & | key, |
std::size_t const | sz | ||
) |
Definition at line 50 of file printing_helpers.cc.
std::string fhicl::detail::strip_all_containing_names | ( | std::string const & | key | ) |
Definition at line 14 of file strip_containing_names.cc.
std::string fhicl::detail::strip_first_containing_name | ( | std::string const & | key | ) |
Definition at line 7 of file strip_containing_names.cc.
void fhicl::detail::throwOnSQLiteFailure | ( | int | rc, |
char * | msg = nullptr |
||
) |
Definition at line 41 of file ParameterSetRegistry.cc.
void fhicl::detail::throwOnSQLiteFailure | ( | sqlite3 * | db, |
char * | msg = nullptr |
||
) |
Definition at line 55 of file ParameterSetRegistry.cc.
std::string fhicl::detail::translate | ( | error | code | ) |
Definition at line 12 of file exception.cc.
void fhicl::detail::try_insert | ( | L | l, |
std::string const & | key | ||
) |
Definition at line 11 of file try_blocks.h.