My Project
|
#include <fac_iterfor.h>
Public Member Functions | |
IteratedFor (int from, int to, int max) | |
IteratedFor (const IteratedFor &) | |
~IteratedFor () | |
IteratedFor & | operator= (const IteratedFor &) |
int | from () const |
int | to () const |
int | n () const |
int | max () const |
void | nextiteration () |
void | operator++ () |
void | operator++ (int) |
bool | iterations_left () const |
int | operator[] (int) const |
Private Member Functions | |
void | fill (int from, int n) |
Private Attributes | |
int | MAX |
int | FROM |
int | TO |
int | N |
bool | last |
int * | index |
int * | imax |
Definition at line 18 of file fac_iterfor.h.
IteratedFor::IteratedFor | ( | int | from, |
int | to, | ||
int | max | ||
) |
IteratedFor::IteratedFor | ( | const IteratedFor & | ) |
IteratedFor::~IteratedFor | ( | ) |
|
private |
|
inline |
Definition at line 34 of file fac_iterfor.h.
|
inline |
Definition at line 41 of file fac_iterfor.h.
|
inline |
Definition at line 37 of file fac_iterfor.h.
|
inline |
Definition at line 36 of file fac_iterfor.h.
void IteratedFor::nextiteration | ( | ) |
|
inline |
Definition at line 39 of file fac_iterfor.h.
|
inline |
Definition at line 40 of file fac_iterfor.h.
IteratedFor & IteratedFor::operator= | ( | const IteratedFor & | ) |
int IteratedFor::operator[] | ( | int | ) | const |
|
inline |
Definition at line 35 of file fac_iterfor.h.
|
private |
Definition at line 22 of file fac_iterfor.h.
|
private |
Definition at line 27 of file fac_iterfor.h.
|
private |
Definition at line 26 of file fac_iterfor.h.
|
private |
Definition at line 25 of file fac_iterfor.h.
|
private |
Definition at line 21 of file fac_iterfor.h.
|
private |
Definition at line 24 of file fac_iterfor.h.
|
private |
Definition at line 23 of file fac_iterfor.h.