BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <iostream.hpp>
Public Member Functions | |
virtual | ~ostream () |
virtual size_t | writesome (const char *buf, size_t len)=0 |
virtual size_t | writesome (const std::shared_ptr< const char > &buf, size_t len, size_t offset)=0 |
virtual void | close ()=0 |
virtual void | flush ()=0 |
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) |
Provides a fc::thread friendly cooperatively multi-tasked stream that will block 'cooperatively' instead of hard blocking.
Definition at line 41 of file iostream.hpp.
|
inlinevirtual |
Definition at line 44 of file iostream.hpp.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 50 of file iostream.hpp.
ostream & fc::ostream::write | ( | const char * | buf, |
size_t | len | ||
) |
implemented in terms of writesome, guarantees len bytes are sent but not flushed.
Definition at line 290 of file iostream.cpp.
ostream & fc::ostream::write | ( | const std::shared_ptr< const char > & | buf, |
size_t | len, | ||
size_t | offset = 0 |
||
) |
Definition at line 298 of file iostream.cpp.
|
pure virtual |
|
pure virtual |