Tag Parser: backuphelper.h File Reference

Tag Parser 12.5.2 C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags

Loading...
Searching...
No Matches
Namespaces | Functions
backuphelper.h File Reference
`#include "./global.h"`
`#include <c++utilities/io/nativefilestream.h>`
Include dependency graph for backuphelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces
namespace | TagParser
| Contains all classes and functions of the TagInfo library.
namespace | TagParser::BackupHelper
| Helps to create and restore backup files when rewriting files to apply changed tag information.

## Functions
TAG_PARSER_EXPORT void | TagParser::BackupHelper::restoreOriginalFileFromBackupFile (const std::string &originalPath, const std::string &backupPath, CppUtilities::NativeFileStream &originalStream, CppUtilities::NativeFileStream &backupStream)
TAG_PARSER_EXPORT void | TagParser::BackupHelper::createBackupFile (const std::string &backupDir, const std::string &originalPath, std::string &backupPath, CppUtilities::NativeFileStream &originalStream, CppUtilities::NativeFileStream &backupStream)
TAG_PARSER_EXPORT void | TagParser::BackupHelper::createBackupFileCanonical (const std::string &backupDir, std::string &originalPath, std::string &backupPath, CppUtilities::NativeFileStream &originalStream, CppUtilities::NativeFileStream &backupStream)
| Creates a backup file like createBackupFile() but canonicalizes originalPath before doing the backup.
TAG_PARSER_EXPORT void | TagParser::BackupHelper::handleFailureAfterFileModified (MediaFileInfo &fileInfo, const std::string &backupPath, CppUtilities::NativeFileStream &outputStream, CppUtilities::NativeFileStream &backupStream, Diagnostics &diag, const std::string &context="making file")
TAG_PARSER_EXPORT void | TagParser::BackupHelper::handleFailureAfterFileModifiedCanonical (MediaFileInfo &fileInfo, const std::string &originalPath, const std::string &backupPath, CppUtilities::NativeFileStream &outputStream, CppUtilities::NativeFileStream &backupStream, Diagnostics &diag, const std::string &context)
| Handles a failure/abort which occurred after the file has been modified.