aboutsummaryrefslogtreecommitdiff
path: root/common/substream.h
AgeCommit message (Collapse)Author
2012-03-11COMMON: Mention that SafeSeekableSubReadStream is not threading safe.Johannes Schickel
2012-03-11COMMON: Rename SafeSubReadStream to SafeSeekableSubReadStream.Johannes Schickel
It actually inherits from SeekableSubReadStream, so it should be named accordingly.
2012-03-10COMMON: Fix formatting in substream.h.Johannes Schickel
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-06COMMON: Add a class SafeSubReadStreamSven Hesse
SafeSubReadStream is basically a SeekableSubReadStream that re-seek()s the parent stream before each read(). That way, more than one SafeSubReadStream of the same parent stream can be used safely at the same time, at the cost of increasing IO.
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-19COMMON: Do not call ReadStream::eos in SubReadStream::read.Johannes Schickel
Instead I moved the call to ReadStream::eos into SubReadStream::eos. fuzzie pointed out that in certain cases this resulted in a lot of eos calls before. Those were rather needlessly, since checking the eos bit of the decorated stream in read does not give any advantage over checking it when the client code really wants to test the eos flag.
2010-11-23COMMON: Remove default value for endianess in ReadStreamEndian subclassesMax Horn
svn-id: r54441
2010-11-23COMMON: Add ReadStreamEndian mixin classMax Horn
svn-id: r54438
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385