Public Member Functions | List of all members
ByteWriteResource Class Referenceabstract

A write-only resource which is written from bytes. More...

#include <ByteWriteResource.hpp>

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

Public Member Functions

virtual std::ostream & writeStream ()=0
 Get the output stream of the byte write 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 write-only resource which is written from bytes.

Member Function Documentation

◆ writeStream()

virtual std::ostream& writeStream ( )
pure virtual

Get the output stream of the byte write resource.

Implemented in StringUriByteWriteResource, and FileByteWriteResource.


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