Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWTPtrMultiMap<K,T,C>
Synopsis
Standard C++ Library Dependent!
Description
Persistence
Examples
Related Classes
Public Typedefs
Public Constructors
Public Member Operators
Public Member Functions
Related Global Operators
Synopsis
#include <rw/tpmmap.h>
RWTPtrMultiMap<K,T,C> m;
Standard C++ Library Dependent!
RWTPtrMultiMap requires the Standard C++ Library.
Description
This class maintains a pointer-based collection of associations of type pair<K*, const T*>. The first
part of the association is a key of type K*, the second is its associated item of type T*. Order is
determined by the key according to a comparison object of type C. C must induce a total ordering
on elements of type K via a public member
bool operator()(const K& x, const K& y)
which returns true if x and its partner should precede y and its partner within the collection. The