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

Public Member Functions | |
| UnaryComposeFunctor (const Functor0 &functor0, const Functor1 &functor1) | |
| Constructor accepts instances of the two functor types to be composed, and makes local copies of them for use in operator()(. | |
| Functor0::result_type | operator() (const typename Functor1::argument_type &argument) |
| This operator passes its 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. | |
Definition at line 377 of file dlrCommon/functional.h.
| dlr::common::UnaryComposeFunctor< Functor0, Functor1 >::UnaryComposeFunctor | ( | const Functor0 & | functor0, | |
| const Functor1 & | functor1 | |||
| ) | [inline] |
Constructor accepts instances of the two 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 to this functor (or rather, a copy of this functor) 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 to a copy of functor0, and the return value of the functor0 copy will be passed to the calling context. |
Definition at line 399 of file dlrCommon/functional.h.
| Functor0::result_type dlr::common::UnaryComposeFunctor< Functor0, Functor1 >::operator() | ( | const typename Functor1::argument_type & | argument | ) | [inline] |
This operator passes its argument to the operator()(.
..) method of a copy of constructor argument functor1, then passes the result to the operator()(...) method of a copy of constructor argument functor0, and returns the result.
| argument | This argument will be passed as input to the functor1 copy. |
Definition at line 414 of file dlrCommon/functional.h.
References dlr::common::UnaryComposeFunctor< Functor0, Functor1 >::m_functor0, and dlr::common::UnaryComposeFunctor< Functor0, Functor1 >::m_functor1.
Functor0 dlr::common::UnaryComposeFunctor< Functor0, Functor1 >::m_functor0 [protected] |
This protected member stores a copy of functor0.
Definition at line 421 of file dlrCommon/functional.h.
Referenced by dlr::common::UnaryComposeFunctor< Functor0, Functor1 >::operator()().
Functor1 dlr::common::UnaryComposeFunctor< Functor0, Functor1 >::m_functor1 [protected] |
This protected member stores a copy of functor1.
Definition at line 424 of file dlrCommon/functional.h.
Referenced by dlr::common::UnaryComposeFunctor< Functor0, Functor1 >::operator()().
1.5.2