NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | Archive |
Enumerations | |
enum | Archive::Type { Archive::ARCHIVE_AUTO , Archive::ARCHIVE_TAR , Archive::ARCHIVE_GZ , Archive::ARCHIVE_ZLIB , Archive::ARCHIVE_ZIP , Archive::ARCHIVE_NONE } |
Functions | |
Type | Archive::detectType (const std::string &sArchiveFileName) |
Detects the type of the archive based upon the magic numbers in their header sections or upon the file names extension, if the file does not yet exist. More... | |
void | Archive::pack (const std::vector< std::string > &vFileList, const std::string &sTargetFile, Type type) |
Pack a set of files or folders into an archive file type with the specified file name. If the type of the archive is not specified then its automatically detected based upon the file extension or from an already existing file at the specified location. More... | |
std::vector< std::string > | Archive::unpack (const std::string &sArchiveName, const std::string &sTargetPath) |
Unpacks an archive file format into its folder structure at the specified location. The archive file type is detected automatically. If no target is specified then only the names of the contained files are returned. More... | |