#include <ByteStream.h>
Inheritance diagram for ByteStreamMarker:

Public Member Functions | |
| ByteStream const & | getStream () const |
| |
| virtual FileSize | getOffset () const=0 |
| |
Protected Member Functions | |
| ByteStreamMarker (ByteStream const &stream) | |
| virtual | ~ByteStreamMarker () |
Private Attributes | |
| ByteStream const & | stream |
| Marked stream. | |
Friends | |
| class | ByteStream |
Stream implementations define derived marker classes containing hidden state. ByteInputStream::newMarker() serves as a factory method for creating new marker instances.
Definition at line 58 of file ByteStream.h.
| ByteStreamMarker::ByteStreamMarker | ( | ByteStream const & | stream | ) | [explicit, protected] |
| virtual ByteStreamMarker::~ByteStreamMarker | ( | ) | [inline, protected, virtual] |
| ByteStream const & ByteStreamMarker::getStream | ( | ) | const |
Definition at line 39 of file ByteStream.cpp.
References stream.
Referenced by SegInputStream::mark(), ByteInputStream::mark(), SegInputStream::reset(), and ByteInputStream::reset().
00040 { 00041 return stream; 00042 }
| virtual FileSize ByteStreamMarker::getOffset | ( | ) | const [pure virtual] |
Implemented in SequentialByteStreamMarker, and SegStreamMarker.
friend class ByteStream [friend] |
Definition at line 60 of file ByteStream.h.
ByteStream const& ByteStreamMarker::stream [private] |
1.5.1