Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
csMemoryMappedIO Class Reference
Defines a simple memory-mapped IO class that is portable. More...
#include <csutil/mmapio.h>
Inheritance diagram for csMemoryMappedIO:

Public Member Functions | |
csMemoryMappedIO (char const *filename, iVFS *vfs=0) | |
Block size is the size of blocks that you want to get from the file, filename is the name of the file to map. | |
csRef< csMemoryMapping > | GetData (size_t offset, size_t length) |
Obtain a piece of the mapped file. | |
bool | IsValid () |
Returns true the memory was mapped successfully. | |
virtual | ~csMemoryMappedIO () |
Destroys the mmapio object, closes open files, and releases memory. | |
Friends | |
class | PlatformMapping |
Detailed Description
Defines a simple memory-mapped IO class that is portable.
Definition at line 64 of file mmapio.h.
Constructor & Destructor Documentation
|
Block size is the size of blocks that you want to get from the file, filename is the name of the file to map.
If you supply a VFS, |
|
Destroys the mmapio object, closes open files, and releases memory.
|
Member Function Documentation
|
Obtain a piece of the mapped file.
|
|
Returns true the memory was mapped successfully.
|
The documentation for this class was generated from the following file:
- csutil/mmapio.h
Generated for Crystal Space by doxygen 1.4.4