Inheritance diagram for IReader:
Public Types | |
typedef get | opShr |
typedef get | opCall |
Public Member Functions | |
IReader | get (inout bool x) |
IReader | get (inout byte x) |
IReader | get (inout ubyte x) |
IReader | get (inout short x) |
IReader | get (inout ushort x) |
IReader | get (inout int x) |
IReader | get (inout uint x) |
IReader | get (inout long x) |
IReader | get (inout ulong x) |
IReader | get (inout float x) |
IReader | get (inout double x) |
IReader | get (inout real x) |
IReader | get (inout char x) |
IReader | get (inout wchar x) |
IReader | get (inout dchar x) |
IReader | get (inout byte[] x, uint elements=uint.max) |
IReader | get (inout short[] x, uint elements=uint.max) |
IReader | get (inout int[] x, uint elements=uint.max) |
IReader | get (inout long[] x, uint elements=uint.max) |
IReader | get (inout ubyte[] x, uint elements=uint.max) |
IReader | get (inout ushort[] x, uint elements=uint.max) |
IReader | get (inout uint[] x, uint elements=uint.max) |
IReader | get (inout ulong[] x, uint elements=uint.max) |
IReader | get (inout float[] x, uint elements=uint.max) |
IReader | get (inout double[] x, uint elements=uint.max) |
IReader | get (inout real[] x, uint elements=uint.max) |
IReader | get (inout char[] x, uint elements=uint.max) |
IReader | get (inout wchar[] x, uint elements=uint.max) |
IReader | get (inout dchar[] x, uint elements=uint.max) |
IReader | get (IReadable x) |
void | wait () |
IBuffer | getBuffer () |
IArrayAllocator | getAllocator () |
void | setAllocator (IArrayAllocator memory) |
void | setDecoder (AbstractDecoder) |
Definition at line 77 of file IReader.d.
|
|
|
|
|
These are the basic reader methods Reimplemented in Reader. Referenced by RollCall::read(), Payload::read(), Message::read(), and InvalidatorPayload::read(). |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader. |
|
Reimplemented in Reader, and TextReader. |
|
Reimplemented in Reader, and TextReader. |
|
Reimplemented in Reader, and TextReader. |
|
This is the mechanism used for binding arbitrary classes to the IO system. If a class implements IReadable, it can be used as a target for IReader get() operations. That is, implementing IReadable is intended to transform any class into an IReader adaptor for the content held therein. Reimplemented in Reader. |
|
Pause the current thread until some content arrives in the associated input buffer. This may stall forever. Reimplemented in Reader. |
|
Return the buffer associated with this reader Reimplemented in Reader. Referenced by LineScannerTemplate(), LineScanner::read(), ReaderToken::read(), and ReaderTokenTemplate(). |
|
Get the allocator to use for array management. Arrays are always allocated by the IReader. That is, you cannot read data into an array slice (for example). Instead, a number of IArrayAllocator classes are available to manage memory allocation when reading array content. You might use this to manage the assigned allocator. For example, some allocators benefit from a reset() operation after each data 'record' has been processed. Reimplemented in Reader. |
|
Set the allocator to use for array management. Arrays are always allocated by the IReader. That is, you cannot read data into an array slice (for example). Instead, a number of IArrayAllocator classes are available to manage memory allocation when reading array content. By default, an IReader will allocate each array from the heap. You can change that behavior by calling this method with an IArrayAllocator of choice. For instance, there is a BufferAllocator which will slice an array directly from the buffer where possible. Also available is the record-oriented SliceAllocator, which slices memory from within a pre-allocated heap area, and should be reset by the client code after each record has been read (to avoid unnecessary growth). See ArrayAllocator for more information. Reimplemented in Reader. |
|
Bind an IDecoder to the writer. Decoders are intended to be used as a conversion mechanism between various character representations (encodings). Reimplemented in Reader. |