Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Tools Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWTIsvDlistIterator<T>

Module:  Essential Tools Module   Group:  Traditional Collection Classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/tidlist.h>
RWTIsvDlist<T> list;
RWTIsvDlistIterator<T> iterator(list);

Description

Iterator for class RWTIsvDlist<T>, allowing sequential access to all the elements of a doubly-linked parameterized intrusive list. Elements are accessed in order, in either direction.

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

RWTIsvDlistIterator<T>(RWTIsvDlist<T>& c);

Public Operators

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

Public Member Functions

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


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.