Public Types | Public Member Functions | Public Attributes

mln::fun::p2p::fold< P, dir_0, dir_1, dir_2 > Struct Template Reference

#include <fold.hh>

Inheritance diagram for mln::fun::p2p::fold< P, dir_0, dir_1, dir_2 >:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef fold< P, dir_0, dir_1,
dir_2 > 
exact_t
typedef void mutable_result
typedef P result

Public Member Functions

 fold ()
 fold (const box< P > &b)
operator() (const P &p) const

Public Attributes

box< P > b

Detailed Description

template<typename P, int dir_0 = -1, int dir_1 = -1, int dir_2 = -1>
struct mln::fun::p2p::fold< P, dir_0, dir_1, dir_2 >

Definition at line 57 of file fold.hh.


Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< fold< P, dir_0, dir_1, dir_2 > >::category [inherited]

Reimplemented from mln::Function< fold< P, dir_0, dir_1, dir_2 > >.

Definition at line 126 of file function.hh.

typedef fold< P, dir_0, dir_1, dir_2 > mln::Object< fold< P, dir_0, dir_1, dir_2 > >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< fold< P, dir_0, dir_1, dir_2 > >::mutable_result [inherited]

Definition at line 127 of file function.hh.

template<typename P , int dir_0 = -1, int dir_1 = -1, int dir_2 = -1>
typedef P mln::fun::p2p::fold< P, dir_0, dir_1, dir_2 >::result

Definition at line 62 of file fold.hh.


Constructor & Destructor Documentation

template<typename P , int dir_0, int dir_1, int dir_2>
mln::fun::p2p::fold< P, dir_0, dir_1, dir_2 >::fold (  )  [inline]

Definition at line 125 of file fold.hh.

template<typename P , int dir_0, int dir_1, int dir_2>
mln::fun::p2p::fold< P, dir_0, dir_1, dir_2 >::fold ( const box< P > &  b  )  [inline]

Definition at line 131 of file fold.hh.


Member Function Documentation

template<typename P , int dir_0, int dir_1, int dir_2>
P mln::fun::p2p::fold< P, dir_0, dir_1, dir_2 >::operator() ( const P &  p  )  const [inline]

Member Data Documentation

template<typename P , int dir_0 = -1, int dir_1 = -1, int dir_2 = -1>
box<P> mln::fun::p2p::fold< P, dir_0, dir_1, dir_2 >::b

Definition at line 65 of file fold.hh.

Referenced by mln::fun::p2p::fold< P, dir_0, dir_1, dir_2 >::operator()().