Public Types | Public Member Functions | Protected Attributes

mln::fun::p2v::iota Struct Reference

#include <iota.hh>

Inheritance diagram for mln::fun::p2v::iota:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef iota exact_t
typedef void mutable_result
typedef unsigned result

Public Member Functions

 iota ()
template<typename P >
unsigned operator() (const P &) const
void reset () const
unsigned value () const

Protected Attributes

unsigned i_

Detailed Description

Definition at line 45 of file fun/p2v/iota.hh.


Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< iota >::category [inherited]

Reimplemented from mln::Function< iota >.

Definition at line 126 of file function.hh.

typedef iota mln::Object< iota >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< iota >::mutable_result [inherited]

Definition at line 127 of file function.hh.

typedef unsigned mln::fun::p2v::iota::result

Definition at line 47 of file fun/p2v/iota.hh.


Constructor & Destructor Documentation

mln::fun::p2v::iota::iota (  )  [inline]

Definition at line 65 of file fun/p2v/iota.hh.

References reset().


Member Function Documentation

template<typename P >
unsigned mln::fun::p2v::iota::operator() ( const P &   )  const [inline]

Definition at line 73 of file fun/p2v/iota.hh.

References i_.

void mln::fun::p2v::iota::reset (  )  const [inline]

Definition at line 87 of file fun/p2v/iota.hh.

References i_.

Referenced by iota().

unsigned mln::fun::p2v::iota::value (  )  const [inline]

Definition at line 80 of file fun/p2v/iota.hh.

References i_.


Member Data Documentation

unsigned mln::fun::p2v::iota::i_ [mutable, protected]

Definition at line 58 of file fun/p2v/iota.hh.

Referenced by operator()(), reset(), and value().