User Documentation |
RAVL, Recognition And Vision Library |
DEVELOP | HOME PAGE | CLASS LIST | CONTENTS |
Ravl - Core - Lists - ConstDLIterC<class DataT> |
ConstDLIterC<class DataT> | |
Constant iterator. | |
include | "Ravl/CDLIter.hh" |
Created: | 24/01/2001 |
User Level: | Normal |
Library: | RavlCore |
In Scope: | RavlN |
#include "Ravl/DLIter.hh" |
Because the moves the prevous element it makes it easy to delete elements from a list in a for() loop. e.g. the following will work correctly.
for(DLIterCit(x);it;it++) if(*it == 2) it.Del();
Returns a reference to this iterator.
Returns a reference to this iterator.
NB. It is the user's responsibility to ensure 'end' is an
element following this element in the same list.
Maintainer:Charles Galambos, Created: 24/01/2001, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002 |