QInstaller::BinaryFormatEngine Class

class QInstaller::BinaryFormatEngine

The BinaryFormatEngine class is the default file engine for accessing resource collections and resource files. More...

Header: #include <BinaryFormatEngine>

Public Functions

BinaryFormatEngine(const QHash<QByteArray, QInstaller::ResourceCollection> &collections, const QString &fileName)

Reimplemented Public Functions

virtual QAbstractFileEngine::IteratorUniquePtr beginEntryList(const QString &path, QDirListing::IteratorFlags filters, const QStringList &filterNames) override
virtual bool close() override
virtual bool copy(const QString &newName) override
virtual QAbstractFileEngine::FileFlags fileFlags(QAbstractFileEngine::FileFlags type = FileInfoAll) const override
virtual QString fileName(QAbstractFileEngine::FileName file = DefaultName) const override
virtual bool open(QIODeviceBase::OpenMode mode, std::optional<QFileDevice::Permissions> permissions = std::nullopt) override
virtual qint64 pos() const override
virtual qint64 read(char *data, qint64 maxlen) override
virtual bool seek(qint64 offset) override
virtual void setFileName(const QString &file) override
virtual qint64 size() const override

Detailed Description

Member Function Documentation

BinaryFormatEngine::BinaryFormatEngine(const QHash<QByteArray, QInstaller::ResourceCollection> &collections, const QString &fileName)

Constructs a new binary format engine with collections and fileName.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.