OnDisk Class Reference

#include <ondisk.h>

List of all members.

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 & Destructor Documentation

OnDisk::OnDisk char *  fileName  ) 
 

Constructor.


Member Function Documentation

void OnDisk::Finalize  ) 
 

Finish OnDisk creation.

int OnDisk::GetPos  )  [inline]
 

void * OnDisk::MapFile char *  fileName  )  [static]
 

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

int OnDisk::SetPos int  pos  )  [inline]
 

void OnDisk::Write void *  p,
int  byteCount
 

Write to disk.


The documentation for this class was generated from the following files:
Generated on Sun Oct 8 09:32:10 2006 for gabbie by  doxygen 1.4.6