Public Member Functions | List of all members
StringUriUtf32To8WriteResource Class Reference

A write-only UTF-8 resource in a standard file on a file system, which is written with UTF-32 characters. More...

#include <StringUriUtf32To8WriteResource.hpp>

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

Public Member Functions

 StringUriUtf32To8WriteResource (StringUri &stringUri_)
 Create a new file UTF-32 to UTF-8 write resource from the supplied file 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::u32ostream & writeStream () override
 Get the output stream of the UTF-32 to UTF-8 write resource. More...
 
- Public Member Functions inherited from Resource
virtual ~Resource ()=default
 Destroy the resource instance. More...
 

Detailed Description

A write-only UTF-8 resource in a standard file on a file system, which is written with UTF-32 characters.

Constructor & Destructor Documentation

◆ StringUriUtf32To8WriteResource()

StringUriUtf32To8WriteResource ( StringUri stringUri_)
explicit

Create a new file UTF-32 to UTF-8 write resource from the supplied file URI.

Exceptions
NotFoundExceptionif the file does not exist

Member Function Documentation

◆ close()

void close ( )
overridevirtual

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::u32ostream& writeStream ( )
inlineoverridevirtual

Get the output stream of the UTF-32 to UTF-8 write resource.

Implements Utf32To8WriteResource.


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