Public Types | Public Member Functions | Protected Attributes

mln::fun::cast_p2v_expr_< V, F > Struct Template Reference

#include <cast.hh>

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

List of all members.

Public Types

typedef Function_v2v< void > category
typedef cast_p2v_expr_< V, F > exact_t
typedef void mutable_result
typedef V result

Public Member Functions

 cast_p2v_expr_ (const F &f)
template<typename P >
operator() (const P &p) const

Protected Attributes

const F f_

Detailed Description

template<typename V, typename F>
struct mln::fun::cast_p2v_expr_< V, F >

Definition at line 45 of file fun/cast.hh.


Member Typedef Documentation

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

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

Definition at line 126 of file function.hh.

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

Definition at line 173 of file object.hh.

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

Definition at line 127 of file function.hh.

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

Definition at line 47 of file fun/cast.hh.


Constructor & Destructor Documentation

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

Definition at line 49 of file fun/cast.hh.


Member Function Documentation

template<typename V, typename F>
template<typename P >
V mln::fun::cast_p2v_expr_< V, F >::operator() ( const P &  p  )  const [inline]

Definition at line 54 of file fun/cast.hh.

References mln::fun::cast_p2v_expr_< V, F >::f_.


Member Data Documentation

template<typename V, typename F>
const F mln::fun::cast_p2v_expr_< V, F >::f_ [protected]

Definition at line 60 of file fun/cast.hh.

Referenced by mln::fun::cast_p2v_expr_< V, F >::operator()().