Unit 'streamcoll' Package
[Overview][Classes][Procedures and functions][Index] [#fcl]

Reference for unit 'streamcoll'

Collection which can stream itself.

uses

  System,

  Classes,

  sysutils;

Overview

The streamcoll unit contains the implementation of a collection (and corresponding collection item) which implements routines for saving or loading the collection to/from a stream. The collection item should implement 2 routines to implement the streaming; the streaming itself is not performed by the TStreamCollection collection item.

The streaming performed here is not compatible with the streaming implemented in the Classes unit for components. It is independent of the latter and can be used without a component to hold the collection.

The collection item introduces mostly protected methods, and the unit contains a lot of auxiliary routines which aid in streaming.


Documentation generated on: Jul 24 2023