Skip to content

TStringCollection

Collection of pascal strings.

Declaration

Source position: objects.pp line 497

type

  TStringCollection = object(TSortedCollection)
    function GetItem : Pointer;
    function Compare : Sw_Integer;
    procedure FreeItem;
    procedure PutItem;
  end;

Description

The TStringCollection object manages a sorted collection of pascal strings. To this end, it overrides the Compare method of TSortedCollection, and it introduces methods to read/write strings from a stream.

Methods

Member Visibility Description
Compare default Compare two strings in the collection.
FreeItem default Dispose a string in the collection from memory.
GetItem default Get string from the stream.
PutItem default Write a string to the stream.
See all Methods