#include <stddlg.h>
Inheritance diagram for TFileCollection::

Public Methods | |
| TFileCollection (ccIndex aLimit, ccIndex aDelta) | |
| TSearchRec* | at (ccIndex index) |
| virtual ccIndex | indexOf (TSearchRec *item) |
| void | remove (TSearchRec *item) |
| void | free (TSearchRec *item) |
| void | atInsert (ccIndex index, TSearchRec *item) |
| void | atPut (ccIndex index, TSearchRec *item) |
| virtual ccIndex | insert (TSearchRec *item) |
| TSearchRec* | firstThat (ccTestFunc Test, void *arg) |
| TSearchRec* | lastThat (ccTestFunc Test, void *arg) |
Static Public Methods | |
| TStreamable* | build () |
Static Public Attributes | |
| const char* const | name |
Protected Methods | |
| TFileCollection (StreamableInit) | |
Definition at line 196 of file stddlg.h.
|
|
Calls the base TSortedCollection constructor to create a collection with the given limit `aLimit' and delta `aDelta'. |
|
|
Undocumented. |
|
|
Returns a pointer to the TSearchRec object indexed by `index' in this file collection. Reimplemented from TNSCollection. |
|
|
Inserts the TSearchRec file referenced by `item' into the collection at the given `index' and moves the following items down one position. The collection will be expanded by delta if the insertion causes the limit to be exceeded. |
|
|
Replaces the TSearchRec file found at `index' with the given `item'. |
|
|
Called to create an object in certain stream-reading situations. |
|
|
This iterator returns a pointer to the first TSearchRec object in the collection for which the `Test' function returns True. Reimplemented from TNSCollection. |
|
|
Removes (deletes) the given TSearchRec file `item' from the collection and frees the space in the collection. |
|
|
Returns the index of the given TSearchRec file `item' in this file collection. |
|
|
Inserts the TSearchRec `item' into the collection, and adjusts the other indexes if necessary. By default, insertions are made at the end of the collection. The index of the inserted `item' is returned. |
|
|
This iterator scans the collection from last item to first. It returns a pointer to the first item (that is, the nearest the end) in the collection for which the `Test' function returns True. Reimplemented from TNSCollection. |
|
|
Removes (deletes) the given TSearchRec file `item' from this file collection. The space in the collection is not freed. |
|
|
Undocumented. Reimplemented from TSortedCollection. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001