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

MappedFile::VersionWindows Class Reference

List of all members.

Public Member Functions

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

Private Attributes

FileConduit host
void * base
HANDLE mmFile

Constructor & Destructor Documentation

~this  )  [inline]
 

Ensure this is closed when GC'd

Definition at line 772 of file FileConduit.d.

References MappedBuffer::close().


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 738 of file FileConduit.d.

References ConduitStyle::access(), Conduit::getStyle(), FileConduit::length(), and Buffer::setValidContent().

void close  )  [inline]
 

Close this mapped buffer

Definition at line 783 of file FileConduit.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 804 of file FileConduit.d.


Member Data Documentation

FileConduit host [private]
 

Definition at line 726 of file FileConduit.d.

void* base [private]
 

Definition at line 727 of file FileConduit.d.

HANDLE mmFile [private]
 

Definition at line 728 of file FileConduit.d.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 00:31:12 2005 for Mango by doxygen 1.3.6