#include <from_accu.hh>
Public Types | |
typedef Meta_Function_v2v< void > | category |
typedef E | exact_t |
typedef from_accu< A > | flag |
typedef A * | param |
typedef void | storage |
Public Member Functions | |
from_accu () | |
from_accu (A *a) | |
template<typename U > | |
void | init (const U &value) |
typedef | mln_trait_fun_param (flag) param |
typedef | mln_trait_fun_storage (flag) storage |
template<typename T > | |
with< T >::ret::result | operator() (const T &v) const |
template<typename T > | |
with< T >::ret::template lresult_with< T >::ret | operator() (T &v) const |
template<typename T , typename R > | |
void | set (T &v, const R &r) const |
const stored< storage > & | state () const |
stored< storage > & | state () |
Protected Attributes | |
stored< storage > | state_ |
typedef Meta_Function_v2v<void> mln::Meta_Function_v2v< E >::category [inherited] |
Reimplemented from mln::Meta_Function< E >.
typedef E mln::Object< E >::exact_t [inherited] |
typedef from_accu< A > mln::fun::unary_param< from_accu< A > , A * , void , from_accu< A > >::flag [inherited] |
Reimplemented from mln::fun::unary< F, E >.
typedef A * mln::fun::unary_param< from_accu< A > , A * , void , from_accu< A > >::param [inherited] |
typedef void mln::fun::unary_param< from_accu< A > , A * , void , from_accu< A > >::storage [inherited] |
mln::fun::from_accu< A >::from_accu | ( | ) | [inline] |
mln::fun::from_accu< A >::from_accu | ( | A * | a | ) | [inline] |
void mln::fun::unary< F, E >::init | ( | const U & | value | ) | [inline, inherited] |
Referenced by mln::fun::unary< accu_result >::unary().
typedef mln::fun::unary< F, E >::mln_trait_fun_param | ( | flag | ) | [inherited] |
typedef mln::fun::unary< F, E >::mln_trait_fun_storage | ( | flag | ) | [inherited] |
with<T>::ret::template lresult_with<T>::ret mln::fun::unary< F, E >::operator() | ( | T & | v | ) | const [inline, inherited] |
with<T>::ret::result mln::fun::unary< F, E >::operator() | ( | const T & | v | ) | const [inline, inherited] |
void mln::fun::unary< F, E >::set | ( | T & | v, | |
const R & | r | |||
) | const [inline, inherited] |
const stored<storage>& mln::fun::unary< F, E >::state | ( | ) | const [inline, inherited] |
stored<storage>& mln::fun::unary< F, E >::state | ( | ) | [inline, inherited] |
Referenced by mln::fun::unary< accu_result >::operator()(), and mln::fun::unary< accu_result >::set().
stored<storage> mln::fun::unary< F, E >::state_ [protected, inherited] |
Referenced by mln::fun::unary< accu_result >::init(), and mln::fun::unary< accu_result >::state().