Sign in Join
FPDoc Onlineexperiment

TStreamOwnership enumeration

In unit Classes

Determines the ownership of a TStreamAdapter.

Declaration

pascal
TStreamOwnership = (soReference,soOwned)

Description

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

See also

Values

soReferenceStream is referenced only, it is not freed by the adapter.
soOwnedStream is owned: it will be freed when the adapter is freed.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.