mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 13:04:18 -04:00
Add find and erase semantics like those in tlist.h
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@328830 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -111,11 +111,26 @@ namespace TagLib {
|
||||
*/
|
||||
bool isEmpty() const;
|
||||
|
||||
/*!
|
||||
* Find the first occurance of \a key.
|
||||
*/
|
||||
Iterator find(const Key &key);
|
||||
|
||||
/*!
|
||||
* Find the first occurance of \a key.
|
||||
*/
|
||||
ConstIterator find(const Key &key) const;
|
||||
|
||||
/*!
|
||||
* Returns true if the map contains an instance of \a key.
|
||||
*/
|
||||
bool contains(const Key &key) const;
|
||||
|
||||
/*!
|
||||
* Erase the item at \a it from the list.
|
||||
*/
|
||||
void erase(Iterator it);
|
||||
|
||||
/*!
|
||||
* Returns a reference to the value associated with \a key.
|
||||
*
|
||||
|
Reference in New Issue
Block a user