|
ISLEman
|
Store implementation based on a file. More...
#include <filestorage.h>
Public Member Functions | |
| FileStorage (const QString &name) | |
| int | read (char *buf, uint size) |
| int | write (const char *buf, uint size) |
| bool | open (int m) |
| bool | seek (int64 pos) |
| int64 | pos () const |
| void | close () |
| void | setName (const char *name) |
Public Member Functions inherited from StorageIntf | |
| virtual | ~StorageIntf () |
Store implementation based on a file.
Writing is linear, after that the file is re-opened for reading. Reading is random (seek+read).
|
inlinevirtual |
Read size bytes from the store into buf.
Implements StorageIntf.
|
inlinevirtual |
Write size bytes from buf into the store.
Implements StorageIntf.
1.8.12