[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Objects' (#rtl)

TStrCollection

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Collection of null-terminated strings

Declaration

Source position: objects.pp line 469

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;

Inheritance

TStrCollection

  

Collection of null-terminated strings

TSortedCollection

  

Abstract sorted collection.

TCollection

  

Manage a collection of pointers of objects

TObject

  

Basis of all objects

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.


Documentation generated on: Jun 22 2020