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

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

#include <function_objects.hpp>

Inheritance diagram for ecl::UnaryFunction< A, R >:
Inheritance graph
[legend]

Public Types

typedef A argument_type
 The first argument type. More...
 
typedef R result_type
 The result type. More...
 

Public Member Functions

virtual result_type operator() (argument_type arg)=0
 Virtual function call required by unary function objects. More...
 
virtual ~UnaryFunction ()
 

Detailed Description

template<typename A, typename R = void>
class ecl::UnaryFunction< A, R >

Virtual interface definition for unary function objects.

Virtual interface definition for unary function objects (i.e. functions that take a single arguments).

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

Definition at line 69 of file function_objects.hpp.

Member Typedef Documentation

template<typename A, typename R = void>
typedef A ecl::UnaryFunction< A, R >::argument_type

The first argument type.

Definition at line 72 of file function_objects.hpp.

template<typename A, typename R = void>
typedef R ecl::UnaryFunction< A, R >::result_type

The result type.

Definition at line 71 of file function_objects.hpp.

Constructor & Destructor Documentation

template<typename A, typename R = void>
virtual ecl::UnaryFunction< A, R >::~UnaryFunction ( )
inlinevirtual

Definition at line 78 of file function_objects.hpp.

Member Function Documentation

template<typename A, typename R = void>
virtual result_type ecl::UnaryFunction< A, R >::operator() ( argument_type  arg)
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:29