Unit 'Objects' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStringCollection

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

Collection of pascal strings.

Declaration

Source position: objects.pp line 495

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.

|

TObject

  

Base class of all classes.

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: Jul 24 2023