Inheritance diagram for AbstractWriter:
Public Member Functions | |
char[] | toString () |
this (IBuffer buffer) | |
IBuffer | getBuffer () |
void | setStringEncoder (IStringEncoder s) |
IWriter | flush () |
IWriter | cr () |
void | enableArrayPrefix (bool on) |
IWriter | put (IWritable x) |
IWriter | put (char x) |
IWriter | put (wchar x) |
IWriter | put (dchar x) |
IWriter | put (char[] x) |
IWriter | putw (wchar[] x) |
IWriter | putd (dchar[] x) |
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) |
Static Public Member Functions | |
this () | |
Static Public Attributes | |
INewlineWriter | newline |
Protected Attributes | |
IBuffer | buffer |
StringEncoder | string |
NumericEncoder | numeric |
Static Protected Attributes | |
IOException | ovf |
EofException | eof |
Private Member Functions | |
final uint | length (uint len) |
Private Attributes | |
bool | prefixArray = true |
Definition at line 54 of file AbstractWriter.d.
|
Return the name of this writer Reimplemented in ColumnWriter, DisplayWriter, EndianWriter, TextWriter, and Writer. |
|
Construct some static exception instances, and create the public 'newline' instance. Reimplemented in ColumnWriter. Definition at line 117 of file AbstractWriter.d. |
|
Construct a Writer upon the provided IBuffer. All formatted output will be appended to this buffer. Reimplemented in HttpWriter, DisplayWriter, EndianWriter, and Writer. Definition at line 132 of file AbstractWriter.d. |
|
Return the associated buffer Reimplemented from IWriter. Definition at line 143 of file AbstractWriter.d. |
|
Set the configured IStringEncoder. These are intended to be used as a conversion mechanism between various character representations. They are also expected to be used for the process of applying character encodings. See IStringEncoder. Reimplemented from IWriter. Definition at line 159 of file AbstractWriter.d. References IStringEncoder::char16(), AbstractWriter::StringEncoder::char16, IStringEncoder::char32(), AbstractWriter::StringEncoder::char32, IStringEncoder::char8(), and AbstractWriter::StringEncoder::char8. |
|
Flush the output of this writer. Returns false if the operation failed, true otherwise. Reimplemented from IWriter. Definition at line 173 of file AbstractWriter.d. References IBuffer::flush(). Referenced by testRandomAccess(). |
|
Output a newline. Do this indirectly so that it can be intercepted by subclasses. Reimplemented from IWriter. Definition at line 186 of file AbstractWriter.d. |
|
Definition at line 195 of file AbstractWriter.d. References prefixArray. Referenced by DisplayWriter::this(). |
|
Write a class to the current buffer-position Definition at line 206 of file AbstractWriter.d. References prefixArray, and put(). |
|
Write a class to the current buffer-position Reimplemented from IWriter. Reimplemented in ColumnWriter, and TextWriter. Definition at line 219 of file AbstractWriter.d. References IWritable::write(). Referenced by cr(), DisplayWriter::format(), length(), AbstractWriter::VersionUseShiftOperators::opShl(), testBuffer(), testConduitFilters(), and testRandomAccess(). |
|
Write a char value to the current buffer-position Reimplemented from IWriter. Definition at line 232 of file AbstractWriter.d. References AbstractWriter::StringEncoder::char8. |
|
Write a wide char value to the current buffer-position Reimplemented from IWriter. Definition at line 244 of file AbstractWriter.d. References AbstractWriter::StringEncoder::char16. |
|
Write a double char value to the current buffer-position Reimplemented from IWriter. Definition at line 256 of file AbstractWriter.d. References AbstractWriter::StringEncoder::char32. |
|
Write a char array to the current buffer-position Reimplemented from IWriter. Reimplemented in ColumnWriter, and TextWriter. Definition at line 268 of file AbstractWriter.d. References AbstractWriter::StringEncoder::char8. |
|
Write a char array to the current buffer-position Definition at line 280 of file AbstractWriter.d. References AbstractWriter::StringEncoder::char16. Referenced by AbstractWriter::VersionUseShiftOperators::opShl(). |
|
Write a char array to the current buffer-position Definition at line 293 of file AbstractWriter.d. References AbstractWriter::StringEncoder::char32. Referenced by AbstractWriter::VersionUseShiftOperators::opShl(). |
|
Write a boolean value to the current buffer-position Reimplemented from IWriter. Definition at line 305 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::int1. |
|
Write an unsigned byte value to the current buffer-position Reimplemented from IWriter. Definition at line 317 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::int8u. |
|
Write a byte value to the current buffer-position Reimplemented from IWriter. Definition at line 329 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::int8. |
|
Write an unsigned short value to the current buffer-position Reimplemented from IWriter. Definition at line 341 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::int16u. |
|
Write a short value to the current buffer-position Reimplemented from IWriter. Definition at line 353 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::int16. |
|
Write a unsigned int value to the current buffer-position Reimplemented from IWriter. Definition at line 365 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::int32u. |
|
Write an int value to the current buffer-position Reimplemented from IWriter. Definition at line 377 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::int32. |
|
Write an unsigned long value to the current buffer-position Reimplemented from IWriter. Definition at line 389 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::int64u. |
|
Write a long value to the current buffer-position Reimplemented from IWriter. Definition at line 401 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::int64. |
|
Write a float value to the current buffer-position Reimplemented from IWriter. Definition at line 413 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::float32. |
|
Write a double value to the current buffer-position Reimplemented from IWriter. Definition at line 425 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::float64. |
|
Write a real value to the current buffer-position Reimplemented from IWriter. Definition at line 437 of file AbstractWriter.d. References AbstractWriter::NumericEncoder::float80. |
|
Definition at line 88 of file AbstractWriter.d. |
|
Definition at line 91 of file AbstractWriter.d. Referenced by this(). |
|
Definition at line 92 of file AbstractWriter.d. |
|
Definition at line 94 of file AbstractWriter.d. |
|
Definition at line 96 of file AbstractWriter.d. |
|
Definition at line 98 of file AbstractWriter.d. |
|
Definition at line 100 of file AbstractWriter.d. Referenced by enableArrayPrefix(), and length(). |