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

TStringCollection

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

Collection of pascal strings.

Declaration

Source position: objects.pp line 452

type TStringCollection = object(TSortedCollection)

  function GetItem(); virtual;

  

Get string from the stream.

  function Compare(); virtual;

  

Compare two strings in the collection.

  procedure FreeItem(); virtual;

  

Dispose a string in the collection from memory.

  procedure PutItem(); virtual;

  

Write a string to the stream.

end;

Inheritance

TStringCollection

  

Collection of pascal strings.

TSortedCollection

  

Abstract sorted collection.

TCollection

  

Manage a collection of pointers of objects

TObject

  

Basis of all objects

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.


Documentation generated on: Sep 28 2017