This pointer will only be valid for a little while.More...
Detailed Description
Defines a simple memory-mapped IO class that is portable. Requires that data be organized in fixed block sizes.
Constructor & Destructor Documentation
csMemoryMappedIO::csMemoryMappedIO (
unsigned _block_size,
char * filename )
Block size is the size of blocks that you want to get from the file, filename is the name of the file to map.
Indexes will be resolved to absolute_index=index*block_size
Member Function Documentation
void * csMemoryMappedIO::GetPointer (
unsigned int index ) [inline]
This pointer will only be valid for a little while.
Read, at least until the next call to GetPointer. NEVER EVER EVER SAVE THIS POINTER. You must recall this pointer when you want access to the data again.
The documentation for this class was generated from the following file: