Public Member Functions | List of all members
StringUriByteReadResource Class Reference

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

#include <StringUriByteReadResource.hpp>

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

Public Member Functions

 StringUriByteReadResource (const StringUri &stringUri_)
 Create a new string byte read resource from the supplied String URI. More...
 
void close () override
 Close the stream(s) in the resource. More...
 
std::istream & readStream () override
 Get the input stream of the byte read resource. More...
 
const Uriuri () const override
 Get the URI associated with this resource. More...
 
- Public Member Functions inherited from Resource
virtual ~Resource ()=default
 Destroy the resource instance. More...
 

Detailed Description

A read-only String URI resource which is read as bytes.

Constructor & Destructor Documentation

◆ StringUriByteReadResource()

StringUriByteReadResource ( const StringUri stringUri_)
explicit

Create a new string byte read resource from the supplied String URI.

Member Function Documentation

◆ close()

void close ( )
inlineoverridevirtual

Close the stream(s) in the resource.

Implements Resource.

◆ readStream()

std::istream& readStream ( )
inlineoverridevirtual

Get the input stream of the byte read resource.

Implements ByteReadResource.

◆ uri()

const Uri& uri ( ) const
overridevirtual

Get the URI associated with this resource.

Implements Resource.


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