Public Types | Public Member Functions | Private Attributes

mln::fun::v2v::ch_function_value< F, V > Class Template Reference

Wrap a function v2v and convert its result to another type. More...

#include <ch_function_value.hh>

Inheritance diagram for mln::fun::v2v::ch_function_value< F, V >:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef ch_function_value< F, V > exact_t
typedef F function
typedef V lvalue
typedef void mutable_result
typedef V result
typedef V rvalue

Public Member Functions

 ch_function_value ()
 ch_function_value (const F &f)
template<typename W >
operator() (const W &w) const

Private Attributes

f_

Detailed Description

template<typename F, typename V>
class mln::fun::v2v::ch_function_value< F, V >

Wrap a function v2v and convert its result to another type.

Definition at line 52 of file fun/v2v/ch_function_value.hh.


Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< ch_function_value< F, V > >::category [inherited]

Reimplemented from mln::Function< ch_function_value< F, V > >.

Definition at line 126 of file function.hh.

typedef ch_function_value< F, V > mln::Object< ch_function_value< F, V > >::exact_t [inherited]

Definition at line 173 of file object.hh.

template<typename F , typename V >
typedef F mln::fun::v2v::ch_function_value< F, V >::function

Definition at line 56 of file fun/v2v/ch_function_value.hh.

template<typename F , typename V >
typedef V mln::fun::v2v::ch_function_value< F, V >::lvalue

Definition at line 59 of file fun/v2v/ch_function_value.hh.

typedef void mln::Function_v2v< ch_function_value< F, V > >::mutable_result [inherited]

Definition at line 127 of file function.hh.

template<typename F , typename V >
typedef V mln::fun::v2v::ch_function_value< F, V >::result

Definition at line 57 of file fun/v2v/ch_function_value.hh.

template<typename F , typename V >
typedef V mln::fun::v2v::ch_function_value< F, V >::rvalue

Definition at line 58 of file fun/v2v/ch_function_value.hh.


Constructor & Destructor Documentation

template<typename F , typename V >
mln::fun::v2v::ch_function_value< F, V >::ch_function_value (  )  [inline]

Definition at line 76 of file fun/v2v/ch_function_value.hh.

template<typename F , typename V >
mln::fun::v2v::ch_function_value< F, V >::ch_function_value ( const F &  f  )  [inline]

Member Function Documentation

template<typename F , typename V >
template<typename W >
V mln::fun::v2v::ch_function_value< F, V >::operator() ( const W &  w  )  const [inline]

Member Data Documentation

template<typename F , typename V >
F mln::fun::v2v::ch_function_value< F, V >::f_ [private]