help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] 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 460

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.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505