Castor3D 0.16.0
Multiplatform 3D engine
|
Stream buffer used by streams to indent lines. More...
#include <StreamIndentBuffer.hpp>
Public Types | |
using | int_type = typename traits::int_type |
using | pos_type = typename traits::pos_type |
using | off_type = typename traits::off_type |
Public Member Functions | |
BasicIndentBuffer (std::basic_streambuf< char_type, traits > *sbuf) | |
Constructor. | |
int | indent () const |
Retrieves current indentation value. | |
void | indent (int i) |
Defines the indentation value. | |
std::streambuf * | sbuf () const |
Retrieves the stream buffer. | |
Stream buffer used by streams to indent lines.
using castor::format::BasicIndentBuffer< char_type, fill_char, traits >::int_type = typename traits::int_type |
using castor::format::BasicIndentBuffer< char_type, fill_char, traits >::off_type = typename traits::off_type |
using castor::format::BasicIndentBuffer< char_type, fill_char, traits >::pos_type = typename traits::pos_type |
|
inlineexplicit |
Constructor.
|
inline |
Retrieves current indentation value.
|
inline |
Defines the indentation value.
[in] | i | The new value |
|
inline |
Retrieves the stream buffer.