TStrCollection
[Properties (by Name)][Methods (by Name)][Events (by Name)]
Collection of null-terminated strings
Declaration
Source position: objects.pp line 495
Type
TStrCollection = object (TSortedCollection)
function Compare(Key1: Pointer; Key2: Pointer) : Sw_Integer; Virtual;
function GetItem(var S: TStream) : Pointer; Virtual;
procedure FreeItem(Item: Pointer); Virtual;
procedure PutItem(var S: TStream; Item: Pointer); Virtual;
end
;
Description
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.
Members
Member | Type | Visibility | Description |
---|---|---|---|
Compare | Method | default | Compare two strings in the collection. |
FreeItem | Method | default | Free null-terminated string from the collection. |
GetItem | Method | default | Read a null-terminated string from the stream. |
PutItem | Method | default | Write a null-terminated string to the stream. |
Inheritance
Class | Description |
---|---|
TStrCollection | Collection of null-terminated strings |