LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
fhicl::MaybeUseFunction Struct Reference

#include "MaybeUseFunction.h"

Public Member Functions

 MaybeUseFunction (std::function< bool()> func)
 
 operator std::function< bool ()>() const
 

Public Attributes

std::function< bool()> value
 

Detailed Description

Definition at line 7 of file MaybeUseFunction.h.

Constructor & Destructor Documentation

fhicl::MaybeUseFunction::MaybeUseFunction ( std::function< bool()>  func)
inlineexplicit

Definition at line 8 of file MaybeUseFunction.h.

8 : value{func} {}
std::function< bool()> value

Member Function Documentation

fhicl::MaybeUseFunction::operator std::function< bool ( ) const
inline

Definition at line 9 of file MaybeUseFunction.h.

References value.

9 { return value; }
std::function< bool()> value

Member Data Documentation

std::function<bool()> fhicl::MaybeUseFunction::value

Definition at line 10 of file MaybeUseFunction.h.

Referenced by operator std::function< bool().


The documentation for this struct was generated from the following file: