Public Member Functions | List of all members
StringUriByteWriteResource Class Reference

A write only String URI that is written as bytes. More...

#include <StringUriByteWriteResource.hpp>

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

Public Member Functions

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

Detailed Description

A write only String URI that is written as bytes.

Constructor & Destructor Documentation

◆ StringUriByteWriteResource()

StringUriByteWriteResource ( StringUri stringUri_)
explicit

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

Member Function Documentation

◆ close()

void close ( )
inlineoverridevirtual

Close the stream(s) in the resource.

Implements Resource.

◆ uri()

const Uri& uri ( ) const
overridevirtual

Get the URI associated with this resource.

Implements Resource.

◆ writeStream()

std::ostream& writeStream ( )
inlineoverridevirtual

Get the output stream of the byte write resource.

Implements ByteWriteResource.


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