Rogue Wave banner
Previous fileTop of documentContentsIndexNext file

RWTIsvSlistIterator<T>

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include <rw/tislist.h>
RWTIsvSlist<T> list;
RWTIsvSlistIterator<T> iterator(list);

Description

Iterator for class RWTIsvSlist<T>, allowing sequential access to all the elements of a singly-linked parameterized intrusive list. Elements are accessed in order, from first to last.

The "current item" is undefined immediately after construction -- you must define it by using operator() or some other (valid) operation.

Once the iterator has advanced beyond the end of the collection it is no longer valid -- continuing to use it will bring undefined results.

Persistence

None

Public Constructor

RWTIsvSlistIterator(RWTIsvSlist<T>& c);

Public Operators

T*
operator++();
T*
operator+=(size_t n) ;
T*
operator()();

Public Member Functions

RWTIsvSlist<T>*
container() const;
T*
findNext(RWBoolean (*testFun)(const T*, void*),void*);
void
insertAfterPoint(T* a) ;
T*
key() const; 
T*
remove();
T*
removeNext(RWBoolean (*testFun)(const T*, void*),void*);
void
reset();
void
reset(RWTIsvSlist<TL>& c);


Previous fileTop of documentContentsIndexNext file
©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.