Sign in Join
FPDoc Onlineexperiment

TStreamAdapter class

In unit Classes

Implements IStream for TStream descendants.

Declaration

pascal
TStreamAdapter = class(TInterfacedObject)

Inheritance

  1. TStreamAdapter
  2. TInterfacedObject
  3. TObject

Description

Nothing more than the line above yet.

Properties

StreampublicStream on which adaptor works.
StreamOwnershippublicDetermines what happens with the stream when the adaptor is freed.

Methods

CreatepublicCreate a new instance of TStreamAdapter.
DestroypublicFree the TStreamAdapter instance.
ReadpublicRead from the stream.
WritepublicWrite to the stream.
SeekpublicSet the stream position.
SetSizepublicSet the stream size.
CopyTopublicCopy data to destination stream.
CommitpublicCommit data to the stream.
RevertpublicRevert operations on the stream.
LockRegionpublicLock a region of the stream.
UnlockRegionpublicUnlock a region of the stream.
StatpublicReturn statistical data about the stream.
ClonepublicClone the stream.

Inherited

From TInterfacedObject (7)

_AddRef _Release AfterConstruction BeforeDestruction NewInstance QueryInterface RefCount

From TObject (37)

CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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