scclib
Stable Cloud Computing C++ Library
|
Allows wrapping of generic streaming objects into std::iostream. More...
Files | |
file | iobase.h |
Input/output stream base reader/writer interface classes. | |
file | iopipeline.h |
Input/output streaming pipeline. | |
file | iostream.h |
Base input/output stream classes. | |
file | rwcounter.h |
Read/write counter. | |
file | rwloopbuf.h |
Loopback read/write buffer. | |
file | rwtimer.h |
Read/write timer. | |
file | iostream.cc |
input/output stream utilities implementation | |
file | iohelper.cc |
Tests for input/output stream utilities. | |
file | iostream.cc |
Tests for input/output stream utilities. | |
Classes | |
struct | scc::util::Reader |
Interface class for objects which can be read. More... | |
struct | scc::util::PipelineReader |
Pipeline reader to carry out processing in a pipeline (chain of readers). More... | |
struct | scc::util::Writer |
Interface class for objects which can be written. More... | |
struct | scc::util::PipelineWriter |
Pipeline writer to carry out processing in a pipeline (chain of writers). More... | |
struct | scc::util::FlowThroughPipelineReader |
Pipeline reader which flows through all data. More... | |
struct | scc::util::FlowThroughPipelineWriter |
Pipeline writer which flows through all data. More... | |
struct | scc::util::InChain |
Chain of readers base class. More... | |
struct | scc::util::OutChain |
Chain of writers base class. More... | |
struct | scc::util::InPipeline |
Input stream with pipeline of readers. More... | |
struct | scc::util::OutPipeline |
Output stream pipeline of writers. More... | |
struct | scc::util::IoPipeline |
Input/output stream with pipeline of readers and writers. More... | |
class | scc::util::InStream |
Input stream wrapper for reader. More... | |
class | scc::util::OutStream |
Output stream wrapper for writer. More... | |
class | scc::util::IoStream |
Input/output stream wrapper for reader/writer. More... | |
class | scc::util::ReadCounter |
Adds byte count to a read stream. More... | |
class | scc::util::WriteCounter |
Adds byte count to a write stream. More... | |
class | scc::util::RwCounter |
Adds byte count to a read/write stream. More... | |
class | scc::util::RwLoopBuffer |
Loopback read/write stream buffer. More... | |
class | scc::util::ReadTimer |
Adds timer to a read stream. More... | |
class | scc::util::WriteTimer |
Adds timer to a write stream. More... | |
class | scc::util::RwTimer |
Adds byte count to a read/write stream. More... | |
Allows wrapping of generic streaming objects into std::iostream.
Can create pipeline objects that add behavior to the stream.
Example from scclib/util/unittest/iostream.cc of basic stream:
Example from scclib/util/unittest/iohelper.cc showing chaining of reader/writers:
Example with counter and timer: