Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWTPtrVector<T>
Synopsis
Descripton
Persistence
Example
Public Constructors
Public operators
Public Member Functions
Synopsis
#include <rw/tpvector.h>
RWTPtrVector<T> vec;
Descripton
Class RWTPtrVector<T> is a simple parameterized vector of pointers to objects of type T. It is
most useful when you know precisely how many pointers must be held in the collection. If the
intention is to "insert" an unknown number of objects into a collection, then class
RWTPtrOrderedVector<T> may be a better choice.
The class T can be of any type.
Persistence
Isomorphic
Example
#include <rw/tpvector.h>
#include <rw/rwdate.h>
#include <rw/rstream.h>