#include <asftag.h>
Additional Inherited Members |
static void | duplicate (const Tag *source, Tag *target, bool overwrite=true) |
Constructor & Destructor Documentation
TagLib::ASF::Tag::Tag |
( |
| ) |
|
Construct a Tag. This is protected since tags should only be instantiated through subclasses.
Reimplemented from TagLib::Tag.
virtual TagLib::ASF::Tag::~Tag |
( |
| ) |
|
|
virtual |
Member Function Documentation
void TagLib::ASF::Tag::addAttribute |
( |
const String & |
name, |
|
|
const Attribute & |
attribute |
|
) |
| |
Sets the key attribute to the value of attribute. If an attribute with the key is already present, it will be added to the list.
virtual String TagLib::ASF::Tag::album |
( |
| ) |
const |
|
virtual |
Returns the album name; if no album name is present in the tag String::null will be returned.
Implements TagLib::Tag.
virtual String TagLib::ASF::Tag::artist |
( |
| ) |
const |
|
virtual |
Returns a reference to the item list map. This is an AttributeListMap of all of the items in the tag.
This is the most powerfull structure for accessing the items of the tag.
virtual String TagLib::ASF::Tag::comment |
( |
| ) |
const |
|
virtual |
virtual String TagLib::ASF::Tag::copyright |
( |
| ) |
const |
|
virtual |
Returns the genre name; if no genre is present in the tag String::null will be returned.
virtual String TagLib::ASF::Tag::genre |
( |
| ) |
const |
|
virtual |
virtual bool TagLib::ASF::Tag::isEmpty |
( |
| ) |
const |
|
virtual |
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.
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.
virtual String TagLib::ASF::Tag::rating |
( |
| ) |
const |
|
virtual |
void TagLib::ASF::Tag::removeItem |
( |
const String & |
name | ) |
|
Removes the key attribute from the tag
void TagLib::ASF::Tag::removeUnsupportedProperties |
( |
const StringList & |
properties | ) |
|
Removes unsupported properties, or a subset of them, from the tag. The parameter properties must contain only entries from properties().unsupportedData(). BIC: Will become virtual in future releases. Currently the non-virtual standard implementation of TagLib::Tag does nothing, since there are no unsupported elements.
Reimplemented from TagLib::Tag.
virtual void TagLib::ASF::Tag::setAlbum |
( |
const String & |
s | ) |
|
|
virtual |
virtual void TagLib::ASF::Tag::setArtist |
( |
const String & |
s | ) |
|
|
virtual |
void TagLib::ASF::Tag::setAttribute |
( |
const String & |
name, |
|
|
const Attribute & |
attribute |
|
) |
| |
Sets the key attribute to the value of attribute. If an attribute with the key is already present, it will be replaced.
virtual void TagLib::ASF::Tag::setComment |
( |
const String & |
s | ) |
|
|
virtual |
virtual void TagLib::ASF::Tag::setCopyright |
( |
const String & |
s | ) |
|
|
virtual |
virtual void TagLib::ASF::Tag::setGenre |
( |
const String & |
s | ) |
|
|
virtual |
Sets the tags of this File to those specified in properties. 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.
virtual void TagLib::ASF::Tag::setRating |
( |
const String & |
s | ) |
|
|
virtual |
virtual void TagLib::ASF::Tag::setTitle |
( |
const String & |
s | ) |
|
|
virtual |
virtual void TagLib::ASF::Tag::setTrack |
( |
uint |
i | ) |
|
|
virtual |
Sets the track to i. If s is 0 then this value will be cleared.
Implements TagLib::Tag.
virtual void TagLib::ASF::Tag::setYear |
( |
uint |
i | ) |
|
|
virtual |
Sets the year to i. If s is 0 then this value will be cleared.
Implements TagLib::Tag.
virtual String TagLib::ASF::Tag::title |
( |
| ) |
const |
|
virtual |
virtual uint TagLib::ASF::Tag::track |
( |
| ) |
const |
|
virtual |
Returns the track number; if there is no track number set, this will return 0.
Implements TagLib::Tag.
virtual uint TagLib::ASF::Tag::year |
( |
| ) |
const |
|
virtual |
Returns the year; if there is no year set, this will return 0.
Implements TagLib::Tag.
Friends And Related Function Documentation
The documentation for this class was generated from the following file: