Class tmsefilestream
Unit
Declaration
type tmsefilestream = class(thandlestream)
Description
This item has no description.
Hierarchy
- TObject
- TStream
- THandleStream
- tmsefilestream
Overview
Fields
| Protected | fmemorystream: tmemorystream; |
Methods
| Protected | procedure setcapacity(const avalue: ptrint); virtual; |
| Protected | procedure sethandle(value: integer); virtual; |
| Protected | procedure closehandle(const ahandle: integer); virtual; |
| Protected | constructor internalcreate(const afilename: filenamety; const aopenmode: fileopenmodety; const accessmode: fileaccessmodesty; const rights: filerightsty; out error: syserrorty); overload; |
| Protected | function getsize: int64; override; |
| Protected | function inheritedgetsize: int64; |
| Protected | function inheritedread(var buffer; count: longint): longint; |
| Protected | function inheritedwrite(const buffer; count: longint): longint; |
| Protected | function inheritedseek(const offset: int64; origin: tseekorigin): int64; |
| Protected | function getmemory: pointer; override; |
| Public | constructor create(const afilename: filenamety; const aopenmode: fileopenmodety = fm_read; const accessmode: fileaccessmodesty = []; const rights: filerightsty = defaultfilerights); overload; |
| Public | constructor createtransaction(const afilename: filenamety; rights: filerightsty = defaultfilerights); overload; |
| Public | constructor createtempfile(const prefix: filenamety; out afilename: filenamety); |
| Public | constructor create(ahandle: integer); overload; virtual; |
| Public | constructor create; overload; |
| Public | constructor create(const aopenmode: fileopenmodety); overload; |
| Public | constructor createstringcopy(const adata: string); |
| Public | destructor destroy; override; |
| Public | class function trycreate(out ainstance: tmsefilestream; const afilename: filenamety; const aopenmode: fileopenmodety = fm_read; const accessmode: fileaccessmodesty = []; const rights: filerightsty = defaultfilerights): syserrorty; |
| Public | function releasehandle(): filehandlety override; |
| Public | function read(var buffer; count: longint): longint; override; |
| Public | function write(const buffer; count: longint): longint; override; |
| Public | function seek(const offset: int64; origin: tseekorigin): int64; override; |
| Public | function readdatastring: string; override; |
| Public | procedure writedatastring(const value: rawbytestring); override; |
| Public | function isopen: boolean; |
| Public | function close: boolean; |
| Public | procedure cancel; |
| Public | procedure flushbuffer; virtual; |
| Public | procedure flush; virtual; |
| Public | procedure setsize(const newsize: int64); override; |
| Public | procedure clear; virtual; |
Properties
| Public | property filename: filenamety read ffilename; |
| Public | property openmode: fileopenmodety read fopenmode; |
| Public | property transactionname: filenamety read ftransactionname; |
| Public | property ismemorystream: boolean read fismemorystream; |
| Public | property capacity: ptrint read getcapacity write setcapacity; |
| Public | property filerights: filerightsty read getfilerights write setfilerights; |
| Public | property cryptohandler: tcustomcryptohandler read fcryptohandler
write setcryptohandler; |
Description
Fields
| Protected | fmemorystream: tmemorystream; |
|
This item has no description. | |
Methods
| Protected | procedure setcapacity(const avalue: ptrint); virtual; |
|
This item has no description. | |
| Protected | procedure sethandle(value: integer); virtual; |
|
This item has no description. | |
| Protected | procedure closehandle(const ahandle: integer); virtual; |
|
This item has no description. | |
| Protected | constructor internalcreate(const afilename: filenamety; const aopenmode: fileopenmodety; const accessmode: fileaccessmodesty; const rights: filerightsty; out error: syserrorty); overload; |
|
This item has no description. | |
| Protected | function getsize: int64; override; |
|
This item has no description. | |
| Protected | function inheritedgetsize: int64; |
|
This item has no description. | |
| Protected | function inheritedread(var buffer; count: longint): longint; |
|
This item has no description. | |
| Protected | function inheritedwrite(const buffer; count: longint): longint; |
|
This item has no description. | |
| Protected | function inheritedseek(const offset: int64; origin: tseekorigin): int64; |
|
This item has no description. | |
| Protected | function getmemory: pointer; override; |
|
This item has no description. | |
| Public | constructor create(const afilename: filenamety; const aopenmode: fileopenmodety = fm_read; const accessmode: fileaccessmodesty = []; const rights: filerightsty = defaultfilerights); overload; |
|
This item has no description. | |
| Public | constructor createtransaction(const afilename: filenamety; rights: filerightsty = defaultfilerights); overload; |
|
This item has no description. | |
| Public | constructor createtempfile(const prefix: filenamety; out afilename: filenamety); |
|
This item has no description. | |
| Public | constructor create(ahandle: integer); overload; virtual; |
|
This item has no description. | |
| Public | constructor create; overload; |
|
This item has no description. | |
| Public | constructor create(const aopenmode: fileopenmodety); overload; |
|
This item has no description. | |
| Public | constructor createstringcopy(const adata: string); |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | class function trycreate(out ainstance: tmsefilestream; const afilename: filenamety; const aopenmode: fileopenmodety = fm_read; const accessmode: fileaccessmodesty = []; const rights: filerightsty = defaultfilerights): syserrorty; |
|
This item has no description. | |
| Public | function releasehandle(): filehandlety override; |
|
This item has no description. | |
| Public | function read(var buffer; count: longint): longint; override; |
|
This item has no description. | |
| Public | function write(const buffer; count: longint): longint; override; |
|
This item has no description. | |
| Public | function seek(const offset: int64; origin: tseekorigin): int64; override; |
|
This item has no description. | |
| Public | function readdatastring: string; override; |
|
This item has no description. | |
| Public | procedure writedatastring(const value: rawbytestring); override; |
|
This item has no description. | |
| Public | function isopen: boolean; |
|
This item has no description. | |
| Public | function close: boolean; |
|
This item has no description. | |
| Public | procedure cancel; |
|
This item has no description. | |
| Public | procedure flushbuffer; virtual; |
|
This item has no description. | |
| Public | procedure flush; virtual; |
|
This item has no description. | |
| Public | procedure setsize(const newsize: int64); override; |
|
This item has no description. | |
| Public | procedure clear; virtual; |
|
This item has no description. | |
Properties
| Public | property filename: filenamety read ffilename; |
|
This item has no description. | |
| Public | property openmode: fileopenmodety read fopenmode; |
|
This item has no description. | |
| Public | property transactionname: filenamety read ftransactionname; |
|
This item has no description. | |
| Public | property ismemorystream: boolean read fismemorystream; |
|
This item has no description. | |
| Public | property capacity: ptrint read getcapacity write setcapacity; |
|
This item has no description. | |
| Public | property filerights: filerightsty read getfilerights write setfilerights; |
|
This item has no description. | |
| Public | property cryptohandler: tcustomcryptohandler read fcryptohandler
write setcryptohandler; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.