#include <stddlg.h>
Inheritance diagram for TDirCollection::
Public Methods | |
TDirCollection (ccIndex aLimit, ccIndex aDelta) | |
TDirEntry* | at (ccIndex index) |
virtual ccIndex | indexOf (TDirEntry *item) |
void | remove (TDirEntry *item) |
void | free (TDirEntry *item) |
void | atInsert (ccIndex index, TDirEntry *item) |
void | atPut (ccIndex index, TDirEntry *item) |
virtual ccIndex | insert (TDirEntry *item) |
TDirEntry* | firstThat (ccTestFunc Test, void *arg) |
TDirEntry* | lastThat (ccTestFunc Test, void *arg) |
Static Public Methods | |
TStreamable* | build () |
Static Public Attributes | |
const char* const | name |
Protected Methods | |
TDirCollection (StreamableInit) |
TDirCollection is a streamable class, inheriting TStreamable from its base class TCollection.
Definition at line 995 of file stddlg.h.
|
Calls the base TCollection constructor to create a directory collection with the given limit `aLimit' and delta `aDelta'. |
|
Undocumented. |
|
Returns a pointer to the TDirEntry object indexed by `index' in this directory collection.
Reimplemented from TNSCollection. |
|
Inserts the given `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 item at `index' with the given `item'.
|
|
Called to create an object in certain stream-reading situations. |
|
This iterator returns a pointer to the first TDirEntry object in the collection for which the `Test' function returns True. Reimplemented from TNSCollection. |
|
Removes (deletes) the given `item' from the collection and frees the space in the collection.
|
|
Returns the index of the given `item' in this directory collection.
|
|
Inserts the `item' into the collection, and adjust 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 the last TDirEntry object to first. It returns a pointer to the first (that is, the nearest to the end) item in the collection for which the `Test' function returns True. Reimplemented from TNSCollection. |
|
Removes (deletes) the given `item' from this collection. The space in the collection is not freed.
|
|
Undocumented. Reimplemented from TCollection. |