OpenEnroth 73e68f7
|
#include <MemoryFileSystemOutputStream.h>
Public Member Functions | |
MemoryFileSystemOutputStream (std::shared_ptr< MemoryFileData > data, std::string_view displayPath) | |
virtual | ~MemoryFileSystemOutputStream () |
Public Member Functions inherited from BlobOutputStream | |
BlobOutputStream () | |
BlobOutputStream (Blob *target, std::string_view displayPath={}) | |
virtual | ~BlobOutputStream () |
void | open (Blob *target, std::string_view displayPath={}) |
virtual void | flush () override |
virtual void | close () override |
virtual std::string | displayPath () const override |
Public Member Functions inherited from StringOutputStream | |
StringOutputStream ()=default | |
StringOutputStream (std::string *target, std::string_view displayPath={}) | |
virtual | ~StringOutputStream () |
void | open (std::string *target, std::string_view displayPath={}) |
virtual void | write (const void *data, size_t size) override |
virtual void | flush () override |
virtual void | close () override |
virtual std::string | displayPath () const override |
virtual void | write (const void *data, size_t size)=0 |
void | write (std::string_view s) |
void | write (const Blob &blob) |
Public Member Functions inherited from OutputStream | |
virtual | ~OutputStream () |
virtual void | write (const void *data, size_t size)=0 |
void | write (std::string_view s) |
void | write (const Blob &blob) |
virtual void | flush ()=0 |
virtual void | close ()=0 |
virtual std::string | displayPath () const =0 |
Private Member Functions | |
virtual void | close () override |
void | closeInternal () |
Private Attributes | |
std::shared_ptr< MemoryFileData > | _data |
|
explicit |
|
virtual |
|
overrideprivatevirtual |
Closes this output stream. Writing into or flushing a closed stream will result in undefined behavior.
Does nothing if the stream is already closed.
Exception | On error. |
Reimplemented from BlobOutputStream.
|
private |
|
private |