#include <Indenter.h>
|
| Indenter () |
|
std::streambuf::int_type | operator() (std::streambuf &destination, std::streambuf::int_type character) |
|
Adds a level of indentation to a streambuf.
- See also
- JsonBox::OutputFilter
JsonBox::Indenter::Indenter |
( |
| ) |
|
std::streambuf::int_type JsonBox::Indenter::operator() |
( |
std::streambuf & |
destination, |
|
|
std::streambuf::int_type |
character |
|
) |
| |
Inserts a tab character at the start of each line.
- Parameters
-
destination | Streambuf in which to insert the tab character. |
character | Character to insert in the streambuf. |
- Returns
- Unspecified value not equal to traits::eof() on success, traits::eof() on failure.
bool JsonBox::Indenter::atStartOfLine |
|
private |
Used to indicate if we are at the start of a new line.
The documentation for this class was generated from the following files: