Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWTPtrMultiMapIterator<K,T,C>
Synopsis
Standard C++ Library Dependent!
Description
Persistence
Examples
Public Constructors
Public Member Operators
Public Member Functions
Synopsis
#include<rw/tpmmap.h>
RWTPtrMultiMap<K,T,C> map;
RWTPtrMultiMapIterator<K,T,C> itr(map);
Standard C++ Library Dependent!
RWTPtrMultiMapIterator requires the Standard C++ Library.
Description
RWTPtrMultiMapIterator is supplied with Tools 7 to provide an iterator interface to the new
Standard Library based collections with backward compatibility to the Tools 6 container iterators.
The order of iteration over an RWTPtrMultiMap is dependent on the comparator object of the
container as applied to the key values of the stored associations.
The current item referenced by this iterator is undefined after construction or after a call to reset().
The iterator becomes valid after being advanced with either a preincrement or operator().
For both operator++ and operator(), iterating past the last element will return a value equivalent to
boolean false. Continued increments will return a value equivalent to false until reset() is called.