Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
fhiclcpp
fhiclcpp
types
detail
AtomBase.h
Go to the documentation of this file.
1
#ifndef fhiclcpp_types_detail_AtomBase_h
2
#define fhiclcpp_types_detail_AtomBase_h
3
4
#include "
fhiclcpp/types/ConfigPredicate.h
"
5
#include "
fhiclcpp/types/detail/ParameterBase.h
"
6
7
namespace
fhicl::detail
{
8
class
AtomBase
:
public
ParameterBase
{
9
public
:
10
AtomBase
(
Name
const
&
name
,
11
Comment
const
&
comment
,
12
par_style
const
vt,
13
std::function
<
bool
()> maybeUse)
14
:
ParameterBase
{
name
,
comment
, vt,
par_type::ATOM
, maybeUse}
15
{}
16
17
std::string
18
stringified_value
()
const
19
{
20
return
get_stringified_value
();
21
}
22
23
private
:
24
virtual
std::string
get_stringified_value
()
const
= 0;
25
};
26
}
27
28
#endif
/* fhiclcpp_types_detail_AtomBase_h */
29
30
// Local variables:
31
// mode: c++
32
// End:
fhicl::detail::ParameterBase::name
std::string const & name() const
Definition:
ParameterBase.h:43
fhicl::par_type::ATOM
fhicl::detail::AtomBase::AtomBase
AtomBase(Name const &name, Comment const &comment, par_style const vt, std::function< bool()> maybeUse)
Definition:
AtomBase.h:10
string
std::string string
Definition:
nybbler.cc:12
ParameterBase.h
fhicl::par_style
par_style
Definition:
ParameterArgumentTypes.h:37
fhicl::detail::AtomBase::stringified_value
std::string stringified_value() const
Definition:
AtomBase.h:18
ConfigPredicate.h
fhicl::detail::ParameterBase::comment
std::string const & comment() const
Definition:
ParameterBase.h:48
fhicl::detail
Definition:
coding.h:43
fhicl::detail::AtomBase
Definition:
AtomBase.h:8
fhicl::detail::ParameterBase
Definition:
ParameterBase.h:35
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::detail::AtomBase::get_stringified_value
virtual std::string get_stringified_value() const =0
Generated by
1.8.11