Toolbox snapshot
The Reactive C++ Toolbox
|
StreamBuf uses a dynamic storage acquired from the custom allocator. More...
#include <toolbox/util/Stream.hpp>
Public Member Functions | |
StreamBuf (std::nullptr_t) noexcept | |
Constructor for initialising the StreamBuf with a null buffer. | |
StreamBuf () | |
~StreamBuf () override=default | |
StreamBuf (const StreamBuf &)=delete | |
StreamBuf & | operator= (const StreamBuf &)=delete |
StreamBuf (StreamBuf &&)=delete | |
StreamBuf & | operator= (StreamBuf &&)=delete |
const char * | data () const noexcept |
bool | empty () const noexcept |
std::size_t | size () const noexcept |
StoragePtr< MaxN > | release_storage () noexcept |
Release the managed storage. | |
void | set_storage (StoragePtr< MaxN > storage) noexcept |
Update the internal storage. | |
void | reset () noexcept |
Reset the current position back to the beginning of the buffer. | |
StreamBuf uses a dynamic storage acquired from the custom allocator.
Definition at line 40 of file Stream.hpp.
|
inlineexplicitnoexcept |
Constructor for initialising the StreamBuf with a null buffer.
Definition at line 43 of file Stream.hpp.
|
inline |
Definition at line 44 of file Stream.hpp.
|
overridedefault |
|
delete |
|
delete |
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 59 of file Stream.hpp.
|
inlinenoexcept |
Definition at line 60 of file Stream.hpp.
|
inlinenoexcept |
Definition at line 61 of file Stream.hpp.
|
inlinenoexcept |
Release the managed storage.
Definition at line 64 of file Stream.hpp.
|
inlinenoexcept |
Update the internal storage.
Definition at line 72 of file Stream.hpp.
|
inlinenoexcept |
Reset the current position back to the beginning of the buffer.
Definition at line 74 of file Stream.hpp.