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

TStreamOwnership

Determines the ownership of a TStreamAdapter

Declaration

Source position: classesh.inc line 946

type TStreamOwnership = (

  soReference,

  

Stream is referenced only, it is not freed by the adapter

  soOwned

  

Stream is owned: it will be freed when the adapter is freed.

);

Description

The ownership of a streamadapter determines what happens with the stream on which a TStreamAdapter acts, when the adapter is freed.

See also

TStreamAdapter

  

Implements IStream for TStream descendents

IStream

The latest version of this document can be found at lazarus-ccr.sourceforge.net.