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

FileConduit::VersionPosix Class Reference

List of all members.

Public Member Functions

void truncate ()
long seek (long offset, SeekAnchor anchor)

Protected Member Functions

override int reader (void[] dst)
override int writer (void[] src)

Private Member Functions

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

Private Attributes

int handle = -1

Detailed Description

Unix-specific code. Note that some methods are 32bit only

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

References FileDevice::id.

void _open FileStyle  style  )  [inline, private]
 

Open a file with the provided style.

Definition at line 594 of file FileConduit.d.

References ConduitStyle::access(), FileStyle::open(), FileStyle::share(), and FilePath::toUtf8().

void _close  )  [inline, private]
 

Close the underlying file

Definition at line 640 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 653 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 671 of file FileConduit.d.

void truncate  )  [inline]
 

32bit only ...

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

Definition at line 689 of file FileConduit.d.

References FileConduit::getPosition().

long seek long  offset,
SeekAnchor  anchor
[inline]
 

32bit only ...

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

Definition at line 705 of file FileConduit.d.


Member Data Documentation

int handle = -1 [private]
 

Definition at line 563 of file FileConduit.d.


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