Utility to have simple indentation in a stream. More...
#include <utility>#include <sstream>#include <string>Go to the source code of this file.
Classes | |
| struct | util::addIndent |
| Stream modifier that makes it "indented". More... | |
| class | util::details::IndentAdder< Stream > |
| Stream wapper. More... | |
Namespaces | |
| util | |
| Namespace for general, non-LArSoft-specific utilities. | |
| util::details | |
Functions | |
| template<typename Stream > | |
| auto | util::operator<< (Stream &&out, addIndent &&adder) |
Helper function for addIndent (. More... | |
| template<typename Stream > | |
| auto | util::makeIndented (Stream &&out, std::string indent, std::string firstIndent) |
| Creates an indented stream wrapper. More... | |
| template<typename Stream > | |
| auto | util::makeIndented (Stream &&out, std::string const &indent) |
Utility to have simple indentation in a stream.
This is a header-only library.
Definition in file StreamIndenter.h.
1.8.5