TProxyStream
[Properties (by Name)][Methods (by Name)][Events (by Name)]
Proxy stream for the IStream interface
Declaration
Source position: classesh.inc line 1132
Type
TProxyStream = class (TStream)
private
FStream : IStream;
protected
function GetIStream : IStream;
public
constructor Create(const Stream: IStream);
function Read(var Buffer; Count: LongInt) : LongInt; Override;
function Write(const Buffer; Count: LongInt) : LongInt; Override;
function Seek(const Offset: Int64; Origin: TSeekOrigin) : Int64
; Override;
procedure Check(err: Integer); Virtual;
end
;
Description
TProxyStream is a proxy class for the #rtl.types.IStream interface. It implements all stream methods by relaying them to the IStream interface.
Members
| Member | Type | Visibility | Description |
|---|---|---|---|
| Check | Method | public | Check errors |
| Create | Method | public | Create a new instance of the TProxyStream class. |
| FStream | Field | private | |
| GetIStream | Method | protected | |
| Read | Method | public | |
| Seek | Method | public | |
| Write | Method | public |
Inheritance
| Class | Description |
|---|---|
| TProxyStream | Proxy stream for the IStream interface |
See also
| Name | Description |
|---|---|
| IStream | |
| #rtl.types.IStream | COM stream abstraction |
| TStreamAdapter | Implements IStream for TStream descendants |