|
BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <sstream.hpp>
Classes | |
| class | impl |
Public Member Functions | |
| stringstream () | |
| stringstream (std::string &s) | |
| stringstream (const std::string &s) | |
| ~stringstream () | |
| std::string | str () |
| void | str (const std::string &s) |
| void | clear () |
| virtual bool | eof () const |
| 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 size_t | readsome (char *buf, size_t len) |
| virtual size_t | readsome (const std::shared_ptr< char > &buf, size_t len, size_t offset) |
| virtual void | close () |
| virtual void | flush () |
| char | peek () |
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) |
Public Member Functions inherited from fc::istream | |
| virtual | ~istream () |
| istream & | read (char *buf, size_t len) |
| istream & | read (const std::shared_ptr< char > &buf, size_t len, size_t offset=0) |
| virtual char | get () |
| void | get (char &c) |
Definition at line 7 of file sstream.hpp.
| fc::stringstream::stringstream | ( | ) |
Definition at line 29 of file sstream.cpp.
| fc::stringstream::stringstream | ( | std::string & | s | ) |
Definition at line 23 of file sstream.cpp.
| fc::stringstream::stringstream | ( | const std::string & | s | ) |
Definition at line 26 of file sstream.cpp.
| fc::stringstream::~stringstream | ( | ) |
Definition at line 30 of file sstream.cpp.
| void fc::stringstream::clear | ( | ) |
Definition at line 41 of file sstream.cpp.
|
virtual |
Implements fc::ostream.
Definition at line 76 of file sstream.cpp.
|
virtual |
Definition at line 46 of file sstream.cpp.
|
virtual |
Implements fc::ostream.
Definition at line 77 of file sstream.cpp.
| char fc::stringstream::peek | ( | ) |
Definition at line 79 of file sstream.cpp.
|
virtual |
read at least 1 byte or throw, if no data is available this method should block cooperatively until data is available or fc::eof is thrown.
| fc::eof | if at least 1 byte cannot be read |
Implements fc::istream.
Definition at line 62 of file sstream.cpp.
|
virtual |
Implements fc::istream.
Definition at line 70 of file sstream.cpp.
| std::string fc::stringstream::str | ( | ) |
Definition at line 33 of file sstream.cpp.
| void fc::stringstream::str | ( | const std::string & | s | ) |
Definition at line 37 of file sstream.cpp.
|
virtual |
Implements fc::ostream.
Definition at line 49 of file sstream.cpp.
|
virtual |
Implements fc::ostream.
Definition at line 57 of file sstream.cpp.
1.8.17