Toolbox snapshot
The Reactive C++ Toolbox
|
OStream uses a dynamic storage acquired from the custom allocator. More...
#include <toolbox/util/Stream.hpp>
Public Member Functions | |
OStream (std::nullptr_t) noexcept | |
Constructor for initialising the StreamBuf with a null buffer. | |
OStream () | |
~OStream () override=default | |
OStream (const OStream &)=delete | |
OStream & | operator= (const OStream &)=delete |
OStream (OStream &&)=delete | |
OStream & | operator= (OStream &&)=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 and clear i/o state. | |
void | reset () noexcept |
Reset the current position back to the beginning of the buffer and clear i/o state. | |
Static Public Member Functions | |
static StoragePtr< MaxN > | make_storage () |
OStream uses a dynamic storage acquired from the custom allocator.
Definition at line 98 of file Stream.hpp.
|
inlineexplicitnoexcept |
Constructor for initialising the StreamBuf with a null buffer.
Definition at line 101 of file Stream.hpp.
|
inline |
Definition at line 107 of file Stream.hpp.
|
overridedefault |
|
delete |
|
delete |
|
delete |
|
delete |
|
inlinestatic |
Definition at line 122 of file Stream.hpp.
|
inlinenoexcept |
Definition at line 123 of file Stream.hpp.
|
inlinenoexcept |
Definition at line 124 of file Stream.hpp.
|
inlinenoexcept |
Definition at line 125 of file Stream.hpp.
|
inlinenoexcept |
Release the managed storage.
Definition at line 128 of file Stream.hpp.
|
inlinenoexcept |
Update the internal storage and clear i/o state.
Definition at line 130 of file Stream.hpp.
|
inlinenoexcept |
Reset the current position back to the beginning of the buffer and clear i/o state.
Definition at line 136 of file Stream.hpp.