![]() |
Toolbox snapshot
The Reactive C++ Toolbox
|
#include <toolbox/util/Stream.hpp>


Public Member Functions | |
| OStaticStream ()=default | |
| ~OStaticStream ()=default | |
| OStaticStream (const OStaticStream &)=delete | |
| OStaticStream & | operator= (const OStaticStream &)=delete |
| OStaticStream (OStaticStream &&)=delete | |
| OStaticStream & | operator= (OStaticStream &&)=delete |
| const char * | data () const noexcept |
| bool | empty () const noexcept |
| std::size_t | size () const noexcept |
| std::string_view | str () const noexcept |
| operator bool () const | |
| void | reset () noexcept |
| Reset the current position back to the beginning of the buffer. | |
Public Member Functions inherited from toolbox::util::OStreamBase< OStaticStream< MaxN > > | |
| OStaticStream< MaxN > & | put_data (const char *data, std::size_t data_size) |
| OStaticStream< MaxN > & | put_char (T ch) |
| OStaticStream< MaxN > & | put_num (bool val) |
| OStaticStream< MaxN > & | put_num (T val) |
| OStaticStream< MaxN > & | put_num (T val) |
| OStaticStream< MaxN > & | put (char ch) |
| For compatability with std::ostream API. | |
| OStaticStream< MaxN > & | write (const char *data, std::size_t sz) |
| OStaticStream< MaxN > & | put_data (const char *data, std::size_t data_size) |
| OStaticStream< MaxN > & | put_char (T ch) |
| OStaticStream< MaxN > & | put_num (bool val) |
| OStaticStream< MaxN > & | put_num (T val) |
| OStaticStream< MaxN > & | put_num (T val) |
| OStaticStream< MaxN > & | put (char ch) |
| For compatability with std::ostream API. | |
| OStaticStream< MaxN > & | write (const char *data, std::size_t sz) |
Additional Inherited Members | |
Static Protected Attributes inherited from toolbox::util::OStreamBase< OStaticStream< MaxN > > | |
| static constexpr std::size_t | PutNumMaxBufRequest |
| static constexpr std::size_t | PutNumMaxBufRequest |
Definition at line 147 of file Stream.hpp.
|
default |
|
default |
|
delete |
|
delete |
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 160 of file Stream.hpp.
|
inlinenoexcept |
Definition at line 161 of file Stream.hpp.
Referenced by BOOST_AUTO_TEST_CASE().
|
inlinenoexcept |
Definition at line 162 of file Stream.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), and toolbox::util::OStaticStream< MaxN >::str().
|
inlinenoexcept |
Definition at line 163 of file Stream.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), and toolbox::util::ErrMsg::operator std::string_view().
|
inlineexplicit |
Definition at line 167 of file Stream.hpp.
|
inlinenoexcept |
Reset the current position back to the beginning of the buffer.
Definition at line 172 of file Stream.hpp.
Referenced by BOOST_AUTO_TEST_CASE().