QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGClibarchive.h File Reference

Private implementation details for QGCCompression. More...

#include "QGCCompressionTypes.h"
#include <QtCore/QByteArray>
#include <QtCore/QFile>
#include <QtCore/QIODevice>
#include <QtCore/QLoggingCategory>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <archive.h>
+ Include dependency graph for QGClibarchive.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QGClibarchive::ArchiveReader
 RAII wrapper for libarchive reader with automatic cleanup. More...
 

Namespaces

namespace  QGClibarchive
 

Typedefs

using QGClibarchive::ProgressCallback = QGCCompression::ProgressCallback
 
using QGClibarchive::ArchiveEntry = QGCCompression::ArchiveEntry
 
using QGClibarchive::ArchiveStats = QGCCompression::ArchiveStats
 
using QGClibarchive::EntryFilter = QGCCompression::EntryFilter
 

Enumerations

enum class  QGClibarchive::ReaderMode { QGClibarchive::AllFormats , QGClibarchive::RawFormat }
 Mode for ArchiveReader format support. More...
 

Functions

la_ssize_t QGClibarchive::deviceReadCallback (struct archive *, void *clientData, const void **buffer)
 
la_int64_t QGClibarchive::deviceSkipCallback (struct archive *, void *clientData, la_int64_t request)
 
int QGClibarchive::deviceCloseCallback (struct archive *, void *)
 
la_int64_t QGClibarchive::deviceSeekCallback (struct archive *, void *clientData, la_int64_t offset, int whence)
 
ArchiveEntry QGClibarchive::toArchiveEntry (struct archive_entry *entry)
 
bool QGClibarchive::openArchiveForReading (struct archive *a, const QString &filePath, QByteArray &resourceData)
 
bool QGClibarchive::extractAnyArchive (const QString &archivePath, const QString &outputDirectoryPath, ProgressCallback progress, qint64 maxBytes)
 
bool QGClibarchive::extractArchiveAtomic (const QString &archivePath, const QString &outputDirectoryPath, ProgressCallback progress, qint64 maxBytes)
 
bool QGClibarchive::extractSingleFile (const QString &archivePath, const QString &fileName, const QString &outputPath)
 
QByteArray QGClibarchive::extractFileToMemory (const QString &archivePath, const QString &fileName)
 
bool QGClibarchive::extractMultipleFiles (const QString &archivePath, const QStringList &fileNames, const QString &outputDirectoryPath)
 
bool QGClibarchive::extractByPattern (const QString &archivePath, const QStringList &patterns, const QString &outputDirectoryPath, QStringList *extractedFiles)
 
bool QGClibarchive::validateArchive (const QString &archivePath)
 
bool QGClibarchive::fileExistsInArchive (const QString &archivePath, const QString &fileName)
 
QStringList QGClibarchive::listArchiveEntries (const QString &archivePath)
 
QList< ArchiveEntryQGClibarchive::listArchiveEntriesDetailed (const QString &archivePath)
 
ArchiveStats QGClibarchive::getArchiveStats (const QString &archivePath)
 
bool QGClibarchive::extractWithFilter (const QString &archivePath, const QString &outputDirectoryPath, EntryFilter filter, ProgressCallback progress, qint64 maxBytes)
 
bool QGClibarchive::decompressSingleFile (const QString &inputPath, const QString &outputPath, ProgressCallback progress, qint64 maxBytes)
 
QByteArray QGClibarchive::decompressDataFromMemory (const QByteArray &data, qint64 maxBytes)
 
bool QGClibarchive::extractFromDevice (QIODevice *device, const QString &outputDirectoryPath, ProgressCallback progress, qint64 maxBytes)
 
QByteArray QGClibarchive::extractFileDataFromDevice (QIODevice *device, const QString &fileName)
 
bool QGClibarchive::decompressFromDevice (QIODevice *device, const QString &outputPath, ProgressCallback progress, qint64 maxBytes)
 
QByteArray QGClibarchive::decompressDataFromDevice (QIODevice *device, qint64 maxBytes)
 
QString QGClibarchive::lastDetectedFormatName ()
 
QString QGClibarchive::lastDetectedFilterName ()
 

Detailed Description

Private implementation details for QGCCompression.

Note
This is an internal header - use QGCCompression.h for public API

Definition in file QGClibarchive.h.