Public Member Functions | List of all members
ZipEntryUtf8To32ReadResource Class Reference

A read-only entry in a zip file which is read as UTF-8 characters and implicitly converted to UTF-32 characters. More...

#include <ZipEntryUtf8To32ReadResource.hpp>

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

Public Member Functions

 ZipEntryUtf8To32ReadResource (const ZipEntry &entry_)
 Create a zip entry UTF-8 to UTF-32 read resource for the supplied zip entry URI. More...
 
void close () override
 Close the stream(s) in the resource. More...
 
std::u32istream & readStream () override
 Get the input stream of the UTF-8 to UTF-32 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 entry in a zip file which is read as UTF-8 characters and implicitly converted to UTF-32 characters.

Zip entry UTF-8 to UTF-32 read resources are created by calling ZipEntry::ZipEntryUtf8To32ReadResource.

Constructor & Destructor Documentation

◆ ZipEntryUtf8To32ReadResource()

ZipEntryUtf8To32ReadResource ( const ZipEntry entry_)
explicit

Create a zip entry UTF-8 to UTF-32 read resource for the supplied zip entry URI.

Member Function Documentation

◆ close()

void close ( )
inlineoverridevirtual

Close the stream(s) in the resource.

Implements Resource.

◆ readStream()

std::u32istream& readStream ( )
inlineoverridevirtual

Get the input stream of the UTF-8 to UTF-32 read resource.

Implements Utf8To32ReadResource.

◆ 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: