[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Stream which uses a second stream as a source
Source position: classesh.inc line 993
type TOwnerStream = class(TStream) |
||
public |
||
constructor Create(); |
|
Create a new instance of TOwnerStream. |
destructor Destroy; override; |
|
Destroys the TOwnerStream instance and the source stream. |
|
Reference to the source stream. |
|
property SourceOwner: Boolean; [rw] |
|
Indicates whether the ownerstream owns it's source |
end; |
|
Stream which uses a second stream as a source |
|
| | ||
|
Base class for streams. |
|
| | ||
TObject |
TOwnerStream can be used when creating stream chains such as when using encryption and compression streams. It keeps a reference to the source stream and will automatically free the source stream when ready (if the SourceOwner property is set to True).
|
Base class for streams. |
|
|
Reference to the source stream. |
|
|
Indicates whether the ownerstream owns it's source |