template<typename CharT, typename Traits = std::char_traits<CharT>>
class CGAL::IO::Basic_indenting_streambuf< CharT, Traits >
The class template Basic_indenting_streambuf wraps another basic_streambuf and automatically adds indentation at the beginning of each line.
This is useful for formatting debug output with consistent indentation levels.
- Template Parameters
-
| CharT | Character type (typically char or wchar_t) |
| Traits | Character traits type |
- See also
- Basic_indenting_stream_guard
-
make_indenting_guards
|
|
using | char_type = CharT |
| | Character type.
|
|
using | traits_type = Traits |
| | Character traits type.
|
|
using | int_type = typename traits_type::int_type |
| | Integer type for character representation.
|
|
using | pos_type = typename traits_type::pos_type |
| | Position type for stream positioning.
|
|
using | off_type = typename traits_type::off_type |
| | Offset type for stream positioning.
|
|
using | streambuf_type = std::basic_streambuf<char_type, traits_type> |
| | Type of the wrapped streambuf.
|
|
using | string = std::basic_string<char_type> |
| | String type matching character type.
|