Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWDlistCollectables
RWDlistCollectables RWSequenceable RWCollection RWCollectable
Synopsis
Description
Persistence
Public Constructors
Public Member Operators
Public Member Functions
Synopsis
#include <rw/dlistcol.h>
RWDlistCollectables a;
Description
Class RWDlistCollectables represents a group of ordered items, not accessible by an external key. Duplicates are allowed.
The ordering of elements is determined externally, generally by the order of insertion and removal. An object stored by
RWDlistCollectables must inherit abstract base class RWCollectable.
Class RWDlistCollectables is implemented as a doubly-linked list, which allows for efficient insertion and removal, as well
as for movement in either direction.
Persistence
Polymorphic
Public Constructors
RWDlistCollectables();
Constructs an empty doubly-linked list.
RWDlistCollectables (RWCollectable* a);
Constructs a linked list with a single item a.
Public Member Operators
RWBoolean
operator==(const RWDlistCollectables& d) const;
Returns TRUE if self and d have the same number of items and if for every item in self, the corresponding item in
the same position in d isEqual to it.