Combined ISubStream and OSubStream for bidirectional I/O.
More...
#include <pandadoc.hpp>
|
| __init__ () |
|
| __init__ (StreamWrapper nested, Streamoff start, Streamoff end, bool append) |
|
SubStream | close () |
| Resets the SubStream to empty, but does not actually close the nested ostream.
|
|
SubStream | open (StreamWrapper nested, Streamoff start, Streamoff end, bool append) |
| Starts the SubStream reading and writing from the indicated nested stream, within the indicated range.
|
|
Public Member Functions inherited from Iostream |
| flush () |
|
Public Member Functions inherited from Istream |
int | get () |
|
| seekg (Streamoff off, IosBase::Seekdir dir) |
|
| seekg (Streamoff pos) |
|
Streamoff | tellg () |
|
Public Member Functions inherited from BasicIosChar |
bool | bad () |
|
| clear () |
|
bool | eof () |
|
bool | fail () |
|
bool | good () |
|
Public Member Functions inherited from Ostream |
| flush () |
|
| put (char c) |
|
| seekp (Streamoff off, IosBase::Seekdir dir) |
|
| seekp (Streamoff pos) |
|
Streamoff | tellp () |
|
Combined ISubStream and OSubStream for bidirectional I/O.
◆ __init__() [1/2]
◆ __init__() [2/2]
__init__ |
( |
StreamWrapper | nested, |
|
|
Streamoff | start, |
|
|
Streamoff | end, |
|
|
bool | append ) |
◆ close()
Resets the SubStream to empty, but does not actually close the nested ostream.
◆ open()
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.