26 #ifndef TAGLIB_MP4TAG_H 27 #define TAGLIB_MP4TAG_H 54 virtual String title()
const;
55 virtual String artist()
const;
56 virtual String album()
const;
57 virtual String comment()
const;
59 virtual unsigned int year()
const;
60 virtual unsigned int track()
const;
62 virtual void setTitle(
const String &value);
63 virtual void setArtist(
const String &value);
64 virtual void setAlbum(
const String &value);
65 virtual void setComment(
const String &value);
66 virtual void setGenre(
const String &value);
67 virtual void setYear(
unsigned int value);
68 virtual void setTrack(
unsigned int value);
70 virtual bool isEmpty()
const;
90 void setItem(
const String &key,
const Item &value);
96 void removeItem(
const String &key);
101 bool contains(
const String &key)
const;
109 void removeUnsupportedProperties(
const StringList& properties);
117 void setTextItem(
const String &key,
const String &value);
120 AtomDataList parseData2(
const Atom *atom,
int expectedFlags = -1,
121 bool freeForm =
false);
122 ByteVectorList parseData(
const Atom *atom,
int expectedFlags = -1,
123 bool freeForm =
false);
124 void parseText(
const Atom *atom,
int expectedFlags = 1);
125 void parseFreeForm(
const Atom *atom);
126 void parseInt(
const Atom *atom);
127 void parseByte(
const Atom *atom);
128 void parseUInt(
const Atom *atom);
129 void parseLongLong(
const Atom *atom);
130 void parseGnre(
const Atom *atom);
131 void parseIntPair(
const Atom *atom);
132 void parseBool(
const Atom *atom);
133 void parseCovr(
const Atom *atom);
140 int flags = TypeUTF8)
const;
151 void updateParents(
const AtomList &path,
long delta,
int ignore = 0);
152 void updateOffsets(
long delta,
long offset);
155 void saveExisting(
ByteVector data,
const AtomList &path);
157 void addItem(
const String &name,
const Item &value);
A list of ByteVectors.
Definition: tbytevectorlist.h:41
TagLib::Map< String, Item > ItemMap
Definition: mp4tag.h:44
A map for format-independent <key,valuelist> tag representations.
Definition: tpropertymap.h:118
A file class with some useful methods for tag manipulation.
Definition: tfile.h:50
A wide string class suitable for unicode.
Definition: tstring.h:84
A byte vector.
Definition: tbytevector.h:45
TAGLIB_DEPRECATED typedef TagLib::Map< String, Item > ItemListMap
Definition: mp4tag.h:43
#define TAGLIB_DEPRECATED
Definition: taglib.h:54
A generic, implicitly shared map.
Definition: tmap.h:43
A list of strings.
Definition: tstringlist.h:45
#define TAGLIB_EXPORT
Definition: taglib_export.h:40
String TAGLIB_EXPORT genre(int index)
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41