Public Types | Public Member Functions | List of all members
ecl::NullaryFunction< R > Class Template Referenceabstract

Virtual interface definition for nullary function objects. More...

#include <function_objects.hpp>

Inheritance diagram for ecl::NullaryFunction< R >:
Inheritance graph
[legend]

Public Types

typedef R result_type
 The result type. More...
 

Public Member Functions

virtual result_type operator() ()=0
 Virtual function call required by nullary function objects. More...
 
virtual ~NullaryFunction ()
 

Detailed Description

template<typename R = void>
class ecl::NullaryFunction< R >

Virtual interface definition for nullary function objects.

Virtual interface definition for nullary function objects (i.e. functions that take no arguments).

Template Parameters
R: the return type.
See also
FunctionObjects.

Definition at line 46 of file function_objects.hpp.

Member Typedef Documentation

template<typename R = void>
typedef R ecl::NullaryFunction< R >::result_type

The result type.

Definition at line 48 of file function_objects.hpp.

Constructor & Destructor Documentation

template<typename R = void>
virtual ecl::NullaryFunction< R >::~NullaryFunction ( )
inlinevirtual

Definition at line 50 of file function_objects.hpp.

Member Function Documentation

template<typename R = void>
virtual result_type ecl::NullaryFunction< R >::operator() ( )
pure virtual

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


ecl_utilities
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:28