scclib
Stable Cloud Computing C++ Library
|
Pipeline writer which flows through all data. More...
#include <iobase.h>
Public Member Functions | |
FlowThroughPipelineWriter (const std::shared_ptr< Writer > &w) | |
virtual size_t | write (const void *loc, size_t len) |
Write interface. More... | |
virtual void | write_reset (const std::shared_ptr< Writer > &w) |
Reset interface. More... | |
virtual std::shared_ptr< Writer > | write_shared () const |
Public Attributes | |
std::shared_ptr< Writer > | writer |
|
inlinevirtual |
Write interface.
Write a block of data to a maximum. Return number of bytes written.
Implements scc::util::Writer.
|
inlinevirtual |
Reset interface.
The underlying writer is reset and will be used for all future writes.
Implements scc::util::PipelineWriter.