TF++, Miscellaneous classes and modules in C++:
tfxx::RangeListStepper< T > Class Template Reference

#include <rangelist.h>

Collaboration diagram for tfxx::RangeListStepper< T >:

Public Types

typedef RangeList< T > Trangelist
 
typedef Trangelist::Tvalue Tvalue
 
typedef Trangelist::Tlist Tlist
 
typedef RangeStepper< TvalueTrangestepper
 

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
 

Detailed Description

template<class T>
class tfxx::RangeListStepper< T >

Definition at line 75 of file rangelist.h.


The documentation for this class was generated from the following file: