Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
fhiclcpp
fhiclcpp
types
OptionalDelegatedParameter.cc
Go to the documentation of this file.
1
#include "
fhiclcpp/types/OptionalDelegatedParameter.h
"
2
#include "
fhiclcpp/types/ConfigPredicate.h
"
3
#include "
fhiclcpp/types/detail/NameStackRegistry.h
"
4
5
namespace
fhicl
{
6
7
OptionalDelegatedParameter::OptionalDelegatedParameter
(
Name
&&
name
)
8
:
OptionalDelegatedParameter
{
std::move
(
name
),
Comment
(
""
)}
9
{}
10
11
OptionalDelegatedParameter::OptionalDelegatedParameter
(
Name
&&
name
,
12
Comment
&&
comment
)
13
:
DelegateBase
{
std::move
(
name
),
14
std::move
(
comment
),
15
par_style::OPTIONAL
,
16
detail::AlwaysUse
()}
17
,
RegisterIfTableMember
{
this
}
18
{
19
NameStackRegistry::end_of_ctor
();
20
}
21
22
OptionalDelegatedParameter::OptionalDelegatedParameter
(
23
Name
&&
name
,
24
Comment
&&
comment
,
25
std::function
<
bool
()> maybeUse)
26
:
DelegateBase
{
std::move
(
name
),
27
std::move
(
comment
),
28
par_style::OPTIONAL_CONDITIONAL
,
29
maybeUse}
30
,
RegisterIfTableMember
{
this
}
31
{
32
NameStackRegistry::end_of_ctor
();
33
}
34
}
name
static QCString name
Definition:
declinfo.cpp:673
fhicl::detail::DelegateBase::DelegateBase
DelegateBase(Name const &name, Comment const &comment, par_style const vt, std::function< bool()> maybeUse)
Definition:
DelegateBase.h:10
fhicl::detail::ParameterBase::name
std::string const & name() const
Definition:
ParameterBase.h:43
OptionalDelegatedParameter.h
fhicl::NameStackRegistry::end_of_ctor
static void end_of_ctor()
Definition:
NameStackRegistry.h:50
fhicl::detail::AlwaysUse
std::function< bool()> AlwaysUse()
Definition:
ConfigPredicate.h:10
fhicl::par_style::OPTIONAL
fhicl::OptionalDelegatedParameter
Definition:
OptionalDelegatedParameter.h:18
fhicl::detail::RegisterIfTableMember::RegisterIfTableMember
RegisterIfTableMember(ParameterBase *pb)
Definition:
TableMemberRegistry.h:105
NameStackRegistry.h
fhicl
Definition:
InputSourceFactory.h:7
wirecell.gen.depos.move
def move(depos, offset)
Definition:
depos.py:107
fhicl::par_style::OPTIONAL_CONDITIONAL
fhicl::OptionalDelegatedParameter::OptionalDelegatedParameter
OptionalDelegatedParameter(Name &&name)
Definition:
OptionalDelegatedParameter.cc:7
ConfigPredicate.h
Comment
#define Comment
Definition:
commentscan.cpp:4062
fhicl::detail::ParameterBase::comment
std::string const & comment() const
Definition:
ParameterBase.h:48
function
void function(int client, int *resource, int parblock, int *test, int p)
fhicl::Comment
Definition:
Comment.h:33
fhicl::Name
Definition:
Name.h:10
Generated by
1.8.11