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

FlushWriter Class Reference

Inheritance diagram for FlushWriter:

DisplayWriter ConsoleWriter List of all members.

Public Types

typedef DisplayWriter put put

Public Member Functions

 this (IBuffer buffer)
 this (IConduit conduit)
IWriter put (IWritable x)

Private Types

typedef Number Radix Radix

Private Member Functions

void setPrecision (uint digits)
void setRadix (Radix radix)
void setFill (uint width, char fill= ' ')

Static Private Member Functions

 this ()

Detailed Description

Subclass to support automatic flushing. This can be used for Stdout, Stderr, and other related conduits.

Definition at line 389 of file DisplayWriter.d.


Member Typedef Documentation

typedef DisplayWriter put put
 

Definition at line 391 of file DisplayWriter.d.

typedef Number Radix Radix [inherited]
 

Definition at line 63 of file DisplayWriter.d.

Referenced by DisplayWriter::setRadix().


Member Function Documentation

this IBuffer  buffer  )  [inline]
 

Construct a FlushWriter upon the specified IBuffer

Reimplemented from DisplayWriter.

Definition at line 399 of file DisplayWriter.d.

this IConduit  conduit  )  [inline]
 

Construct a FlushWriter upon the specified IConduit

Reimplemented from DisplayWriter.

Definition at line 410 of file DisplayWriter.d.

IWriter put IWritable  x  )  [inline]
 

Intercept the IWritable method to catch newlines, and flush the buffer whenever one is emitted

Reimplemented from AbstractWriter.

Definition at line 422 of file DisplayWriter.d.

References AbstractWriter::flush(), and IWriter::put().

this  )  [inline, static, inherited]
 

Construct some static exception instances

Reimplemented in ColumnWriter.

Definition at line 162 of file AbstractWriter.d.

References AbstractWriter::ovf.

void setPrecision uint  digits  )  [inline, inherited]
 

Set the number of floating point digits

Definition at line 122 of file DisplayWriter.d.

void setRadix Radix  radix  )  [inline, inherited]
 

Definition at line 131 of file DisplayWriter.d.

References DisplayWriter::Radix.

void setFill uint  width,
char  fill = ' '
[inline, inherited]
 

Definition at line 140 of file DisplayWriter.d.

References assert(), and DisplayWriter::tmp.


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