![]() |
Miam-Player
0.8.0
A nice music player
|
#include <asftag.h>
Public Member Functions | |
Tag () | |
virtual | ~Tag () |
Destroys this Tag instance. More... | |
virtual String | title () const |
Returns the track name. More... | |
virtual String | artist () const |
Returns the artist name. More... | |
virtual String | album () const |
Returns the album name; if no album name is present in the tag String::null will be returned. More... | |
virtual String | comment () const |
Returns the track comment. More... | |
virtual String | genre () const |
Returns the genre name; if no genre is present in the tag String::null will be returned. More... | |
virtual String | rating () const |
Returns the rating. More... | |
virtual String | copyright () const |
Returns the genre name; if no genre is present in the tag String::null will be returned. More... | |
virtual unsigned int | year () const |
Returns the year; if there is no year set, this will return 0. More... | |
virtual unsigned int | track () const |
Returns the track number; if there is no track number set, this will return 0. More... | |
virtual void | setTitle (const String &s) |
Sets the title to s. More... | |
virtual void | setArtist (const String &s) |
Sets the artist to s. More... | |
virtual void | setAlbum (const String &s) |
Sets the album to s. More... | |
virtual void | setComment (const String &s) |
Sets the comment to s. More... | |
virtual void | setRating (const String &s) |
Sets the rating to s. More... | |
virtual void | setCopyright (const String &s) |
Sets the copyright to s. More... | |
virtual void | setGenre (const String &s) |
Sets the genre to s. More... | |
virtual void | setYear (unsigned int i) |
Sets the year to i. More... | |
virtual void | setTrack (unsigned int i) |
Sets the track to i. More... | |
virtual bool | isEmpty () const |
Returns true if the tag does not contain any data. More... | |
AttributeListMap & | attributeListMap () |
const AttributeListMap & | attributeListMap () const |
Returns a reference to the item list map. More... | |
bool | contains (const String &name) const |
void | removeItem (const String &name) |
Removes the key attribute from the tag. More... | |
AttributeList | attribute (const String &name) const |
void | setAttribute (const String &name, const Attribute &attribute) |
Sets the key attribute to the value of attribute. More... | |
void | setAttribute (const String &name, const AttributeList &values) |
Sets multiple values to the key name. More... | |
void | addAttribute (const String &name, const Attribute &attribute) |
Sets the key attribute to the value of attribute. More... | |
PropertyMap | properties () const |
void | removeUnsupportedProperties (const StringList &properties) |
PropertyMap | setProperties (const PropertyMap &properties) |
![]() | |
PropertyMap | properties () const |
Exports the tags of the file as dictionary mapping (human readable) tag names (Strings) to StringLists of tag values. More... | |
void | removeUnsupportedProperties (const StringList &properties) |
Removes unsupported properties, or a subset of them, from the tag. More... | |
PropertyMap | setProperties (const PropertyMap &properties) |
Sets the tags of this File to those specified in properties. More... | |
Friends | |
class | File |
Additional Inherited Members | |
![]() | |
static void | duplicate (const Tag *source, Tag *target, bool overwrite=true) |
Copies the generic data from one tag to another. More... | |
![]() | |
Tag () | |
Construct a Tag. More... | |
TagLib::ASF::Tag::Tag | ( | ) |
|
virtual |
Destroys this Tag instance.
Reimplemented from TagLib::Tag.
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 |
Returns the album name; if no album name is present in the tag String::null will be returned.
Implements TagLib::Tag.
|
virtual |
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.
|
virtual |
Returns the track comment.
Implements TagLib::Tag.
bool TagLib::ASF::Tag::contains | ( | const String & | name | ) | const |
|
virtual |
Returns the genre name; if no genre is present in the tag String::null will be returned.
|
virtual |
Returns the genre name; if no genre is present in the tag String::null will be returned.
Implements TagLib::Tag.
|
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.
PropertyMap TagLib::ASF::Tag::properties | ( | ) | const |
|
virtual |
Returns the rating.
void TagLib::ASF::Tag::removeItem | ( | const String & | name | ) |
Removes the key attribute from the tag.
void TagLib::ASF::Tag::removeUnsupportedProperties | ( | const StringList & | properties | ) |
|
virtual |
|
virtual |
Sets the artist to s.
Implements TagLib::Tag.
Sets the key attribute to the value of attribute.
If an attribute with the key 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.
|
virtual |
Sets the comment to s.
Implements TagLib::Tag.
|
virtual |
Sets the copyright to s.
|
virtual |
Sets the genre to s.
Implements TagLib::Tag.
PropertyMap TagLib::ASF::Tag::setProperties | ( | const PropertyMap & | properties | ) |
|
virtual |
Sets the rating to s.
|
virtual |
Sets the title to s.
Implements TagLib::Tag.
|
virtual |
|
virtual |
|
virtual |
Returns the track name.
Implements TagLib::Tag.
|
virtual |
Returns the track number; if there is no track number set, this will return 0.
Implements TagLib::Tag.
|
virtual |
Returns the year; if there is no year set, this will return 0.
Implements TagLib::Tag.
|
friend |