csMemoryMappedIO Class ReferenceDefines a simple memory-mapped IO class that is portable. More...
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. |
|Returns true the memory was mapped successfully. |
|Destroys the mmapio object, closes open files, and releases memory. |
Detailed DescriptionDefines a simple memory-mapped IO class that is portable.
Constructor & Destructor Documentation
|csMemoryMappedIO::csMemoryMappedIO||(||char const *||filename,|
|iVFS *|| vfs = |
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,
filename is tried to be resolved to a native path. Otherwise,
filename is used as is, hence it must already be a native path.
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:
Generated for Crystal Space 1.0.2 by doxygen 1.4.7