#include <SegmentIStreamer.hh>
Inheritance diagram for rovsoft::io::SegmentIStreamer:
Public Member Functions | |
virtual int | nextStart ()=0 throw (IOExceptionPtr) |
Discards all data until the beginning of a segment is detected. | |
virtual bool | isStart ()=0 throw (IOExceptionPtr) |
Test if we are at the beginning of a segment. | |
virtual bool | isEnd ()=0 throw (IOExceptionPtr) |
Test if we are at the end of a segment. |
A segmented stream has separators between the valid data parts of the stream. There is a "start" separator and a "end" separator, marking the beginning and the end of a data block, these separators are only internal and never read by the user of this class, he can only use them indirectly with for example nextStart().
|
Test if we are at the end of a segment.
Implemented in rovsoft::io::BinaryLenSegmentIStreamer. |
|
Test if we are at the beginning of a segment.
Implemented in rovsoft::io::BinaryLenSegmentIStreamer. |
|
Discards all data until the beginning of a segment is detected. This method has to be called before reading a new segment.
Implemented in rovsoft::io::BinaryLenSegmentIStreamer. |