|
fmatvec
0.0.0
|
A ostream object which prefix/postfix every meassage and calls the given function. More...
#include <atom.h>
Classes | |
| class | StringBuf |
Public Member Functions | |
| PrePostfixedStream (const std::string &prefix_, const std::string &postfix_, const std::function< void(const std::string &)> &f) | |
| Call f with every message of the stream, prefixed/postfixed. | |
| PrePostfixedStream (const std::string &prefix_, const std::string &postfix_, std::ostream &outstr_) | |
| Convinence function to print to outstr_. | |
Private Attributes | |
| StringBuf | buffer |
A ostream object which prefix/postfix every meassage and calls the given function.