An implementation of ASF (WMA) tags. More...
#include <asftag.h>
Friends | |
class | File |
Additional Inherited Members | |
![]() | |
static void | duplicate (const Tag *source, Tag *target, bool overwrite=true) |
static String | joinTagValues (const StringList &values) |
![]() | |
Tag () | |
An implementation of ASF (WMA) tags.
TagLib::ASF::Tag::Tag | ( | ) |
|
overridevirtual |
Destroys this Tag instance.
Reimplemented from TagLib::Tag.
Sets the name attribute to the value of attribute. If an attribute with the name is already present, it will be added to the list.
|
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.
Implements TagLib::Tag.
AttributeList TagLib::ASF::Tag::attribute | ( | const String & | name | ) | const |
AttributeListMap & TagLib::ASF::Tag::attributeListMap | ( | ) |
const AttributeListMap & TagLib::ASF::Tag::attributeListMap | ( | ) | const |
Returns a reference to the item list map. This is an AttributeListMap of all of the items in the tag.
|
overridevirtual |
Returns the track comment.
Implements TagLib::Tag.
|
overridevirtual |
Get the complex properties for a given key. In order to be flexible for different metadata formats, the properties are represented as variant maps. Despite this dynamic nature, some degree of standardization should be achieved between formats:
Reimplemented from TagLib::Tag.
|
overridevirtual |
Get the keys of complex properties, i.e. properties which cannot be represented simply by a string. Because such properties might be expensive to fetch, there are separate operations to get the available keys - which is expected to be cheap - and getting and setting the property values. The default implementation returns only an empty list. Reimplementations should provide "PICTURE" if embedded cover art is present, and optionally support other properties.
Reimplemented from TagLib::Tag.
true
if a value for key is currently set. Returns the copyright information; if no copyright information is present in the tag an empty string will be returned.
|
overridevirtual |
Returns the genre name; if no genre is present in the tag an empty string will be returned.
Implements TagLib::Tag.
|
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.
|
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 value. If value is an empty string then this value will be cleared.
Implements TagLib::Tag.
Sets the artist to value.
Implements TagLib::Tag.
Sets the name attribute to the value of attribute. If an attribute with the name is already present, it will be replaced.
void TagLib::ASF::Tag::setAttribute | ( | const String & | name, |
const AttributeList & | values | ||
) |
Sets multiple values to the key name.
Sets the comment to value.
Implements TagLib::Tag.
|
overridevirtual |
Set all complex properties for a given key using variant maps as value with the same format as returned by complexProperties(). An empty list as value removes all complex properties for key.
Reimplemented from TagLib::Tag.
Sets the copyright to value.
Sets the genre to value.
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 value.
Implements TagLib::Tag.
Sets the track to value. If value is 0 then this value will be cleared.
Implements TagLib::Tag.
Sets the year to value. If value is 0 then this value will be cleared.
Implements TagLib::Tag.
|
overridevirtual |
Returns the track name.
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.