|
typedef | OFListIterator (value_type) iterator |
| iterator class for OFMap. More...
|
|
typedef | OFListConstIterator (value_type) const _iterator |
| constant iterator class for OFMap. More...
|
|
| OFMap () |
| default constructor
|
|
OFMap & | operator= (const OFMap &other) |
| copy constructor
|
|
V & | operator[] (const K &key) |
| index operator. More...
|
|
iterator | begin () |
| returns iterator pointing to the first element of this map More...
|
|
iterator | end () |
| returns iterator pointer after the last element of this map More...
|
|
const_iterator | begin () const |
| returns constant iterator pointing to the first element of this map More...
|
|
const_iterator | end () const |
| returns constant iterator pointer after the last element of this map More...
|
|
iterator | find (const K &key) |
| looks up the given key in this map More...
|
|
const_iterator | find (const K &key) const |
| looks up the given key in this map More...
|
|
size_t | size () const |
| returns the number of elements saved in this map More...
|
|
void | clear () |
| removes all elements from this map
|
|
void | erase (const iterator &first, const iterator &last) |
| removes all elements in the given range from this map More...
|
|
void | erase (const iterator &elem) |
| removes the element to which the given iterator points to More...
|
|
int | erase (const K &key) |
| removes the element with the given key from this map More...
|
|
OFPair< iterator, bool > | insert (const value_type &val) |
| inserts a new element into the map, but does not overwrite existing elements More...
|
|
template<typename K, typename V>
class OFMap< K, V >
associative container class.
This class is a subset of std::map.
Definition at line 97 of file ofmap.h.