LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MaybeUseFunction.h
Go to the documentation of this file.
1
#ifndef fhiclcpp_types_MaybeUseFunction_h
2
#define fhiclcpp_types_MaybeUseFunction_h
3
4
#include <functional>
5
6
namespace
fhicl
{
7
struct
MaybeUseFunction
{
8
explicit
MaybeUseFunction
(std::function<
bool
()> func) :
value
{func} {}
9
operator
std::function<bool()>()
const
{
return
value
; }
10
std::function<bool()>
value
;
11
};
12
}
13
14
#endif
/* fhiclcpp_types_MaybeUseFunction_h */
15
16
// Local Variables:
17
// mode: c++
18
// End:
fhicl
parameter set interface
Definition:
BeamFlashTrackMatchTaggerAlg.h:17
fhicl::MaybeUseFunction::value
std::function< bool()> value
Definition:
MaybeUseFunction.h:10
fhicl::MaybeUseFunction::MaybeUseFunction
MaybeUseFunction(std::function< bool()> func)
Definition:
MaybeUseFunction.h:8
fhicl::MaybeUseFunction
Definition:
MaybeUseFunction.h:7
fhiclcpp
types
MaybeUseFunction.h
Generated on Thu May 2 2024 20:59:31 for LArSoft by
1.8.11