Scopira
20080306
|
#include <iterator.h>
Public Types | |
typedef T | data_type |
typedef null_iterator_imp_g< T > | null_type |
Public Member Functions | |
iterator_g (void) | |
default ctor - can be used as a 0-element iterator or end-iterator comparator | |
iterator_g (iterator_imp_g< T > *imp) | |
initing ctor | |
iterator_g (const iterator_g &src) | |
copy ctor | |
~iterator_g () | |
dtor | |
T | operator* (void) |
get current | |
bool | valid (void) const |
better than comparing to a specific EOF iterator | |
bool | operator== (const iterator_g &rhs) const |
for comparing to EOF only | |
bool | operator== (int x) const |
for comparing to EOF only | |
bool | operator!= (const iterator_g &rhs) const |
for comparing to EOF only | |
bool | operator!= (int x) const |
for comparing to EOF only | |
iterator_g & | operator++ (void) |
iterator_g & | operator= (const iterator_g &rhs) |
a virtual iterator spec - this is really an autoptr around a simpler, more specialized iterator-core that is implemented by the developer per use
make a const one?