OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
detail::MemoryFileSystemOutputStream Class Reference

#include <MemoryFileSystemOutputStream.h>

Inheritance diagram for detail::MemoryFileSystemOutputStream:
BlobOutputStream Embedded< std::string > StringOutputStream OutputStream

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
 

Constructor & Destructor Documentation

◆ MemoryFileSystemOutputStream()

detail::MemoryFileSystemOutputStream::MemoryFileSystemOutputStream ( std::shared_ptr< MemoryFileData data,
std::string_view  displayPath 
)
explicit

◆ ~MemoryFileSystemOutputStream()

detail::MemoryFileSystemOutputStream::~MemoryFileSystemOutputStream ( )
virtual

Member Function Documentation

◆ close()

void detail::MemoryFileSystemOutputStream::close ( )
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.

Exceptions
ExceptionOn error.

Reimplemented from BlobOutputStream.

◆ closeInternal()

void detail::MemoryFileSystemOutputStream::closeInternal ( )
private

Member Data Documentation

◆ _data

std::shared_ptr<MemoryFileData> detail::MemoryFileSystemOutputStream::_data
private

The documentation for this class was generated from the following files: