Public Types | Public Member Functions
ecl::UnaryFunction< A, R > Class Template Reference

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

#include <function_objects.hpp>

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

List of all members.

Public Types

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

Public Member Functions

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

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 Wed Aug 26 2015 11:27:20