TF++, Miscellaneous classes and modules in C++:
|
#include <rangelist.h>
Public Types | |
typedef RangeList< T > | Trangelist |
typedef Trangelist::Tvalue | Tvalue |
typedef Trangelist::Tlist | Tlist |
typedef RangeStepper< Tvalue > | Trangestepper |
Public Member Functions | |
RangeListStepper (const Trangelist &rangelist, const Tvalue &stepsize=1) | |
Tvalue | current () const |
return current value in range list More... | |
operator Tvalue () const | |
return current value in range list More... | |
bool | valid () const |
true if stepper is still in range and can return a current value More... | |
bool | more () const |
true if stepper is still in range after next step forward More... | |
Tvalue | next () |
step forward and return current value More... | |
Tvalue | operator++ () |
step forward and return current value More... | |
Private Attributes | |
Tlist | Mlist |
Tvalue | Mstepsize |
Tlist::const_iterator | Miterator |
Trangestepper | Mrangestepper |
Definition at line 75 of file rangelist.h.