LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "type_traits.h"
Public Types | |
using | default_type = T |
using | via_type = typename OptionalTable< Config >::value_type |
using | value_type = T |
Public Member Functions | |
TableAs (Name &&name) | |
TableAs (Name &&name, Comment &&comment) | |
TableAs (Name &&name, Comment &&comment, std::function< bool()> maybeUse) | |
TableAs (Name &&name, T const &t) | |
TableAs (Name &&name, Comment &&comment, T const &t) | |
TableAs (Name &&name, Comment &&comment, std::function< bool()> maybeUse, T const &t) | |
T | operator() () const |
operator detail::ParameterBase const & () const noexcept | |
operator detail::ParameterBase & () noexcept | |
Private Member Functions | |
Comment | conversion_comment (Comment &&comment) const |
Comment | conversion_comment (Comment &&comment, T const &t) const |
Private Attributes | |
OptionalTable< Config > | tableObj_ |
std::shared_ptr< T > | t_ {} |
Definition at line 53 of file type_traits.h.
using fhicl::TableAs< T, Config >::default_type = T |
using fhicl::TableAs< T, Config >::value_type = T |
using fhicl::TableAs< T, Config >::via_type = typename OptionalTable<Config>::value_type |
|
explicit |
|
explicit |
Definition at line 109 of file TableAs.h.
References fhicl::TableAs< T, Config >::conversion_comment(), fhicl::REQUIRED, fhicl::detail::ParameterBase::set_par_style(), and fhicl::TableAs< T, Config >::tableObj_.
|
explicit |
Definition at line 116 of file TableAs.h.
References fhicl::TableAs< T, Config >::conversion_comment(), fhicl::REQUIRED_CONDITIONAL, fhicl::detail::ParameterBase::set_par_style(), and fhicl::TableAs< T, Config >::tableObj_.
|
explicit |
|
explicit |
Definition at line 133 of file TableAs.h.
References fhicl::TableAs< T, Config >::conversion_comment(), fhicl::DEFAULT, fhicl::detail::ParameterBase::set_par_style(), fhicl::TableAs< T, Config >::t_, and fhicl::TableAs< T, Config >::tableObj_.
|
explicit |
Definition at line 141 of file TableAs.h.
References fhicl::TableAs< T, Config >::conversion_comment(), fhicl::DEFAULT_CONDITIONAL, fhicl::detail::ParameterBase::set_par_style(), fhicl::TableAs< T, Config >::t_, and fhicl::TableAs< T, Config >::tableObj_.
|
private |
Definition at line 157 of file TableAs.h.
References fhicl::Comment::value.
Referenced by fhicl::TableAs< T, Config >::TableAs().
|
private |
Definition at line 173 of file TableAs.h.
References fhicl::detail::maybe_insert(), and fhicl::Comment::value.
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
Definition at line 69 of file TableAs.h.
References fhicl::cant_find, fhicl::detail::ParameterBase::has_default(), fhicl::TableAs< T, Config >::t_, and fhicl::TableAs< T, Config >::tableObj_.
|
private |
Definition at line 94 of file TableAs.h.
Referenced by fhicl::TableAs< T, Config >::operator()(), and fhicl::TableAs< T, Config >::TableAs().
|
private |