Combined ISubStream and OSubStream for bidirectional I/O.
More...
|
| __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. More...
|
|
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. More...
|
|
Public Member Functions inherited from Iostream |
| flush () |
|
Public Member Functions inherited from Istream |
int | get () |
|
| seekg (Streamoff pos) |
|
| seekg (Streamoff off, IosBase::Seekdir dir) |
|
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 pos) |
|
| seekp (Streamoff off, IosBase::Seekdir dir) |
|
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.