Inheritance diagram for DcmProducer:
Public Member Functions | |
virtual | ~DcmProducer () |
destructor | |
virtual OFBool | good () const =0 |
returns the status of the producer. | |
virtual OFCondition | status () const =0 |
returns the status of the producer as an OFCondition object. | |
virtual OFBool | eos () const =0 |
returns true if the producer is at the end of stream. | |
virtual Uint32 | avail () const =0 |
returns the minimum number of bytes that can be read with the next call to read(). | |
virtual Uint32 | read (void *buf, Uint32 buflen)=0 |
reads as many bytes as possible into the given block. | |
virtual Uint32 | skip (Uint32 skiplen)=0 |
skips over the given number of bytes (or less) | |
virtual void | putback (Uint32 num)=0 |
resets the stream to the position by the given number of bytes. |
the initial node of a filter chain in an input stream.
Definition at line 47 of file dcistrma.h.
|
returns the minimum number of bytes that can be read with the next call to read(). The DcmObject read methods rely on avail to return a value > 0 if there is no I/O suspension since certain data such as tag and length are only read "en bloc", i.e. all or nothing.
Implemented in DcmBufferProducer, DcmFileProducer, and DcmZLibInputFilter. |
|
returns true if the producer is at the end of stream.
Implemented in DcmBufferProducer, DcmFileProducer, and DcmZLibInputFilter. |
|
returns the status of the producer. Unless the status is good, the producer will not permit any operation.
Implemented in DcmBufferProducer, DcmFileProducer, and DcmZLibInputFilter. |
|
resets the stream to the position by the given number of bytes.
Implemented in DcmBufferProducer, DcmFileProducer, and DcmZLibInputFilter. |
|
reads as many bytes as possible into the given block.
Implemented in DcmBufferProducer, DcmFileProducer, and DcmZLibInputFilter. |
|
skips over the given number of bytes (or less)
Implemented in DcmBufferProducer, DcmFileProducer, and DcmZLibInputFilter. |
|
returns the status of the producer as an OFCondition object. Unless the status is good, the producer will not permit any operation.
Implemented in DcmBufferProducer, DcmFileProducer, and DcmZLibInputFilter. |