LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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::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::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
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
fhicl::detail::ParameterBase::name
std::string const & name() const
Definition:
ParameterBase.cc:11
ConfigPredicate.h
fhicl::detail
Definition:
coding.h:43
fhicl::detail::ParameterBase::comment
std::string const & comment() const
Definition:
ParameterBase.cc:16
fhicl::detail::AtomBase
Definition:
AtomBase.h:8
fhicl::detail::ParameterBase
Definition:
ParameterBase.h:36
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
fhiclcpp
types
detail
AtomBase.h
Generated on Thu May 2 2024 20:59:31 for LArSoft by
1.8.11