MemoryMap Class Reference

Encapsulates a memory-mapped file. More...

#include <MemoryMap.hpp>

List of all members.

Public Member Functions

 MemoryMap ()
 Constructor.

 ~MemoryMap ()
 Destructor.

void load (const char *filename, bool bWritable)
 Load a file by name, and set our data pointer.

void close ()
 Close the memory-mapped file.

void * getData ()
 Get access to the data.


Public Attributes

unsigned int fileSizeLow
 The low-order word size of the memory-mapped file.

unsigned int fileSizeHigh
 The high-order word size of the memory-mapped file.


Detailed Description

Encapsulates a memory-mapped file.

Definition at line 20 of file MemoryMap.hpp.


Member Function Documentation

void MemoryMap::load const char *  filename,
bool  bWritable
 

Load a file by name, and set our data pointer.

Exceptions:
string 

Definition at line 71 of file MemoryMapLinux.cpp.


Member Data Documentation

unsigned int MemoryMap::fileSizeHigh
 

The high-order word size of the memory-mapped file.

Used only with very big files.

Definition at line 44 of file MemoryMap.hpp.


The documentation for this class was generated from the following files:
Generated on Mon May 26 11:19:55 2003 for CamChecker by doxygen1.3