arsenalgear-cpp
A library containing general purpose C++ utils.
|
Class used to store the output sent to an output stream. More...
#include <stream.hpp>
Public Member Functions | |
savebuf (std::streambuf *sbuf) | |
Construct a new savebuf object. More... | |
std::string | str () const |
Method to return the string stored by the output stream. More... | |
Class used to store the output sent to an output stream.
agr::savebuf::savebuf | ( | std::streambuf * | sbuf | ) |
Construct a new savebuf object.
sbuf | A std::streambuf* object. |
std::string agr::savebuf::str | ( | ) | const |
Method to return the string stored by the output stream.