#include <iota.hh>
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_ |
Definition at line 45 of file fun/p2v/iota.hh.
typedef Function_v2v<void> mln::Function_v2v< iota >::category [inherited] |
Reimplemented from mln::Function< iota >.
Definition at line 126 of file function.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.
mln::fun::p2v::iota::iota | ( | ) | [inline] |
Definition at line 65 of file fun/p2v/iota.hh.
References reset().
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] |
unsigned mln::fun::p2v::iota::value | ( | ) | const [inline] |
Definition at line 80 of file fun/p2v/iota.hh.
References i_.
unsigned mln::fun::p2v::iota::i_ [mutable, protected] |
Definition at line 58 of file fun/p2v/iota.hh.
Referenced by operator()(), reset(), and value().