MemoryMap Class Reference

Encapsulates a memory-mapped file. More...

#include <MemoryMap.h>

List of all members.

Public Methods

 MemoryMap ()
 Constructor.

 ~MemoryMap ()
 Destructor.

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

void close ()
 Close the memory-mapped file.

void * getData ()
 Get access to the data.


Public Attributes

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

DWORD fileSizeHigh
 The high-order word size of the memory-mapped file. Used only with very big files.


Detailed Description

Encapsulates a memory-mapped file.

Definition at line 19 of file MemoryMap.h.


Member Function Documentation

void MemoryMap::load const char *    filename
 

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

Exceptions:
std::runtime_error 
std::exception 

Definition at line 54 of file MemoryMap.cpp.


The documentation for this class was generated from the following files:
Generated on Tue May 21 03:35:11 2002 for Archimedes by doxygen1.2.15