Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
fhiclcpp
fhiclcpp
types
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
}
name
static QCString name
Definition:
declinfo.cpp:673
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::detail::ParameterBase::name
std::string const & name() const
Definition:
ParameterBase.h:43
fhicl::DelegatedParameter::DelegatedParameter
DelegatedParameter(Name &&name)
Definition:
DelegatedParameter.cc:7
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::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
ConfigPredicate.h
Comment
#define Comment
Definition:
commentscan.cpp:4062
fhicl::detail::ParameterBase::comment
std::string const & comment() const
Definition:
ParameterBase.h:48
fhicl::par_style::REQUIRED
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
fhicl::DelegatedParameter
Definition:
DelegatedParameter.h:15
Generated by
1.8.11