#include <multimap.h>
Inheritance diagram for __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >:
Public Types | |
typedef _Key | key_type |
typedef _Tp | mapped_type |
typedef std::pair< const _Key, _Tp > | value_type |
typedef _Compare | key_compare |
typedef _Allocator | allocator_type |
typedef _Allocator::reference | reference |
typedef _Allocator::const_reference | const_reference |
typedef __gnu_debug::_Safe_iterator< typename _Base::iterator, multimap > | iterator |
typedef __gnu_debug::_Safe_iterator< typename _Base::const_iterator, multimap > | const_iterator |
typedef _Base::size_type | size_type |
typedef _Base::difference_type | difference_type |
typedef _Allocator::pointer | pointer |
typedef _Allocator::const_pointer | const_pointer |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Public Member Functions | |
multimap (const _Compare &__comp=_Compare(), const _Allocator &__a=_Allocator()) | |
template<typename _InputIterator> | multimap (_InputIterator __first, _InputIterator __last, const _Compare &__comp=_Compare(), const _Allocator &__a=_Allocator()) |
multimap (const multimap< _Key, _Tp, _Compare, _Allocator > &__x) | |
multimap (const _Base &__x) | |
~multimap () | |
multimap< _Key, _Tp, _Compare, _Allocator > & | operator= (const multimap< _Key, _Tp, _Compare, _Allocator > &__x) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
iterator | insert (const value_type &__x) |
Inserts a std::pair into the multimap. | |
iterator | insert (iterator __position, const value_type &__x) |
Inserts a std::pair into the multimap. | |
template<typename _InputIterator> void | insert (_InputIterator __first, _InputIterator __last) |
A template function that attemps to insert a range of elements. | |
void | erase (iterator __position) |
Erases an element from a multimap. | |
size_type | erase (const key_type &__x) |
Erases elements according to the provided key. | |
void | erase (iterator __first, iterator __last) |
Erases a [first,last) range of elements from a multimap. | |
void | swap (multimap< _Key, _Tp, _Compare, _Allocator > &__x) |
void | clear () |
iterator | find (const key_type &__x) |
Tries to locate an element in a multimap. | |
const_iterator | find (const key_type &__x) const |
Tries to locate an element in a multimap. | |
iterator | lower_bound (const key_type &__x) |
Finds the beginning of a subsequence matching given key. | |
const_iterator | lower_bound (const key_type &__x) const |
Finds the beginning of a subsequence matching given key. | |
iterator | upper_bound (const key_type &__x) |
Finds the end of a subsequence matching given key. | |
const_iterator | upper_bound (const key_type &__x) const |
Finds the end of a subsequence matching given key. | |
std::pair< iterator, iterator > | equal_range (const key_type &__x) |
Finds a subsequence matching given key. | |
std::pair< const_iterator, const_iterator > | equal_range (const key_type &__x) const |
Finds a subsequence matching given key. | |
_Base & | _M_base () |
const _Base & | _M_base () const |
Private Types | |
typedef _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator > | _Base |
typedef __gnu_debug::_Safe_sequence< multimap > | _Safe_base |
Private Member Functions | |
void | _M_invalidate_all () |
|
Definition at line 46 of file debug/multimap.h. |
|
Definition at line 47 of file debug/multimap.h. |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 55 of file debug/multimap.h. |
|
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 67 of file debug/multimap.h. |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 57 of file debug/multimap.h. |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 69 of file debug/multimap.h. Referenced by __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::rbegin(), and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::rend(). |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 65 of file debug/multimap.h. |
|
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 54 of file debug/multimap.h. |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 51 of file debug/multimap.h. |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 52 of file debug/multimap.h. |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 66 of file debug/multimap.h. |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 56 of file debug/multimap.h. |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 68 of file debug/multimap.h. Referenced by __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::rbegin(), and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::rend(). |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 64 of file debug/multimap.h. |
|
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 53 of file debug/multimap.h. |
|
Definition at line 74 of file debug/multimap.h. |
|
Definition at line 79 of file debug/multimap.h. |
|
Definition at line 85 of file debug/multimap.h. |
|
Definition at line 88 of file debug/multimap.h. |
|
Definition at line 90 of file debug/multimap.h. |
|
Definition at line 259 of file debug/multimap.h. |
|
Definition at line 256 of file debug/multimap.h. Referenced by __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::_M_invalidate_all(), __gnu_debug_def::operator!=(), __gnu_debug_def::operator==(), __gnu_debug_def::operator>(), and __gnu_debug_def::operator>=(). |
|
|
Returns a read-only (constant) iterator that points to the first pair in the multimap. Iteration is done in ascending order according to the keys. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 108 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::const_iterator. |
|
Returns a read/write iterator that points to the first pair in the multimap. Iteration is done in ascending order according to the keys. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 104 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::iterator. Referenced by __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::clear(), and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::rend(). |
|
Erases all elements in a multimap. Note that this function only erases the elements, and that if the elements themselves are pointers, the pointed-to memory is not touched in any way. Managing the pointer is the user's responsibilty. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 201 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::begin(), __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::end(), and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::erase(). |
|
Returns a read-only (constant) iterator that points one past the last pair in the multimap. Iteration is done in ascending order according to the keys. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 116 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::const_iterator. |
|
Returns a read/write iterator that points one past the last pair in the multimap. Iteration is done in ascending order according to the keys. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 112 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::iterator. Referenced by __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::_M_invalidate_all(), __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::clear(), and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::rbegin(). |
|
Finds a subsequence matching given key.
(but is faster than making the calls separately). Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 246 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::const_iterator, std::pair< _T1, _T2 >::first, std::make_pair(), and std::pair< _T1, _T2 >::second. |
|
Finds a subsequence matching given key.
(but is faster than making the calls separately). Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 236 of file debug/multimap.h. References std::pair< _T1, _T2 >::first, __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::iterator, std::make_pair(), and std::pair< _T1, _T2 >::second. Referenced by __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::erase(). |
|
Erases a [first,last) range of elements from a multimap.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 184 of file debug/multimap.h. References __glibcxx_check_erase_range, and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::erase(). |
|
Erases elements according to the provided key.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 169 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::equal_range(), std::pair< _T1, _T2 >::first, and std::pair< _T1, _T2 >::second. |
|
Erases an element from a multimap.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 161 of file debug/multimap.h. References __glibcxx_check_erase. Referenced by __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::clear(), and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::erase(). |
|
Tries to locate an element in a multimap.
end() ) iterator.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 214 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::const_iterator. |
|
Tries to locate an element in a multimap.
end() ) iterator.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 210 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::iterator. |
|
A template function that attemps to insert a range of elements.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 154 of file debug/multimap.h. References __glibcxx_check_valid_range. |
|
Inserts a std::pair into the multimap.
See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4 for more on "hinting". Insertion requires logarithmic time (if the hint is not taken). Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 146 of file debug/multimap.h. References __glibcxx_check_insert, and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::iterator. |
|
Inserts a std::pair into the multimap.
Insertion requires logarithmic time. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 142 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::iterator. |
|
Finds the beginning of a subsequence matching given key.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 224 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::const_iterator. |
|
Finds the beginning of a subsequence matching given key.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 220 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::iterator. |
|
Definition at line 93 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::_M_invalidate_all(). |
|
Returns a read-only (constant) reverse iterator that points to the last pair in the multimap. Iteration is done in descending order according to the keys. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 124 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::const_reverse_iterator, and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::end(). |
|
Returns a read/write reverse iterator that points to the last pair in the multimap. Iteration is done in descending order according to the keys. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 120 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::end(), and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::reverse_iterator. |
|
Returns a read-only (constant) reverse iterator that points to one before the first pair in the multimap. Iteration is done in descending order according to the keys. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 132 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::begin(), and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::const_reverse_iterator. |
|
Returns a read/write reverse iterator that points to one before the first pair in the multimap. Iteration is done in descending order according to the keys. Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 128 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::begin(), and __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::reverse_iterator. |
|
Definition at line 194 of file debug/multimap.h. References __gnu_debug::_Safe_sequence_base::_M_swap(). Referenced by __gnu_debug_def::swap(). |
|
Finds the end of a subsequence matching given key.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 232 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::const_iterator. |
|
Finds the end of a subsequence matching given key.
Reimplemented from _GLIBCXX_STD::multimap< _Key, _Tp, _Compare, _Allocator >. Definition at line 228 of file debug/multimap.h. References __gnu_debug_def::multimap< _Key, _Tp, _Compare, _Allocator >::iterator. |