BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <buffered_iostream.hpp>
Public Member Functions | |
buffered_ostream (ostream_ptr o, size_t bufsize=4096) | |
buffered_ostream (buffered_ostream &&m) | |
~buffered_ostream () | |
buffered_ostream & | operator= (buffered_ostream &&m) |
virtual size_t | writesome (const char *buf, size_t len) |
virtual size_t | writesome (const std::shared_ptr< const char > &buf, size_t len, size_t offset) |
virtual void | close () |
virtual void | flush () |
Public Member Functions inherited from fc::ostream | |
virtual | ~ostream () |
void | put (char c) |
ostream & | write (const char *buf, size_t len) |
ostream & | write (const std::shared_ptr< const char > &buf, size_t len, size_t offset=0) |
Definition at line 52 of file buffered_iostream.hpp.
fc::buffered_ostream::buffered_ostream | ( | ostream_ptr | o, |
size_t | bufsize = 4096 |
||
) |
Definition at line 153 of file buffered_iostream.cpp.
fc::buffered_ostream::buffered_ostream | ( | buffered_ostream && | m | ) |
Definition at line 158 of file buffered_iostream.cpp.
fc::buffered_ostream::~buffered_ostream | ( | ) |
Definition at line 167 of file buffered_iostream.cpp.
|
virtual |
Implements fc::ostream.
Definition at line 202 of file buffered_iostream.cpp.
|
virtual |
Implements fc::ostream.
Reimplemented in graphene::utilities::padding_ostream< BlockSize, PaddingChar >.
Definition at line 181 of file buffered_iostream.cpp.
buffered_ostream & fc::buffered_ostream::operator= | ( | buffered_ostream && | m | ) |
Definition at line 161 of file buffered_iostream.cpp.
|
virtual |
This method will return immediately unless the buffer is full, in which case it will flush which may block.
Implements fc::ostream.
Reimplemented in graphene::utilities::padding_ostream< BlockSize, PaddingChar >.
Definition at line 169 of file buffered_iostream.cpp.
|
virtual |
Implements fc::ostream.
Reimplemented in graphene::utilities::padding_ostream< BlockSize, PaddingChar >.
Definition at line 176 of file buffered_iostream.cpp.