LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
{
8
9
class
ParameterSet;
10
11
namespace
detail {
12
13
//========================================================
14
class
AtomBase
:
public
ParameterBase
{
15
public
:
16
AtomBase
(
Name
const
&
name
,
17
Comment
const
&
comment
,
18
par_style
const
vt,
19
std::function<
bool
()> maybeUse)
20
:
ParameterBase
{
name
,
comment
, vt,
par_type::ATOM
, maybeUse}
21
{}
22
23
std::string
24
stringified_value
()
const
25
{
26
return
get_stringified_value
();
27
}
28
29
private
:
30
virtual
std::string
get_stringified_value
()
const
= 0;
31
};
32
}
33
}
34
35
#endif
/* fhiclcpp_types_detail_AtomBase_h */
36
37
// Local variables:
38
// mode: c++
39
// End:
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:16
ParameterBase.h
fhicl::par_style
par_style
Definition:
ParameterArgumentTypes.h:37
fhicl::detail::AtomBase::stringified_value
std::string stringified_value() const
Definition:
AtomBase.h:24
fhicl
parameter set interface
Definition:
ServiceProviderWrappers.h:37
ConfigPredicate.h
fhicl::detail::ParameterBase::name
std::string name() const
Definition:
ParameterBase.h:49
fhicl::detail::AtomBase
Definition:
AtomBase.h:14
fhicl::detail::ParameterBase
Definition:
ParameterBase.h:41
fhicl::Comment
Definition:
Comment.h:33
fhicl::detail::ParameterBase::comment
std::string comment() const
Definition:
ParameterBase.h:54
fhicl::Name
Definition:
Name.h:11
fhicl::detail::AtomBase::get_stringified_value
virtual std::string get_stringified_value() const =0
fhiclcpp
types
detail
AtomBase.h
Generated on Thu Jul 26 2018 13:09:45 for LArSoft by
1.8.11