LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ParameterMetadata.h"
Public Member Functions | |
ParameterMetadata ()=default | |
ParameterMetadata (Name const &name=Name(), Comment const &comment=Comment(""), par_style const parStyle=par_style::NTYPES, par_type const parType=par_type::NTYPES) | |
std::string const & | key () const |
std::string const & | name () const |
std::string const & | comment () const |
bool | has_default () const |
bool | is_optional () const |
bool | is_conditional () const |
par_type | type () const |
void | set_par_style (par_style const vt) |
Private Attributes | |
std::string | key_ {} |
std::string | name_ {} |
std::string | comment_ {} |
par_style | parStyle_ {par_style::NTYPES} |
par_type | parType_ {par_type::NTYPES} |
Definition at line 16 of file ParameterMetadata.h.
|
default |
|
inline |
Definition at line 20 of file ParameterMetadata.h.
References comment(), comment_, fhicl::NameStackRegistry::full_key(), name(), name_, parStyle_, and parType_.
|
inline |
Definition at line 42 of file ParameterMetadata.h.
References comment_.
Referenced by fhicl::detail::ParameterBase::comment(), and ParameterMetadata().
|
inline |
Definition at line 48 of file ParameterMetadata.h.
References fhicl::DEFAULT, fhicl::DEFAULT_CONDITIONAL, and parStyle_.
Referenced by fhicl::detail::ParameterBase::has_default().
|
inline |
Definition at line 62 of file ParameterMetadata.h.
References fhicl::DEFAULT_CONDITIONAL, fhicl::OPTIONAL_CONDITIONAL, parStyle_, and fhicl::REQUIRED_CONDITIONAL.
Referenced by fhicl::detail::ParameterBase::is_conditional().
|
inline |
Definition at line 55 of file ParameterMetadata.h.
References fhicl::OPTIONAL, fhicl::OPTIONAL_CONDITIONAL, and parStyle_.
Referenced by fhicl::detail::ParameterBase::is_optional().
|
inline |
Definition at line 32 of file ParameterMetadata.h.
References key_.
Referenced by fhicl::detail::ParameterBase::key().
|
inline |
Definition at line 37 of file ParameterMetadata.h.
References name_.
Referenced by fhicl::detail::ParameterBase::name(), and ParameterMetadata().
|
inline |
Definition at line 76 of file ParameterMetadata.h.
References parStyle_.
Referenced by fhicl::detail::ParameterBase::set_par_style().
|
inline |
Definition at line 70 of file ParameterMetadata.h.
References parType_.
Referenced by fhicl::detail::ParameterBase::parameter_type().
|
private |
Definition at line 84 of file ParameterMetadata.h.
Referenced by comment(), and ParameterMetadata().
|
private |
Definition at line 82 of file ParameterMetadata.h.
Referenced by key().
|
private |
Definition at line 83 of file ParameterMetadata.h.
Referenced by name(), and ParameterMetadata().
|
private |
Definition at line 85 of file ParameterMetadata.h.
Referenced by has_default(), is_conditional(), is_optional(), ParameterMetadata(), and set_par_style().
|
private |
Definition at line 86 of file ParameterMetadata.h.
Referenced by ParameterMetadata(), and type().