Sese Framework
2.3.0
A cross-platform framework
|
Standard library output wrapper stream. More...
#include <FakeStream.h>
Public Member Functions | |
StdOutputStreamWrapper (std::ostream &stream) | |
int64_t | write (const void *buffer, size_t length) override |
Public Member Functions inherited from sese::io::OutputStream | |
virtual | ~OutputStream () noexcept=default |
int64_t | write (const std::string_view &buffer) |
int64_t | write (const text::StringView &buffer) |
template<typename T > | |
int64_t | write (std::vector< T > &buffer) |
template<typename T , size_t N> | |
int64_t | write (std::array< T, N > &buffer) |
Private Attributes | |
std::ostream & | stream |
std::streamoff | latest |
Additional Inherited Members | |
Public Types inherited from sese::io::OutputStream | |
typedef std::shared_ptr< OutputStream > | Ptr |
Standard library output wrapper stream.
|
explicit |
|
overridevirtual |
Write buffer to the standard library input stream
buffer | Buffer to write |
length | Buffer size to write |
Implements sese::io::OutputStream.
|
private |
|
private |