Inheritance diagram for TextWriter:
Public Types | |
typedef FlushWriter put | put |
Public Member Functions | |
this (IBuffer buffer, char[] delimiter) | |
void | suppress (byte count) |
IWriter | put (IWritable x) |
Protected Member Functions | |
override IWriter | encode (void *x, uint bytes, int type) |
Private Member Functions | |
final IWriter | delimit () |
IWriter | put () |
IWriter | put (bool x) |
IWriter | put (ubyte x) |
IWriter | put (byte x) |
IWriter | put (ushort x) |
IWriter | put (short x) |
IWriter | put (uint x) |
IWriter | put (int x) |
IWriter | put (ulong x) |
IWriter | put (long x) |
IWriter | put (float x) |
IWriter | put (double x) |
IWriter | put (real x) |
IWriter | put (char x) |
IWriter | put (wchar x) |
IWriter | put (dchar x) |
IWriter | put (byte[] x) |
IWriter | put (ubyte[] x) |
IWriter | put (short[] x) |
IWriter | put (ushort[] x) |
IWriter | put (int[] x) |
IWriter | put (uint[] x) |
IWriter | put (long[] x) |
IWriter | put (ulong[] x) |
IWriter | put (float[] x) |
IWriter | put (double[] x) |
IWriter | put (real[] x) |
IWriter | put (char[] x) |
IWriter | put (wchar[] x) |
IWriter | put (dchar[] x) |
this (IBuffer buffer) | |
this (IConduit conduit) | |
this (IBuffer buffer, char[] workspace=null, Format.DblFormat df=&Double.format) | |
Private Attributes | |
byte | ignore |
char[] | delimiter |
Definition at line 55 of file TextWriter.d.
|
Reimplemented from FlushWriter. Definition at line 57 of file TextWriter.d. |
|
Construct a TextWriter using the provided buffer. Output is seperated with the given delimiter string. Definition at line 69 of file TextWriter.d. |
|
Reset this writer, so it won't emit the specified series of subsequent delimeters Definition at line 82 of file TextWriter.d. References ignore. Referenced by put(). |
|
Intercept the IWritable method to catch newlines Reimplemented from FlushWriter. Definition at line 93 of file TextWriter.d. References IWriter::put(), and suppress(). |
|
Intercept string output so we can append a delimiter Reimplemented from Writer. Definition at line 109 of file TextWriter.d. |
|
write a delimiter after each token Definition at line 121 of file TextWriter.d. References delimiter, and ignore. Referenced by encode(). |
|
Flush this writer. This is a convenience method used by the "whisper" syntax. Reimplemented from IWriter. Definition at line 257 of file Writer.d. References Writer::flush(). Referenced by Writer::cr(), Writer::length(), and DisplayWriter::println(). |
|
Write a boolean value to the current buffer-position Reimplemented from IWriter. Definition at line 281 of file Writer.d. References Writer::write(). |
|
Write an unsigned byte value to the current buffer-position Reimplemented from IWriter. Definition at line 292 of file Writer.d. References Writer::write(). |
|
Write a byte value to the current buffer-position Reimplemented from IWriter. Definition at line 303 of file Writer.d. References Writer::write(). |
|
Write an unsigned short value to the current buffer-position Reimplemented from IWriter. Definition at line 314 of file Writer.d. References Writer::write(). |
|
Write a short value to the current buffer-position Reimplemented from IWriter. Definition at line 325 of file Writer.d. References Writer::write(). |
|
Write a unsigned int value to the current buffer-position Reimplemented from IWriter. Definition at line 336 of file Writer.d. References Writer::write(). |
|
Write an int value to the current buffer-position Reimplemented from IWriter. Definition at line 347 of file Writer.d. References Writer::write(). |
|
Write an unsigned long value to the current buffer-position Reimplemented from IWriter. Definition at line 358 of file Writer.d. References Writer::write(). |
|
Write a long value to the current buffer-position Reimplemented from IWriter. Definition at line 369 of file Writer.d. References Writer::write(). |
|
Write a float value to the current buffer-position Reimplemented from IWriter. Definition at line 380 of file Writer.d. References Writer::write(). |
|
Write a double value to the current buffer-position Reimplemented from IWriter. Definition at line 391 of file Writer.d. References Writer::write(). |
|
Write a real value to the current buffer-position Reimplemented from IWriter. Definition at line 402 of file Writer.d. References Writer::write(). |
|
Write a char value to the current buffer-position Reimplemented from IWriter. Definition at line 413 of file Writer.d. References Writer::encode(). |
|
Write a wchar value to the current buffer-position Reimplemented from IWriter. Definition at line 424 of file Writer.d. References Writer::encode(). |
|
Write a dchar value to the current buffer-position Reimplemented from IWriter. Definition at line 435 of file Writer.d. References Writer::encode(). |
|
Write a byte array to the current buffer-position Reimplemented from IWriter. Definition at line 446 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write an unsigned byte array to the current buffer-position Reimplemented from IWriter. Definition at line 457 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write a short array to the current buffer-position Reimplemented from IWriter. Definition at line 468 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write an unsigned short array to the current buffer-position Reimplemented from IWriter. Definition at line 479 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write an int array to the current buffer-position Reimplemented from IWriter. Definition at line 490 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write an unsigned int array to the current buffer-position Reimplemented from IWriter. Definition at line 501 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write a long array to the current buffer-position Reimplemented from IWriter. Definition at line 512 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write an unsigned long array to the current buffer-position Reimplemented from IWriter. Definition at line 523 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write a float array to the current buffer-position Reimplemented from IWriter. Definition at line 534 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write a double array to the current buffer-position Reimplemented from IWriter. Definition at line 545 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write a real array to the current buffer-position Reimplemented from IWriter. Definition at line 556 of file Writer.d. References Writer::length(), and Writer::write(). |
|
Write a char array to the current buffer-position Reimplemented from IWriter. Definition at line 567 of file Writer.d. References Writer::encode(), and Writer::length(). |
|
Write a wchar array to the current buffer-position Reimplemented from IWriter. Definition at line 578 of file Writer.d. References Writer::encode(), and Writer::length(). |
|
Write a dchar array to the current buffer-position Reimplemented from IWriter. Definition at line 589 of file Writer.d. References Writer::encode(), and Writer::length(). |
|
Construct a FlushWriter upon the specified IBuffer Reimplemented from Writer. Definition at line 61 of file FlushWriter.d. References buffer. |
|
Construct a FlushWriter upon the specified IConduit Reimplemented from DisplayWriter. Definition at line 72 of file FlushWriter.d. References Buffer. |
|
Construct a DisplayWriter upon the specified IBuffer. One can override the default floating-point formatting by providing an appropriate handler to this constructor. For example, one might configure the DGDouble.format() function instead. Definition at line 100 of file DisplayWriter.d. References Double, DisplayWriter::emit(), DisplayWriter::format, Format, and DisplayWriter::workspace. |
|
Definition at line 59 of file TextWriter.d. Referenced by delimit(), and suppress(). |
|
Definition at line 60 of file TextWriter.d. |