#include <objects.h>
Inheritance diagram for TSortedCollection::

Public Methods | |
| TSortedCollection (ccIndex aLimit, ccIndex aDelta) | |
Static Public Attributes | |
| const char* const | name |
Protected Methods | |
| TSortedCollection (StreamableInit) | |
| virtual void* | read (ipstream &is) |
| virtual void | write (opstream &os) |
No instances of TSortedCollection are allowed. It exists solely as a base for other standard or user-defined derived classes.
Definition at line 449 of file objects.h.
|
|
Invokes the TCollection constructor to set count and items data members to 0; calls setLimit(aLimit) to set the collection limit to `aLimit', then sets delta to `aDelta'. Note that ccIndex is a typedef of int. duplicates is set to False. If you want to allow duplicate keys, you must set duplicates True. |
|
|
Each streamable class needs a "builder" to allocate the correct memory for its objects together with the initialized vtable pointers. This is achieved by calling this constructor with an argument of type StreamableInit. |
|
|
Reads a sorted collection from the input stream `is'. Reimplemented from TCollection. |
|
|
Writes the associated TSortedCollection object to the output stream `os'. Reimplemented from TCollection. |
|
|
Undocumented. Reimplemented from TCollection. Reimplemented in TStringCollection, TResourceCollection, and TFileCollection. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001