Panda3D
Public Member Functions

SubStream Class Reference

Combined ISubStream and OSubStream for bidirectional I/O. More...

#include "subStream.h"

List of all members.

Public Member Functions

 SubStream (StreamWrapper *nested, streampos start, streampos end, bool append=false)
SubStreamclose ()
 Resets the SubStream to empty, but does not actually close the nested ostream.
SubStreamopen (StreamWrapper *nested, streampos start, streampos end, bool append=false)
 Starts the SubStream reading and writing from the indicated nested stream, within the indicated range.

Detailed Description

Combined ISubStream and OSubStream for bidirectional I/O.

Definition at line 75 of file subStream.h.


Member Function Documentation

SubStream & SubStream::close ( ) [inline]

Resets the SubStream to empty, but does not actually close the nested ostream.

Definition at line 161 of file subStream.I.

SubStream & SubStream::open ( StreamWrapper nested,
streampos  start,
streampos  end,
bool  append = false 
) [inline]

Starts the SubStream reading and writing from the indicated nested stream, within the indicated range.

"end" is the first character outside of the range.

If end is zero, it indicates that the SubStream will continue until the end of the nested stream.

Definition at line 148 of file subStream.I.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations