![]() |
Toolbox snapshot
The Reactive C++ Toolbox
|
#include <toolbox/util/OStreamBase.hpp>
Public Member Functions | |
DerivedT & | put_data (const char *data, std::size_t data_size) |
template<class T > requires detail::AllowedChar<T> | |
DerivedT & | put_char (T ch) |
DerivedT & | put_num (bool val) |
template<class T > requires (detail::AllowedIntegral<T> && !std::same_as<T, bool>) | |
DerivedT & | put_num (T val) |
template<class T > requires std::floating_point<T> | |
DerivedT & | put_num (T val) |
DerivedT & | put (char ch) |
For compatability with std::ostream API. | |
DerivedT & | write (const char *data, std::size_t sz) |
Static Protected Attributes | |
static constexpr std::size_t | PutNumMaxBufRequest = 32u |
Definition at line 73 of file OStreamBase.hpp.
DerivedT & toolbox::util::OStreamBase< DerivedT >::put_data | ( | const char * | data, |
std::size_t | data_size | ||
) |
Definition at line 139 of file OStreamBase.hpp.
Referenced by toolbox::util::OStreamBase< DerivedT >::write().
DerivedT & toolbox::util::OStreamBase< DerivedT >::put_char | ( | T | ch | ) |
Definition at line 153 of file OStreamBase.hpp.
Referenced by toolbox::util::OStreamBase< DerivedT >::put(), and toolbox::util::OStreamBase< DerivedT >::put_num().
Definition at line 166 of file OStreamBase.hpp.
DerivedT & toolbox::util::OStreamBase< DerivedT >::put_num | ( | T | val | ) |
Definition at line 174 of file OStreamBase.hpp.
DerivedT & toolbox::util::OStreamBase< DerivedT >::put_num | ( | T | val | ) |
For compatability with std::ostream API.
Definition at line 240 of file OStreamBase.hpp.
DerivedT & toolbox::util::OStreamBase< DerivedT >::write | ( | const char * | data, |
std::size_t | sz | ||
) |
Definition at line 246 of file OStreamBase.hpp.
|
staticconstexprprotected |
Definition at line 101 of file OStreamBase.hpp.
Referenced by toolbox::util::OStreamBase< DerivedT >::put_num().