Public Member Functions | Public Attributes | List of all members
fhicl::MaybeUseFunction Struct Reference

#include "/cvmfs/"

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)

Definition at line 8 of file MaybeUseFunction.h.

References func().

8 : value{func} {}
const XML_Char int const XML_Char * value
Definition: expat.h:331
double func(double x, double y)

Member Function Documentation

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

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: