Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

MappedBuffer::VersionWin32 Class Reference

List of all members.

Public Member Functions

 this (FileConduit host)
void close ()
void flush ()

Private Attributes

void * base
HANDLE mmFile

Member Function Documentation

this FileConduit  host  )  [inline]
 

Construct a MappedBuffer upon the given FileConduit. One should set the file size using seek() & truncate() to setup the available working space.

Definition at line 93 of file MappedBuffer.d.

References MappedBuffer::host, FileConduit::length(), and Buffer::setValidContent().

void close  )  [inline]
 

Close this mapped buffer

Definition at line 129 of file MappedBuffer.d.

void flush  )  [inline]
 

Flush dirty content out to the drive. This fails with error 33 if the file content is virgin. Opening a file for ReadWriteExists followed by a flush() will cause this.

Definition at line 150 of file MappedBuffer.d.

References MappedBuffer::host.


Member Data Documentation

void* base [private]
 

Definition at line 82 of file MappedBuffer.d.

HANDLE mmFile [private]
 

Definition at line 83 of file MappedBuffer.d.


The documentation for this class was generated from the following file:
Generated on Sat Dec 24 17:28:40 2005 for Mango by  doxygen 1.4.0