update comments

This commit is contained in:
David Rose 2002-08-05 16:35:23 +00:00
parent 1ce6f9db76
commit 3e4776566d
2 changed files with 8 additions and 1 deletions

View File

@ -35,6 +35,9 @@ ISubStream() : istream(&_buf) {
// start total characters. The character at "end"
// within the source will never be read; this will
// appear to be EOF.
//
// If end is zero, it indicates that the ISubStream will
// continue until the end of the source stream.
////////////////////////////////////////////////////////////////////
INLINE void ISubStream::
open(istream *source, streampos start, streampos end) {
@ -46,7 +49,7 @@ open(istream *source, streampos start, streampos end) {
// Function: ISubStream::close
// Access: Public
// Description: Resets the SubStream to empty, but does not actually
// close its source istream.
// close the source istream.
////////////////////////////////////////////////////////////////////
INLINE void ISubStream::
close() {

View File

@ -29,6 +29,10 @@
// stream will be the "start" character from the source
// istream; just before the file pointer reaches the
// "end" character, eof is returned.
//
// The source stream must be one that we can randomly
// seek within. The resulting ISubStream will also
// support arbitrary seeks.
////////////////////////////////////////////////////////////////////
class EXPCL_PANDAEXPRESS ISubStream : public istream {
public: