Skip to content

TStrCollection

Collection of null-terminated strings.

Declaration

Source position: objects.pp line 539

type

  TStrCollection = object(TSortedCollection)
    function Compare : Sw_Integer;
    function GetItem : Pointer;
    procedure FreeItem;
    procedure PutItem;
  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.

Methods

Member Visibility Description
Compare default Compare two strings in the collection.
FreeItem default Free null-terminated string from the collection.
GetItem default Read a null-terminated string from the stream.
PutItem default Write a null-terminated string to the stream.
See all Methods