Public Types | Public Member Functions
ecl::BinaryFunction< A1, A2, R > Class Template Reference

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

#include <function_objects.hpp>

List of all members.

Public Types

typedef A1 first_argument_type
 The first argument type.
typedef R result_type
 The result type.
typedef A2 second_argument_type
 The second argument type.

Public Member Functions

virtual result_type operator() (first_argument_type arg1, second_argument_type arg2)=0
 Virtual function call required by binary function objects.
virtual ~BinaryFunction ()

Detailed Description

template<typename A1, typename A2, typename R = void>
class ecl::BinaryFunction< A1, A2, R >

Virtual interface definition for binary function objects.

Virtual interface definition for binary function objects (i.e. functions that take a pair of arguments).

Template Parameters:
R: the return type.
A1: the first argument type.
A2: the second argument type.
See also:
FunctionObjects.

Definition at line 97 of file function_objects.hpp.


Member Typedef Documentation

template<typename A1, typename A2, typename R = void>
typedef A1 ecl::BinaryFunction< A1, A2, R >::first_argument_type

The first argument type.

Definition at line 100 of file function_objects.hpp.

template<typename A1, typename A2, typename R = void>
typedef R ecl::BinaryFunction< A1, A2, R >::result_type

The result type.

Definition at line 99 of file function_objects.hpp.

template<typename A1, typename A2, typename R = void>
typedef A2 ecl::BinaryFunction< A1, A2, R >::second_argument_type

The second argument type.

Definition at line 101 of file function_objects.hpp.


Constructor & Destructor Documentation

template<typename A1, typename A2, typename R = void>
virtual ecl::BinaryFunction< A1, A2, R >::~BinaryFunction ( ) [inline, virtual]

Definition at line 110 of file function_objects.hpp.


Member Function Documentation

template<typename A1, typename A2, typename R = void>
virtual result_type ecl::BinaryFunction< A1, A2, R >::operator() ( first_argument_type  arg1,
second_argument_type  arg2 
) [pure virtual]

Virtual function call required by binary function objects.

Virtual function call required by binary function objects.

Parameters:
arg1: the first argument.
arg2: the second argument.Virtual function call required by binary function objects.

Implemented in ecl::PartiallyBoundBinaryMemberFunction< C, A, B, R >, ecl::UnaryMemberFunction< C, A, void >, and ecl::UnaryMemberFunction< C, A, R >.


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


ecl_utilities
Author(s): Daniel Stonier
autogenerated on Mon Jul 3 2017 02:21:39