#include <functional.h>
Collaboration diagram for dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >:

Public Member Functions | |
| BinaryComposeFunctor (const Functor0 &functor0, const Functor1 &functor1, const Functor2 &functor2) | |
| The constructor accepts instances of the three functor types to be composed, and makes local copies of them for use in operator()(. | |
| Functor0::result_type | operator() (const typename Functor1::argument_type &argument0, const typename Functor2::argument_type &argument1) |
| This operator passes its first argument to the operator()(. | |
Protected Attributes | |
| Functor0 | m_functor0 |
| This protected member stores a copy of functor0. | |
| Functor1 | m_functor1 |
| This protected member stores a copy of functor1. | |
| Functor1 | m_functor2 |
| This protected member stores a copy of functor2. | |
Definition at line 33 of file dlrCommon/functional.h.
| dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::BinaryComposeFunctor | ( | const Functor0 & | functor0, | |
| const Functor1 & | functor1, | |||
| const Functor2 & | functor2 | |||
| ) | [inline] |
The constructor accepts instances of the three functor types to be composed, and makes local copies of them for use in operator()(.
..).
| functor0 | During evaluation of operator()(...), the return value of a copy of functor1 will be passed as the first argument to this functor (or rather, a copy of this functor), the return value of a copy of functor2 will be passed as the second argument, and the return value of the copy of this functor will be passed to the calling context. | |
| functor1 | During evaluation of operator()(...), the return value of this functor (or rather, a copy of this functor) will be passed as the first argument to a copy of functor0, and the return value of the functor0 copy will be passed to the calling context. | |
| functor2 | During evaluation of operator()(...), the return value of this functor (or rather, a copy of this functor) will be passed as the second argument to a copy of functor0, and the return value of the functor0 copy will be passed to the calling context. |
Definition at line 63 of file dlrCommon/functional.h.
| Functor0::result_type dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::operator() | ( | const typename Functor1::argument_type & | argument0, | |
| const typename Functor2::argument_type & | argument1 | |||
| ) | [inline] |
This operator passes its first argument to the operator()(.
..) method of a copy of constructor argument functor1, passes its second argument to the operator()(...) method of a copy of constructor argument functor2, and then passes the result of these calls as the first and second arguments of the operator()(...) method of functor0, and returns the result.
| argument0 | This argument will be passed as input to the functor1 copy. | |
| argument1 | This argument will be passed as input to the functor2 copy. |
Definition at line 86 of file dlrCommon/functional.h.
References dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::m_functor0, dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::m_functor1, and dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::m_functor2.
Functor0 dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::m_functor0 [protected] |
This protected member stores a copy of functor0.
Definition at line 94 of file dlrCommon/functional.h.
Referenced by dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::operator()().
Functor1 dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::m_functor1 [protected] |
This protected member stores a copy of functor1.
Definition at line 97 of file dlrCommon/functional.h.
Referenced by dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::operator()().
Functor1 dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::m_functor2 [protected] |
This protected member stores a copy of functor2.
Definition at line 100 of file dlrCommon/functional.h.
Referenced by dlr::common::BinaryComposeFunctor< Functor0, Functor1, Functor2 >::operator()().
1.5.2