#include <FilePlugin.h>
Inheritance diagram for FilePlugin:
Public Methods | |
virtual CoreError | create (NumID &fileid)=0 |
virtual CoreError | open (NumID fileid, NumID &of)=0 |
virtual CoreError | remove (NumID fileid)=0 |
virtual int64_t | getLength (NumID fileid)=0 |
virtual CoreError | write (NumID fileid, char *data, int length)=0 |
virtual CoreError | read (NumID fileid, char *data, int length, int &bRead)=0 |
virtual CoreError | close (NumID fileid)=0 |
Implementations of this class must be thread-safe.
|
Close newly created or open file.
Implemented in LocalFilePlugin, and ODBCFilePlugin. |
|
Create and store a new file on the fileserver.
Implemented in LocalFilePlugin, and ODBCFilePlugin. |
|
Get the length of an open file.
Implemented in LocalFilePlugin, and ODBCFilePlugin. |
|
Open and read a file from the fileserver.
Implemented in LocalFilePlugin, and ODBCFilePlugin. |
|
Read binary data from file.
Implemented in LocalFilePlugin, and ODBCFilePlugin. |
|
Remove a file from the fileserver.
Implemented in LocalFilePlugin, and ODBCFilePlugin. |
|
Write binary data to new file.
Implemented in LocalFilePlugin, and ODBCFilePlugin. |