#include <file.h>
Inherited by dbOSFile.
Public Types | |
enum | ReturnStatus { ok = 0, eof = -1, not_supported = -2 } |
enum | OpenAttributes { read_only = 0x01, truncate = 0x02, sequential = 0x04, no_buffering = 0x08, no_sync = 0x10, shared = 0x20, write_through = 0x40, delete_on_close = 0x80 } |
enum | LockType { lck_shared, lck_exclusive } |
Public Member Functions | |
virtual int | open (char_t const *fileName, int attr)=0 |
virtual int | flush ()=0 |
virtual int | close ()=0 |
virtual int | lock (LockType lck)=0 |
virtual int | unlock ()=0 |
virtual int | setSize (offs_t offs)=0 |
int | copy (dbFile *dst, offs_t offs, offs_t size) |
virtual int | write (offs_t pos, void const *ptr, size_t size)=0 |
virtual int | read (offs_t pos, void *ptr, size_t size)=0 |
virtual char_t * | errorText (int code, char_t *buf, size_t bufSize)=0 |
GigaBASE file interface