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

#include <MemoryFileSystemInputStream.h>

Inheritance diagram for detail::MemoryFileSystemInputStream:
BlobInputStream InputStream

Public Member Functions

 MemoryFileSystemInputStream (std::shared_ptr< MemoryFileData > data)
 
virtual ~MemoryFileSystemInputStream ()
 
- Public Member Functions inherited from BlobInputStream
 BlobInputStream ()=default
 
 BlobInputStream (Blob &&blob)
 
 BlobInputStream (const Blob &blob)
 
void open (Blob &&blob)
 
void open (const Blob &blob)
 
virtual size_t read (void *data, size_t size) override
 
virtual size_t skip (size_t size) override
 
virtual void close () override
 
virtual std::string displayPath () const override
 
void seek (ssize_t pos)
 
ssize_t position () const
 
ssize_t size () const
 
Blob tail () const
 
Blob readBlob (size_t size)
 
Blob readBlobOrFail (size_t size)
 
- Public Member Functions inherited from InputStream
virtual ~InputStream ()
 
virtual size_t read (void *data, size_t size)=0
 
void readOrFail (void *data, size_t size)
 
std::string readAll (size_t maxSize=-1)
 
virtual size_t skip (size_t size)=0
 
void skipOrFail (size_t size)
 
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

◆ MemoryFileSystemInputStream()

detail::MemoryFileSystemInputStream::MemoryFileSystemInputStream ( std::shared_ptr< MemoryFileData data)
explicit

◆ ~MemoryFileSystemInputStream()

detail::MemoryFileSystemInputStream::~MemoryFileSystemInputStream ( )
virtual

Member Function Documentation

◆ close()

void detail::MemoryFileSystemInputStream::close ( )
overrideprivatevirtual

Closes this input stream. Reading from a closed stream will result in undefined behavior.

Does nothing if the stream is already closed.

Exceptions
ExceptionOn error.

Reimplemented from BlobInputStream.

◆ closeInternal()

void detail::MemoryFileSystemInputStream::closeInternal ( )
private

Member Data Documentation

◆ _data

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

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