Functor< R(A1), A2 >::Function< F > Class Template Reference

Implementation calls unary function F. More...

#include <Functor.h>

Inheritance diagram for Functor< R(A1), A2 >::Function< F >:
FunctorFunction< F, Base >

Public Member Functions

 Function (F _function)
 Construct from a pointer to a function.
 
call (const A1 &p1) const
 Call the function.
 
- Public Member Functions inherited from FunctorFunction< F, Base >
bool matches (F _function) const
 Return true if the function matches.
 
virtual bool matches (const FunctorBase *that) const
 Return true if this matches that.
 
bool is_valid () const
 Return true if valid (able to be called)
 

Additional Inherited Members

- Protected Attributes inherited from FunctorFunction< F, Base >
function
 The function to be called.
 

Detailed Description

template<typename R, typename A1, typename A2>
template<typename F>
class Functor< R(A1), A2 >::Function< F >

Implementation calls unary function F.


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

Generated using doxygen 1.8.17