[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 464

type TStrCollection = object(TSortedCollection) end;

  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.

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: Mar 17 2017