26 #ifndef TAGLIB_MP4TAG_H 27 #define TAGLIB_MP4TAG_H 56 virtual String title()
const;
57 virtual String artist()
const;
58 virtual String album()
const;
59 virtual String comment()
const;
61 virtual unsigned int year()
const;
62 virtual unsigned int track()
const;
64 virtual void setTitle(
const String &value);
65 virtual void setArtist(
const String &value);
66 virtual void setAlbum(
const String &value);
67 virtual void setComment(
const String &value);
68 virtual void setGenre(
const String &value);
69 virtual void setYear(
unsigned int value);
70 virtual void setTrack(
unsigned int value);
72 virtual bool isEmpty()
const;
92 void setItem(
const String &key,
const Item &value);
98 void removeItem(
const String &key);
103 bool contains(
const String &key)
const;
106 void removeUnsupportedProperties(
const StringList& properties);
114 void setTextItem(
const String &key,
const String &value);
117 AtomDataList parseData2(
const Atom *atom,
int expectedFlags = -1,
118 bool freeForm =
false);
119 ByteVectorList parseData(
const Atom *atom,
int expectedFlags = -1,
120 bool freeForm =
false);
121 void parseText(
const Atom *atom,
int expectedFlags = 1);
122 void parseFreeForm(
const Atom *atom);
123 void parseInt(
const Atom *atom);
124 void parseByte(
const Atom *atom);
125 void parseUInt(
const Atom *atom);
126 void parseLongLong(
const Atom *atom);
127 void parseGnre(
const Atom *atom);
128 void parseIntPair(
const Atom *atom);
129 void parseBool(
const Atom *atom);
130 void parseCovr(
const Atom *atom);
137 int flags = TypeUTF8)
const;
148 void updateParents(
const AtomList &path,
long delta,
int ignore = 0);
149 void updateOffsets(
long delta,
long offset);
152 void saveExisting(
ByteVector data,
const AtomList &path);
154 void addItem(
const String &name,
const Item &value);
A list of ByteVectors.
Definition: tbytevectorlist.h:41
TagLib::Map< String, Item > ItemMap
Definition: mp4tag.h:46
A map for format-independent <key,valuelist> tag representations.
Definition: tpropertymap.h:113
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:45
#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