Panda3D
Public Member Functions | List of all members
SubStream Class Reference

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

#include "subStream.h"

Inheritance diagram for SubStream:

Public Member Functions

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

Detailed Description

Combined ISubStream and OSubStream for bidirectional I/O.

Definition at line 74 of file subStream.h.

Member Function Documentation

◆ close()

SubStream & SubStream::close ( )
inline

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

Definition at line 131 of file subStream.I.

◆ open()

SubStream & SubStream::open ( StreamWrapper nested,
std::streampos  start,
std::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 120 of file subStream.I.


The documentation for this class was generated from the following files: