using namespace TagLib;
using namespace APE;
-/*
-static StringList parseAPEString(const ByteVector &data)
-{
- StringList value;
- int pOld = 0;
- int p = data.find('\0');
-
- while (p != -1) {
- value.append(String(data.mid(pOld, p), String::UTF8));
- pOld = p + 1;
- p = data.find('\0', pOld);
- }
- value.append(String(data.mid(pOld), String::UTF8));
-
- return value;
-}*/
class APE::Tag::TagPrivate
{
*/
Footer *footer() const;
+ /*!
+ * Returns a reference to the item list map. This is an ItemListMap of
+ * all of the items in the tag.
+ *
+ * This is the most powerfull structure for accessing the items of the tag.
+ *
+ * \warning You should not modify this data structure directly, instead
+ * use setItem() and removeItem().
+ */
const ItemListMap &itemListMap() const;
/*!
void addValue(const String &key, const String &value, bool replace = true);
/*!
- * Sets the \a key comment to \a item.
+ * Sets the \a key item to the value of \a item. If an item with the \a key is already
+ * present, it will be replaced.
*/
void setItem(const String &key, const Item &item);