Public Types | Public Member Functions
ecl::NullaryFunction< R > Class Template Reference

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

#include <function_objects.hpp>

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

List of all members.

Public Types

typedef R result_type
 The result type.

Public Member Functions

virtual result_type operator() ()=0
 Virtual function call required by nullary function objects.
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 ( ) [inline, virtual]

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 Thu Jun 6 2019 21:17:40