Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
Return to the Appendix home page.
©Copyright 1996 Rogue Wave Software
RWTPtrSortedVector<T>
Alternate template: Standard C++ Library not required
Synopsis
Please Note!
Description
Persistence
Example
Public Constructor
Public Operators
Public Member Functions
Related Global Operators
Synopsis
#include <rw/tpsrtvec.h>
RWTPtrSortedVector<T> sortvec;
Please Note!
If you do not have the Standard C++ Library, use the interface described here. Otherwise, use the
interface to RWTPtrSortedVector described in the Class Reference.
Description
RWTPtrSortedVector<T> is a pointer-based sorted collection. That is, the items in the collection have a
meaningful ordered relationship with respect to each other and can be accessed by an index number. In
the case of RWTPtrSortedVector<T>, objects are inserted such that objects "less than" themselves are
before the object, objects "greater than" themselves after the object. An insertion sort is used.
Duplicates are allowed.