Public Types | Public Member Functions | Protected Attributes

mln::fun::comp Struct Reference

#include <comp.hh>

Inheritance diagram for mln::fun::comp:
Inheritance graph

List of all members.

Public Types

typedef Meta_Function_v2v< void > category
typedef E exact_t
typedef comp flag
typedef unsigned param
typedef void storage

Public Member Functions

 comp ()
 comp (unsigned i)
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< storagestate_

Detailed Description

Definition at line 44 of file fun/component/comp.hh.


Member Typedef Documentation

template<typename E>
typedef Meta_Function_v2v<void> mln::Meta_Function_v2v< E >::category [inherited]

Reimplemented from mln::Meta_Function< E >.

Definition at line 100 of file meta_function.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef comp mln::fun::unary_param< comp , unsigned , void , comp >::flag [inherited]

Reimplemented from mln::fun::unary< F, E >.

Definition at line 43 of file unary_param.hh.

typedef unsigned mln::fun::unary_param< comp , unsigned , void , comp >::param [inherited]

Definition at line 44 of file unary_param.hh.

typedef void mln::fun::unary_param< comp , unsigned , void , comp >::storage [inherited]

Definition at line 45 of file unary_param.hh.


Constructor & Destructor Documentation

mln::fun::comp::comp (  )  [inline]

Definition at line 46 of file fun/component/comp.hh.

mln::fun::comp::comp ( unsigned  i  )  [inline]

Definition at line 47 of file fun/component/comp.hh.


Member Function Documentation

template<typename F, typename E = F>
template<typename U >
void mln::fun::unary< F, E >::init ( const U &  value  )  [inline, inherited]

Definition at line 90 of file unary.hh.

Referenced by mln::fun::unary< accu_result >::unary().

template<typename F, typename E = F>
typedef mln::fun::unary< F, E >::mln_trait_fun_param ( flag   )  [inherited]
template<typename F, typename E = F>
typedef mln::fun::unary< F, E >::mln_trait_fun_storage ( flag   )  [inherited]
template<typename F, typename E = F>
template<typename T >
with<T>::ret::template lresult_with<T>::ret mln::fun::unary< F, E >::operator() ( T v  )  const [inline, inherited]

Definition at line 71 of file unary.hh.

template<typename F, typename E = F>
template<typename T >
with<T>::ret::result mln::fun::unary< F, E >::operator() ( const T v  )  const [inline, inherited]

Definition at line 65 of file unary.hh.

template<typename F, typename E = F>
template<typename T , typename R >
void mln::fun::unary< F, E >::set ( T v,
const R &  r 
) const [inline, inherited]

Definition at line 80 of file unary.hh.

template<typename F, typename E = F>
const stored<storage>& mln::fun::unary< F, E >::state (  )  const [inline, inherited]

Definition at line 110 of file unary.hh.

template<typename F, typename E = F>
stored<storage>& mln::fun::unary< F, E >::state (  )  [inline, inherited]

Member Data Documentation

template<typename F, typename E = F>
stored<storage> mln::fun::unary< F, E >::state_ [protected, inherited]