Public Member Functions | List of all members
ByteReadResource Class Referenceabstract

A read-only resource which is read as bytes. More...

#include <ByteReadResource.hpp>

Inheritance diagram for ByteReadResource:
[legend]
Collaboration diagram for ByteReadResource:
[legend]

Public Member Functions

virtual std::istream & readStream ()=0
 Get the input stream of the byte read resource. More...
 
- Public Member Functions inherited from Resource
virtual ~Resource ()=default
 Destroy the resource instance. More...
 
virtual void close ()=0
 Close the stream(s) in the resource. More...
 
virtual const Uriuri () const =0
 Get the URI associated with this resource. More...
 

Detailed Description

A read-only resource which is read as bytes.

Member Function Documentation

◆ readStream()

virtual std::istream& readStream ( )
pure virtual

Get the input stream of the byte read resource.

Implemented in HttpByteReadResource, HttpsByteReadResource, FileByteReadResource, ZipEntryByteReadResource, and StringUriByteReadResource.


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