Panda3D
Loading...
Searching...
No Matches
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.
 
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.
 

Detailed Description

Combined ISubStream and OSubStream for bidirectional I/O.

Definition at line 74 of file subStream.h.

Constructor & Destructor Documentation

◆ SubStream() [1/2]

SubStream::SubStream ( )
inline

Definition at line 99 of file subStream.I.

◆ SubStream() [2/2]

SubStream::SubStream ( StreamWrapper * nested,
std::streampos start,
std::streampos end,
bool append = false )
inlineexplicit

Definition at line 106 of file subStream.I.

Member Function Documentation

◆ close()

SubStream & SubStream::close ( )
inline

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

Definition at line 130 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 119 of file subStream.I.


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