33 virtual int read(
char *buf,uint size) = 0;
35 virtual int write(
const char *buf,uint size) = 0;
64 int open(
const char *name);
67 portable_off_t alloc();
73 int write(
const char *buf,uint size);
82 void release(portable_off_t handle);
88 void seek(portable_off_t handle);
93 int read(
char *buf,uint size);
97 portable_off_t pos()
const {
return m_cur; }
99 void dumpBlock(portable_off_t start,portable_off_t end);
113 void printFreeList();
115 portable_off_t m_front;
116 portable_off_t m_cur;
virtual int write(const char *buf, uint size)=0
virtual int read(char *buf, uint size)=0
Abstract interface for file based memory storage operations.
Definition: store.h:27
The Store is a file based memory manager.
Definition: store.h:52
virtual ~StorageIntf()
Definition: store.h:31
Portable versions of functions that are platform dependent.