#include <ondisk.h>
Public Member Functions | |
OnDisk (char *fileName) | |
Constructor. | |
void | Write (void *p, int byteCount) |
Write to disk. | |
void | Finalize () |
Finish OnDisk creation. | |
int | GetPos () |
int | SetPos (int pos) |
Static Public Member Functions | |
static void * | MapFile (char *fileName) |
Open and map fileName, and return a pointer to the start. |
|
Constructor.
|
|
Finish OnDisk creation.
|
|
|
|
Open and map fileName, and return a pointer to the start. Open and map fileName, and return a pointer to the start of the file. Standard header for a mappable Gabbie file short mMagic; == 0xFABE short mFileType; == 1 for TV listing int mVersion; == 1 for current data version int mTotalSize: Needed for mapping |
|
|
|
Write to disk.
|