Public Member Functions | List of all members
fhicl::detail::DelegateBase Class Reference

#include <DelegateBase.h>

Inheritance diagram for fhicl::detail::DelegateBase:
fhicl::detail::ParameterBase fhicl::DelegatedParameter fhicl::OptionalDelegatedParameter

Public Member Functions

 DelegateBase (Name const &name, Comment const &comment, par_style const vt, std::function< bool()> maybeUse)
 
- Public Member Functions inherited from fhicl::detail::ParameterBase
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 parameter_type () const
 
bool should_use () const
 
 ParameterBase (Name const &name, Comment const &comment, par_style const vt, par_type const type, std::function< bool()> maybeUse=AlwaysUse())
 
virtual ~ParameterBase ()=default
 
void set_value (fhicl::ParameterSet const &ps)
 
bool preset_value (fhicl::ParameterSet const &ps)
 
void set_par_style (par_style const vt)
 

Detailed Description

Definition at line 8 of file DelegateBase.h.

Constructor & Destructor Documentation

fhicl::detail::DelegateBase::DelegateBase ( Name const &  name,
Comment const &  comment,
par_style const  vt,
std::function< bool()>  maybeUse 
)
inline

Definition at line 10 of file DelegateBase.h.

14  : ParameterBase{name, comment, vt, par_type::DELEGATE, maybeUse}
15  {}
std::string const & name() const
Definition: ParameterBase.h:43
ParameterBase(Name const &name, Comment const &comment, par_style const vt, par_type const type, std::function< bool()> maybeUse=AlwaysUse())
Definition: ParameterBase.h:78
std::string const & comment() const
Definition: ParameterBase.h:48

The documentation for this class was generated from the following file: