Matroska tag implementation. More...
#include <matroskatag.h>
Friends | |
| class | File |
| class | EBML::MkTags |
Additional Inherited Members | |
Static Public Member Functions inherited from TagLib::Tag | |
| static void | duplicate (const Tag *source, Tag *target, bool overwrite=true) |
| static String | joinTagValues (const StringList &values) |
Protected Member Functions inherited from TagLib::Tag | |
| Tag () | |
Matroska tag implementation.
| TagLib::Matroska::Tag::Tag | ( | ) |
Constructs a Matroska tag.
|
overridevirtual |
Destroys this Tag instance.
Reimplemented from TagLib::Tag.
| void TagLib::Matroska::Tag::addSimpleTags | ( | const SimpleTagsList & | simpleTags | ) |
Add multiple tag attributes.
|
overridevirtual |
Returns the album name; if no album name is present in the tag an empty string will be returned.
Implements TagLib::Tag.
|
overridevirtual |
Returns the artist name; if no artist name is present in the tag an empty string will be returned.
Implements TagLib::Tag.
| void TagLib::Matroska::Tag::clearSimpleTags | ( | ) |
Remove all tag attributes.
|
overridevirtual |
Returns the track comment; if no comment is present in the tag an empty string will be returned.
Implements TagLib::Tag.
|
overridevirtual |
Get the binary simple tags as maps with keys "data", "name", "targetTypeValue", "language", "defaultLanguage". The attached files such as pictures with key "PICTURE" are available with Matroska::File::complexProperties().
Reimplemented from TagLib::Tag.
|
overridevirtual |
Returns the names of the binary simple tags.
Reimplemented from TagLib::Tag.
|
overridevirtual |
Returns the genre name; if no genre is present in the tag an empty string will be returned.
Implements TagLib::Tag.
Insert a tag attribute at position index.
|
overridevirtual |
Returns true if the tag does not contain any data. This should be reimplemented in subclasses that provide more than the basic tagging abilities in this class.
Reimplemented from TagLib::Tag.
|
overridevirtual |
Exports the tags of the file as dictionary mapping (human readable) tag names (Strings) to StringLists of tag values. The default implementation in this class considers only the usual built-in tags (artist, album, ...) and only one value per key.
Reimplemented from TagLib::Tag.
| void TagLib::Matroska::Tag::removeSimpleTag | ( | const String & | name, |
| SimpleTag::TargetTypeValue | targetTypeValue, | ||
| unsigned long long | trackUid = 0 |
||
| ) |
Remove a tag attribute.
Remove a tag attribute at position index.
|
overridevirtual |
Removes unsupported properties, or a subset of them, from the tag. The parameter properties must contain only entries from properties().unsupportedData().
Reimplemented from TagLib::Tag.
Sets the album to s. If s is an empty string then this value will be cleared.
Implements TagLib::Tag.
Sets the artist to s. If s is an empty string then this value will be cleared.
Implements TagLib::Tag.
Sets the comment to s. If s is an empty string then this value will be cleared.
Implements TagLib::Tag.
|
overridevirtual |
Set the binary simple tags as maps with keys "data", "name", "targetTypeValue", "language", "defaultLanguage". The attached files such as pictures with key "PICTURE" can be set with Matroska::File::setComplexProperties().
Returns true if key can be stored as binary simple tags.
Reimplemented from TagLib::Tag.
Sets the genre to s. If s is an empty string then this value will be cleared. For tag formats that use a fixed set of genres, the appropriate value will be selected based on a string comparison. A list of available genres for those formats should be available in that type's implementation.
Implements TagLib::Tag.
|
overridevirtual |
Sets the tags of this File to those specified in origProps. This default implementation sets only the tags for which setter methods exist in this class (artist, album, ...), and only one value per key; the rest will be contained in the returned PropertyMap.
Reimplemented from TagLib::Tag.
Sets the title to s. If s is an empty string then this value will be cleared.
Implements TagLib::Tag.
Sets the track to i. If s is 0 then this value will be cleared.
Implements TagLib::Tag.
Sets the year to i. If s is 0 then this value will be cleared.
Implements TagLib::Tag.
| const SimpleTagsList & TagLib::Matroska::Tag::simpleTagsList | ( | ) | const |
Get list of all tag attributes.
|
overridevirtual |
Returns the track name; if no track name is present in the tag an empty string will be returned.
Implements TagLib::Tag.
Returns the track number; if there is no track number set, this will return 0.
Implements TagLib::Tag.
Returns the year; if there is no year set, this will return 0.
Implements TagLib::Tag.