LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
DelegatedParameter.cc
Go to the documentation of this file.
1
#include "
fhiclcpp/types/DelegatedParameter.h
"
2
#include "
fhiclcpp/types/ConfigPredicate.h
"
3
#include "
fhiclcpp/types/detail/NameStackRegistry.h
"
4
5
namespace
fhicl
{
6
7
DelegatedParameter::DelegatedParameter
(
Name
&& name)
8
:
DelegatedParameter
{std::move(
name
),
Comment
(
""
)}
9
{}
10
11
DelegatedParameter::DelegatedParameter
(
Name
&&
name
,
Comment
&&
comment
)
12
:
DelegateBase
{std::move(
name
),
13
std::move(
comment
),
14
par_style::REQUIRED
,
15
detail::AlwaysUse
()}
16
,
RegisterIfTableMember
{
this
}
17
{
18
NameStackRegistry::end_of_ctor
();
19
}
20
21
DelegatedParameter::DelegatedParameter
(
Name
&&
name
,
22
Comment
&&
comment
,
23
std::function<
bool
()> maybeUse)
24
:
DelegateBase
{std::move(
name
),
25
std::move(
comment
),
26
par_style::REQUIRED_CONDITIONAL
,
27
maybeUse}
28
,
RegisterIfTableMember
{
this
}
29
{
30
NameStackRegistry::end_of_ctor
();
31
}
32
}
fhicl::par_style::REQUIRED_CONDITIONAL
fhicl::detail::DelegateBase::DelegateBase
DelegateBase(Name const &name, Comment const &comment, par_style const vt, std::function< bool()> maybeUse)
Definition:
DelegateBase.h:10
DelegatedParameter.h
fhicl::DelegatedParameter::DelegatedParameter
DelegatedParameter(Name &&name)
Definition:
DelegatedParameter.cc:7
fhicl::NameStackRegistry::end_of_ctor
static void end_of_ctor()
Definition:
NameStackRegistry.cc:31
fhicl::detail::AlwaysUse
std::function< bool()> AlwaysUse()
Definition:
ConfigPredicate.h:10
fhicl::detail::RegisterIfTableMember::RegisterIfTableMember
RegisterIfTableMember(ParameterBase *pb)
Definition:
TableMemberRegistry.cc:42
NameStackRegistry.h
fhicl
parameter set interface
Definition:
BeamFlashTrackMatchTaggerAlg.h:17
fhicl::detail::ParameterBase::name
std::string const & name() const
Definition:
ParameterBase.cc:11
ConfigPredicate.h
fhicl::par_style::REQUIRED
fhicl::detail::ParameterBase::comment
std::string const & comment() const
Definition:
ParameterBase.cc:16
fhicl::Comment
Definition:
Comment.h:33
fhicl::Name
Definition:
Name.h:10
fhicl::DelegatedParameter
Definition:
DelegatedParameter.h:15
fhiclcpp
types
DelegatedParameter.cc
Generated on Thu May 2 2024 20:59:31 for LArSoft by
1.8.11