#include <SegStream.h>
Inheritance diagram for SegStreamMarker:
Public Member Functions | |
ByteStream const & | getStream () const |
| |
Private Member Functions | |
SegStreamMarker (SegStream const &segStream) | |
virtual FileSize | getOffset () const |
| |
Private Attributes | |
SegStreamPosition | segPos |
Position for random-access mark/reset. | |
Friends | |
class | SegInputStream |
Definition at line 137 of file SegStream.h.
SegStreamMarker::SegStreamMarker | ( | SegStream const & | segStream | ) | [explicit, private] |
Definition at line 53 of file SegStream.cpp.
References SegStreamPosition::cbOffset, MAXU, SegStreamPosition::segByteId, and segPos.
00054 : ByteStreamMarker(segStream) 00055 { 00056 segPos.segByteId = SegByteId(MAXU); 00057 segPos.cbOffset = MAXU; 00058 }
FileSize SegStreamMarker::getOffset | ( | ) | const [private, virtual] |
Implements ByteStreamMarker.
Definition at line 60 of file SegStream.cpp.
References SegStreamPosition::cbOffset, and segPos.
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 SegInputStream [friend] |
Definition at line 140 of file SegStream.h.
SegStreamPosition SegStreamMarker::segPos [private] |
Position for random-access mark/reset.
Definition at line 145 of file SegStream.h.
Referenced by getOffset(), SegInputStream::mark(), SegInputStream::reset(), and SegStreamMarker().