Public Member Functions | Public Attributes | List of all members
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
def func()
Definition: docstring.py:7

Member Function Documentation

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

Definition at line 9 of file MaybeUseFunction.h.

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

Member Data Documentation

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

Definition at line 10 of file MaybeUseFunction.h.


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