Sign in Join
FPDoc Onlineexperiment

TReleaseHandleStream class

In unit AdvancedIPC

Handle stream that releases file handle on destruction

Declaration

pascal
TReleaseHandleStream = class(THandleStream)

Inheritance

  1. TReleaseHandleStream
  2. THandleStream
  3. TStream
  4. TObject

Description

The TReleaseHandleStream class extends THandleStream to automatically close the file handle when the stream is destroyed.

Methods

DestroypublicDestructor that closes the file handle

Inherited

From THandleStream (6)

Create Handle Read Seek SetSize Write

From TObject (40)

AfterConstruction BeforeDestruction 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 newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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