#include <ByteStream.h>
Inheritance diagram for SequentialByteStreamMarker:
Public Member Functions | |
virtual | ~SequentialByteStreamMarker () |
ByteStream const & | getStream () const |
| |
Protected Member Functions | |
SequentialByteStreamMarker (ByteStream const &stream) | |
virtual FileSize | getOffset () const |
| |
Private Attributes | |
FileSize | cbOffset |
Byte position in stream. | |
Friends | |
class | ByteInputStream |
Definition at line 89 of file ByteStream.h.
virtual SequentialByteStreamMarker::~SequentialByteStreamMarker | ( | ) | [inline, virtual] |
SequentialByteStreamMarker::SequentialByteStreamMarker | ( | ByteStream const & | stream | ) | [explicit, protected] |
Definition at line 44 of file ByteStream.cpp.
References cbOffset, and MAXU.
00046 : ByteStreamMarker(streamInit) 00047 { 00048 cbOffset = MAXU; 00049 }
FileSize SequentialByteStreamMarker::getOffset | ( | ) | const [protected, virtual] |
Implements ByteStreamMarker.
Definition at line 51 of file ByteStream.cpp.
References cbOffset.
00052 { 00053 return cbOffset; 00054 }
ByteStream const & ByteStreamMarker::getStream | ( | ) | const [inherited] |
Definition at line 39 of file ByteStream.cpp.
References ByteStreamMarker::stream.
Referenced by SegInputStream::mark(), ByteInputStream::mark(), SegInputStream::reset(), and ByteInputStream::reset().
00040 { 00041 return stream; 00042 }
friend class ByteInputStream [friend] |
Definition at line 91 of file ByteStream.h.
FileSize SequentialByteStreamMarker::cbOffset [private] |
Byte position in stream.
Definition at line 96 of file ByteStream.h.
Referenced by getOffset(), ByteInputStream::mark(), ByteInputStream::reset(), and SequentialByteStreamMarker().