Castor3D 0.16.0
Multiplatform 3D engine
|
Holds associated streams and stream buffers. More...
#include <StreamPrefixBufferManager.hpp>
Public Member Functions | |
~BasicPrefixBufferManager () 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 BasicPrefixBufferManager< prefix_type, char_type, traits > * | instance () |
Retrieves an instance of the BasicPrefixBufferManager. | |
Holds associated streams and stream buffers.
|
inlinenoexcept |
|
inline |
References castor::format::BasicPrefixBufferManager< prefix_type, 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::BasicPrefixBufferManager< prefix_type, 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 BasicPrefixBufferManager.
|
inlinestatic |
Retrieves the instances count.
|
inline |
Retrieves the items count.
References castor::makeUniqueLock().