Castor3D 0.16.0
Multiplatform 3D engine
|
Holds associated streams and stream buffers. More...
#include <StreamIndentBufferManager.hpp>
Public Member Functions | |
~BasicIndentBufferManager () noexcept | |
Destructor. | |
bool | insert (bos &o_s, bsb *b_s) |
Inserts a stream and a stream buffer. | |
size_t | size () |
Retrieves the items count. | |
bsb * | getBuffer (std::ios_base &io_s) |
Retrieves the stream buffer associated to given stream. | |
bool | erase (std::ios_base &io_s) |
Static Public Member Functions | |
static size_t | instances () |
Retrieves the instances count. | |
static BasicIndentBufferManager< char_type, traits > * | instance () |
Retrieves an instance of the BasicIndentBufferManager. | |
Holds associated streams and stream buffers.
|
inlinenoexcept |
|
inline |
References castor::format::BasicIndentBufferManager< char_type, traits >::getBuffer(), and castor::makeUniqueLock().
|
inline |
Retrieves the stream buffer associated to given stream.
[in] | io_s | The stream |
References castor::makeUniqueLock().
Referenced by castor::format::BasicIndentBufferManager< char_type, traits >::erase().
|
inline |
Inserts a stream and a stream buffer.
[in] | o_s | The stream |
[in] | b_s | The stream buffer |
References castor::makeUniqueLock().
|
inlinestatic |
Retrieves an instance of the BasicIndentBufferManager.
Referenced by castor::format::callback().
|
inlinestatic |
Retrieves the instances count.
|
inline |
Retrieves the items count.
References castor::makeUniqueLock().