|
| | StringStream (std::string const &data="") |
| |
|
std::string | getSourceData () const |
| | Get a copy of the text from the sink/output stream, without changing the stream.
|
| |
|
std::string | getSinkData () const |
| | Get a copy of the text from the sink/output stream, without changing the stream.
|
| |
|
void | sinkToSource () |
| | Move output/sink data to input/source.
|
| |
| | Stream (std::istream *istreamPtr, std::ostream *ostreamPtr) |
| |
|
| Stream (Stream const &)=default |
| |
|
| Stream (Stream &&)=default |
| |
|
Stream & | operator= (Stream const &)=default |
| |
|
Stream & | operator= (Stream &&)=default |
| |
| bool | hasStdStream () |
| |
| char const * | source () |
| |
| bool | sink (char const *cstr) |
| |
|
bool | getIsFits () const |
| | get isfits
|
| |
String-based source and sink for channels
This sources from one stringstream and sinks to another. The data can be retrieved at any time, without affecting the stream, using getData.