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

ConsoleConduit Class Reference

Inheritance diagram for ConsoleConduit:

DeviceConduit List of all members.

Public Types

typedef DeviceConduit copy copy
typedef DeviceConduit read read
typedef DeviceConduit write write

Public Member Functions

package this (FileDevice device)

Protected Member Functions

char[] getName ()

Private Member Functions

IConduit copy (IConduit source)
int read (void[] dst)
int read (IBuffer target)
int write (void[] src)
int write (IBuffer source)
 this (ConduitStyle style, bool seekable)
 this ()
override void closure ()
IBuffer createBuffer ()

Classes

class  VersionWin32

Detailed Description

Conduit for specifically handling the console devices. This takes care of certain implementation details on the Win32 platform.

Definition at line 345 of file DeviceConduit.d.


Member Typedef Documentation

typedef DeviceConduit copy copy
 

Reimplemented from DeviceConduit.

Definition at line 348 of file DeviceConduit.d.

typedef DeviceConduit read read
 

Reimplemented from DeviceConduit.

Definition at line 349 of file DeviceConduit.d.

typedef DeviceConduit write write
 

Reimplemented from DeviceConduit.

Definition at line 350 of file DeviceConduit.d.


Member Function Documentation

package this FileDevice  device  )  [inline]
 

Create a FileConduit on the provided FileDevice. This is strictly for adapting existing devices such as Stdout and friends.

Reimplemented from DeviceConduit.

Definition at line 360 of file DeviceConduit.d.

char [] getName  )  [inline, protected]
 

Return the name of this device

Reimplemented from DeviceConduit.

Definition at line 371 of file DeviceConduit.d.

IConduit copy IConduit  source  )  [inline, inherited]
 

Transfer the content of another conduit to this one. Returns a reference to this class, and throws IOException on failure.

Reimplemented from IConduit.

Definition at line 250 of file Conduit.d.

References Conduit::createBuffer(), IBuffer::flush(), IConduit::read(), and Conduit::write().

int read void[]  dst  )  [inherited]
 

conduit-specific reader

Reimplemented from IConduit.

Referenced by DeviceConduit::VersionPosix::read().

int read IBuffer  target  )  [inline, inherited]
 

read from conduit into a target buffer

Reimplemented from IConduit.

Definition at line 184 of file Conduit.d.

References assert().

int write void[]  src  )  [inherited]
 

conduit-specific writer

Reimplemented from IConduit.

Referenced by Conduit::copy(), and DeviceConduit::VersionPosix::write().

int write IBuffer  source  )  [inline, inherited]
 

write to conduit from a source buffer

Reimplemented from IConduit.

Definition at line 197 of file Conduit.d.

References assert().

this ConduitStyle  style,
bool  seekable
[inline, inherited]
 

Construct a conduit with the given style and seek abilities. Conduits are either seekable or non-seekable.

Reimplemented from Conduit.

Definition at line 88 of file DeviceConduit.d.

this  )  [inline, inherited]
 

Set the default lock to be this object

Reimplemented in DatagramSocket, and SocketConduit.

Definition at line 77 of file Resource.d.

References Resource::_lock.

override void closure  )  [inline, protected, inherited]
 

Callback to close the file. This is invoked from the Resource base-class when the resource is being closed.

Reimplemented from Conduit.

Definition at line 120 of file DeviceConduit.d.

IBuffer createBuffer  )  [inline, inherited]
 

Create a Buffer of the default FileConduit size, and associate it with this conduit

Reimplemented from Conduit.

Definition at line 133 of file DeviceConduit.d.

References Buffer, and IBuffer::setConduit().

Referenced by testFile2(), testFile3(), testFile5(), testTeqParser(), and testToken4().


The documentation for this class was generated from the following file:
Generated on Mon Nov 14 10:59:50 2005 for Mango by  doxygen 1.4.0