| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Collection of null-terminated strings
Source position: objects.pp line 464
| type TStrCollection = object(TSortedCollection) | ||
| function Compare(); virtual; | 
 | Compare two strings in the collection. | 
| function GetItem(); virtual; | 
 | Read a null-terminated string from the stream. | 
| procedure FreeItem(); virtual; | 
 | Free null-terminated string from the collection. | 
| procedure PutItem(); virtual; | 
 | Write a null-terminated string to the stream. | 
| end; | 
| 
 | Collection of null-terminated strings | |
| 
 | Abstract sorted collection. | |
| 
 | Manage a collection of pointers of objects | |
| 
 | Basis of all objects | 
The TStrCollection object manages a sorted collection of null-terminated strings (pchar strings). To this end, it overrides the Compare method of TSortedCollection, and it introduces methods to read/write strings from a stream.