![]() |
|
#include <mp4tag.h>
Public Member Functions | |
Tag (TagLib::File *file, Atoms *atoms) | |
~Tag () | |
bool | save () |
String | title () const |
String | artist () const |
String | album () const |
String | comment () const |
String | genre () const |
uint | year () const |
uint | track () const |
void | setTitle (const String &value) |
void | setArtist (const String &value) |
void | setAlbum (const String &value) |
void | setComment (const String &value) |
void | setGenre (const String &value) |
void | setYear (uint value) |
void | setTrack (uint value) |
ItemListMap & | itemListMap () |
TagLib::MP4::Tag::Tag | ( | TagLib::File * | file, | |
Atoms * | atoms | |||
) |
TagLib::MP4::Tag::~Tag | ( | ) | [virtual] |
Detroys this Tag instance.
Reimplemented from TagLib::Tag.
String TagLib::MP4::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.
String TagLib::MP4::Tag::artist | ( | ) | const [virtual] |
Returns the artist name; if no artist name is present in the tag String::null will be returned.
Implements TagLib::Tag.
String TagLib::MP4::Tag::comment | ( | ) | const [virtual] |
Returns the track comment; if no comment is present in the tag String::null will be returned.
Implements TagLib::Tag.
String TagLib::MP4::Tag::genre | ( | ) | const [virtual] |
Returns the genre name; if no genre is present in the tag String::null will be returned.
Implements TagLib::Tag.
ItemListMap& TagLib::MP4::Tag::itemListMap | ( | ) |
bool TagLib::MP4::Tag::save | ( | ) |
void TagLib::MP4::Tag::setAlbum | ( | const String & | s | ) | [virtual] |
Sets the album to s. If s is String::null then this value will be cleared.
Implements TagLib::Tag.
void TagLib::MP4::Tag::setArtist | ( | const String & | s | ) | [virtual] |
Sets the artist to s. If s is String::null then this value will be cleared.
Implements TagLib::Tag.
void TagLib::MP4::Tag::setComment | ( | const String & | s | ) | [virtual] |
Sets the comment to s. If s is String::null then this value will be cleared.
Implements TagLib::Tag.
void TagLib::MP4::Tag::setGenre | ( | const String & | s | ) | [virtual] |
Sets the genre to s. If s is String::null 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.
void TagLib::MP4::Tag::setTitle | ( | const String & | s | ) | [virtual] |
Sets the title to s. If s is String::null then this value will be cleared.
Implements TagLib::Tag.
void TagLib::MP4::Tag::setTrack | ( | uint | i | ) | [virtual] |
Sets the track to i. If s is 0 then this value will be cleared.
Implements TagLib::Tag.
void TagLib::MP4::Tag::setYear | ( | uint | i | ) | [virtual] |
Sets the year to i. If s is 0 then this value will be cleared.
Implements TagLib::Tag.
String TagLib::MP4::Tag::title | ( | ) | const [virtual] |
Returns the track name; if no track name is present in the tag String::null will be returned.
Implements TagLib::Tag.
uint TagLib::MP4::Tag::track | ( | ) | const [virtual] |
Returns the track number; if there is no track number set, this will return 0.
Implements TagLib::Tag.
uint TagLib::MP4::Tag::year | ( | ) | const [virtual] |
Returns the year; if there is no year set, this will return 0.
Implements TagLib::Tag.