|
TagLib 1.11.1 (tmap.h Source File) |
|
|
Go to the documentation of this file.
43 template <
class Key,
class T>
class Map
46 #ifndef DO_NOT_DOCUMENT
47 #ifdef WANT_CLASS_INSTANTIATION_OF_MAP
56 typedef typename std::map<class Key, class T>::iterator Iterator;
57 typedef typename std::map<class Key, class T>::const_iterator ConstIterator;
59 typedef typename std::map<Key, T>::iterator Iterator;
60 typedef typename std::map<Key, T>::const_iterator ConstIterator;
74 Map(
const Map<Key, T> &m);
91 ConstIterator
begin()
const;
103 ConstIterator
end()
const;
109 Map<Key, T> &
insert(
const Key &key,
const T &value);
115 Map<Key, T> &
clear();
122 unsigned int size()
const;
134 Iterator
find(
const Key &key);
139 ConstIterator
find(
const Key &key)
const;
144 bool contains(
const Key &key)
const;
149 Map<Key, T> &
erase(Iterator it);
154 Map<Key, T> &
erase(
const Key &key);
175 Map<Key, T> &
operator=(
const Map<Key, T> &m);
180 void swap(Map<Key, T> &m);
191 #ifndef DO_NOT_DOCUMENT
192 template <
class KeyP,
class TP>
class MapPrivate;
193 MapPrivate<Key, T> *d;
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
const T & operator[](const Key &key) const
Map< Key, T > & operator=(const Map< Key, T > &m)
bool contains(const Key &key) const
Iterator find(const Key &key)
Map< Key, T > & erase(Iterator it)
Map< Key, T > & insert(const Key &key, const T &value)
unsigned int size() const
void swap(Map< Key, T > &m)