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

FileConduit::VersionWin32 Class Reference

List of all members.

Protected Member Functions

override int reader (void[] dst)
override int writer (void[] src)
void truncate ()
long seek (long offset, SeekAnchor anchor)

Private Member Functions

void _reopen (FileDevice device)
void _open (FileStyle style)
void _close ()

Private Attributes

HANDLE handle
bool console
bool appending

Detailed Description

Windows-specific code

Definition at line 357 of file FileConduit.d.


Member Function Documentation

void _reopen FileDevice  device  )  [inline, private]
 

Gain access to the standard IO handles (console etc).

Definition at line 382 of file FileConduit.d.

References FileDevice::id.

void _open FileStyle  style  )  [inline, private]
 

Open a file with the provided style.

Definition at line 412 of file FileConduit.d.

References ConduitStyle::access(), FileStyle::cache(), FileStyle::Open, FileStyle::open(), FileStyle::share(), FilePath::toUtf16(), FilePath::toUtf8(), and version.

void _close  )  [inline, private]
 

Close the underlying file

Definition at line 483 of file FileConduit.d.

override int reader void[]  dst  )  [inline, protected]
 

Read a chunk of bytes from the file into the provided array (typically that belonging to an IBuffer)

Definition at line 496 of file FileConduit.d.

override int writer void[]  src  )  [inline, protected]
 

Write a chunk of bytes to the file from the provided array (typically that belonging to an IBuffer)

Definition at line 516 of file FileConduit.d.

References len.

void truncate  )  [inline, protected]
 

Set the file size to be that of the current seek position. The file must be writable for this to succeed.

Definition at line 557 of file FileConduit.d.

long seek long  offset,
SeekAnchor  anchor
[inline, protected]
 

Set the file seek position to the specified offset from the given anchor.

Definition at line 571 of file FileConduit.d.


Member Data Documentation

HANDLE handle [private]
 

Definition at line 359 of file FileConduit.d.

bool console [private]
 

Definition at line 360 of file FileConduit.d.

bool appending [private]
 

Definition at line 360 of file FileConduit.d.

char [] name = (path) ? path.toString : "console" [private]
 

Definition at line 371 of file FileConduit.d.


The documentation for this class was generated from the following file:
Generated on Sat Apr 9 20:11:37 2005 for Mango by doxygen 1.3.6