TRIQS/triqs_modest 3.3.0
Brillouin zone summation
|
#include <triqs/utility/streams.hpp>
A custom output stream that automatically indents each new line by a specified number of spaces.
This class is useful for formatting output with consistent indentation. It wraps around an existing std::ostream
and ensures that every new line starts with a specified number of spaces.
Example usage:
std::ostream
and uses a custom stream buffer to handle indentation. Definition at line 88 of file streams.hpp.
Public Member Functions | |
indented_ostream (std::ostream &os, int indent) | |
Constructor. | |
|
inline |
Constructor.
os | The underlying std::ostream to write into. |
indent | The number of spaces to use for indentation. |
Definition at line 116 of file streams.hpp.