This class is needed to ensure the correct initialization order of the stream buffer and base classes.
Direct Base Classes: std::ios
All Base Classes: std::ios
Member Functions: rdbuf
std::ostream & ostr,
Creates the basic stream and connects it to the given output stream. If initStream is true the status of the stream will be cleared on the first access. start and end acts as offset values for the written content. A start value greater than zero, means that the first bytes are not written but discarded instead, an end value not equal to zero means that the last end bytes are not written! Examples:
start = 3; end = 1 write("hello", 5) -> "l"
std::istream & istr,
const std::string & prefix,
const std::string & postfix,
Creates the basic stream and connects it to the given input stream. If initStream is true the status of the stream will be cleared on the first access, and the stream will be repositioned to position start
Destroys the stream.
PartialStreamBuf * rdbuf();
Returns a pointer to the underlying streambuf.