23class EXPCL_PANDA_EXPRESS SubStreamBuf :
public std::streambuf {
26 SubStreamBuf(
const SubStreamBuf ©) =
delete;
27 virtual ~SubStreamBuf();
32 virtual std::streampos
seekoff(std::streamoff off, ios_seekdir dir, ios_openmode which);
33 virtual std::streampos
seekpos(std::streampos pos, ios_openmode which);
36 virtual int overflow(
int c);
38 virtual int underflow();
43 std::streampos _start;
This class provides a locking wrapper around an arbitrary istream pointer.
This class provides a locking wrapper around an arbitrary ostream pointer.
virtual std::streampos seekoff(std::streamoff off, ios_seekdir dir, ios_openmode which)
Implements seeking within the stream.
virtual std::streampos seekpos(std::streampos pos, ios_openmode which)
A variant on seekoff() to implement seeking within a stream.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.