input stream that reads from a buffer of fixed length which must be provided by the caller.
More...
|
| DcmInputBufferStream () |
| constructor
|
|
virtual | ~DcmInputBufferStream () |
| destructor
|
|
virtual DcmInputStreamFactory * | newFactory () const |
| creates a new factory object for the current stream and stream position. More...
|
|
virtual void | setBuffer (const void *buf, offile_off_t buflen) |
| adds the content of the given buffer to the input stream. More...
|
|
virtual void | releaseBuffer () |
| releases the current buffer. More...
|
|
virtual void | setEos () |
| marks the end of stream, i.e. More...
|
|
virtual | ~DcmInputStream () |
| destructor
|
|
virtual OFBool | good () const |
| returns the status of the stream. More...
|
|
virtual OFCondition | status () const |
| returns the status of the stream as an OFCondition object. More...
|
|
virtual OFBool | eos () |
| returns true if the producer is at the end of stream. More...
|
|
virtual offile_off_t | avail () |
| returns the minimum number of bytes that can be read with the next call to read(). More...
|
|
virtual offile_off_t | read (void *buf, offile_off_t buflen) |
| reads as many bytes as possible into the given block. More...
|
|
virtual offile_off_t | skip (offile_off_t skiplen) |
| skips over the given number of bytes (or less) More...
|
|
virtual offile_off_t | tell () const |
| returns the total number of bytes read from the stream so far More...
|
|
virtual OFCondition | installCompressionFilter (E_StreamCompression filterType) |
| installs a compression filter for the given stream compression type, which should be neither ESC_none nor ESC_unsupported. More...
|
|
virtual DcmInputStreamFactory * | newFactory () const =0 |
| creates a new factory object for the current stream and stream position. More...
|
|
virtual void | mark () |
| marks the current stream position for a later putback operation, overwriting a possibly existing prior putback mark. More...
|
|
virtual void | putback () |
| resets the stream to the position previously marked with setPutbackMark(). More...
|
|
input stream that reads from a buffer of fixed length which must be provided by the caller.