An implementation of TagLib::File with Matroska specific methods. More...
#include <matroskafile.h>
Static Public Member Functions | |
| static bool | isSupported (IOStream *stream) |
Friends | |
| class | Properties |
Additional Inherited Members | |
Public Types inherited from TagLib::File | |
| enum | Position { Beginning , Current , End } |
| enum | StripTags { StripNone , StripOthers } |
| enum | DuplicateTags { Duplicate , DoNotDuplicate } |
Protected Member Functions inherited from TagLib::File | |
| File (FileName fileName) | |
| File (IOStream *stream) | |
| void | setValid (bool valid) |
| void | truncate (offset_t length) |
Static Protected Member Functions inherited from TagLib::File | |
| static unsigned int | bufferSize () |
An implementation of TagLib::File with Matroska specific methods.
Implementation of TagLib::File for Matroska.
|
explicit |
|
explicit |
|
overridevirtual |
Destroys this instance of the File.
Reimplemented from TagLib::File.
| Attachments * TagLib::Matroska::File::attachments | ( | bool | create = false | ) | const |
Returns a pointer to the attachments of the file.
If create is false this may return a null pointer if there are no attachments. If create is true it will create attachments if none exist and returns a valid pointer.
|
overridevirtual |
Returns the Matroska::Properties for this file. If no audio properties were read then this will return a null pointer.
Implements TagLib::File.
Returns a pointer to the chapters of the file.
If create is false this may return a null pointer if there are no chapters. If create is true it will create chapters if none exist and returns a valid pointer.
|
overridevirtual |
Get the pictures stored in the attachments as complex properties for key "PICTURE". Other attached files can be retrieved, by media type, file name or UID. The attached files are returned as maps with keys "data", "mimeType", "description", "fileName, "uid". Binary simple tags can be retrieved as maps with keys "data", "name", "targetTypeValue", "language", "defaultLanguage".
Reimplemented from TagLib::File.
|
overridevirtual |
Returns the keys for attached files, "PICTURE" for images, the media type, file name or UID for other attached files. The names of the binary simple tags are included too.
Reimplemented from TagLib::File.
Returns whether or not the given stream can be opened as a Matroska file.
|
overridevirtual |
Implements the reading part of the unified property interface.
Reimplemented from TagLib::File.
|
overridevirtual |
Removes unsupported properties, or a subset of them, from the file's metadata. The parameter properties must contain only entries from properties().unsupportedData().
Reimplemented from TagLib::File.
|
overridevirtual |
|
overridevirtual |
Set attached files as complex properties value, e.g. pictures for key "PICTURE" with the maps in value having keys "data", "mimeType", "description", "fileName, "uid". For other attached files, the mime type, file name or UID can be used as the \a key. Maps with keys "name" (with the same value as \a key) and "data" are stored as binary simple tags with additional keys "targetTypeValue", "language", "defaultLanguage".
Reimplemented from TagLib::File.
|
overridevirtual |
Implements the writing part of the unified tag dictionary interface.
Reimplemented from TagLib::File.
|
overridevirtual |
Returns a pointer to the tag of the file.
It will create a tag if one does not exist and returns a valid pointer.
Implements TagLib::File.
Returns a pointer to the Matroska tag of the file.
If create is false this may return a null pointer if there is no tag. If create is true it will create a tag if one does not exist and returns a valid pointer.
|
friend |