|
golib
0.5
|
Algorithm base class to run through a list. More...
#include <golist.h>
Public Member Functions | |
| virtual bool | action (typename goList< T >::Element *el) |
| Action to perform on each element. Called for each element by run(). Reimplement in subclass. | |
| virtual bool | action (typename goList< T >::ConstElement *el) const |
| Action to perform on each element. Called for each element by run(). Reimplement in subclass. | |
| bool | run (typename goList< T >::Element *first, typename goList< T >::Element *last) |
| Calls action() for each element from first to last. | |
| bool | run (typename goList< T >::ConstElement *first, typename goList< T >::ConstElement *last) const |
| Calls action() for each element from first to last. | |
Algorithm base class to run through a list.