#include <stl_map.h>
Collaboration diagram for map:

Public Types | |
| typedef Key | key_type |
| typedef T | data_type |
| typedef T | mapped_type |
| typedef pair< const Key, T > | value_type |
| typedef Compare | key_compare |
| typedef rep_type::pointer | pointer |
| typedef rep_type::const_pointer | const_pointer |
| typedef rep_type::reference | reference |
| typedef rep_type::const_reference | const_reference |
| typedef rep_type::iterator | iterator |
| typedef rep_type::const_iterator | const_iterator |
| typedef rep_type::reverse_iterator | reverse_iterator |
| typedef rep_type::const_reverse_iterator | const_reverse_iterator |
| typedef rep_type::size_type | size_type |
| typedef rep_type::difference_type | difference_type |
Public Methods | |
| map () | |
| map (const Compare &comp) | |
| map (const value_type *first, const value_type *last) | |
| map (const value_type *first, const value_type *last, const Compare &comp) | |
| map (const_iterator first, const_iterator last) | |
| map (const_iterator first, const_iterator last, const Compare &comp) | |
| map (const map< Key, T, Compare, Alloc > &x) | |
| map< Key, T, Compare, Alloc > & | operator= (const map< Key, T, Compare, Alloc > &x) |
| key_compare | key_comp () const |
| value_compare | value_comp () const |
| 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 |
| bool | empty () const |
| size_type | size () const |
| size_type | max_size () const |
| T & | operator[] (const key_type &k) |
| void | swap (map< Key, T, Compare, Alloc > &x) |
| pair< iterator, bool > | insert (const value_type &x) |
| iterator | insert (iterator position, const value_type &x) |
| void | insert (const value_type *first, const value_type *last) |
| void | insert (const_iterator first, const_iterator last) |
| void | erase (iterator position) |
| size_type | erase (const key_type &x) |
| void | erase (iterator first, iterator last) |
| void | clear () |
| iterator | find (const key_type &x) |
| const_iterator | find (const key_type &x) const |
| size_type | count (const key_type &x) const |
| iterator | lower_bound (const key_type &x) |
| const_iterator | lower_bound (const key_type &x) const |
| iterator | upper_bound (const key_type &x) |
| const_iterator | upper_bound (const key_type &x) const |
| pair< iterator, iterator > | equal_range (const key_type &x) |
| pair< const_iterator, const_iterator > | equal_range (const key_type &x) const |
Private Types | |
| typedef rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc > | rep_type |
Private Attributes | |
| rep_type | t |
Friends | |
| bool | operator==__STL_NULL_TMPL_ARGS (const map &, const map &) |
| bool | operator<__STL_NULL_TMPL_ARGS (const map &, const map &) |
|
|||||
|
Definition at line 78 of file stl_map.h. Referenced by begin, end, find, insert, lower_bound, map, and upper_bound. |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
Definition at line 77 of file stl_map.h. Referenced by begin, end, erase, find, insert, lower_bound, and upper_bound. |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
Definition at line 53 of file stl_map.h. Referenced by operator[]. |
|
|||||||||
|
Definition at line 86 of file stl_map.h.
00086 : t(Compare()) {} |
|
||||||||||
|
Definition at line 87 of file stl_map.h.
00087 : t(comp) {} |
|
||||||||||||||||
|
Definition at line 98 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::insert_unique.
|
|
||||||||||||||||||||
|
Definition at line 100 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::insert_unique.
|
|
||||||||||||||||
|
Definition at line 103 of file stl_map.h. References const_iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::insert_unique.
|
|
||||||||||||||||||||
|
Definition at line 105 of file stl_map.h. References const_iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::insert_unique.
|
|
||||||||||
|
Definition at line 109 of file stl_map.h.
|
|
|||||||||
|
Definition at line 121 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::begin, and const_iterator.
00121 { return t.begin(); }
|
|
|||||||||
|
Definition at line 120 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::begin, and iterator.
00120 { return t.begin(); }
|
|
|||||||||
|
Definition at line 159 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::clear.
00159 { t.clear(); }
|
|
||||||||||
|
Definition at line 165 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::count, and size_type.
00165 { return t.count(x); }
|
|
|||||||||
|
Definition at line 128 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::empty.
00128 { return t.empty(); }
|
|
|||||||||
|
Definition at line 123 of file stl_map.h. References const_iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::end.
00123 { return t.end(); }
|
|
|||||||||
|
Definition at line 122 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::end, and iterator.
00122 { return t.end(); }
|
|
||||||||||
|
Definition at line 178 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::equal_range.
00178 {
00179 return t.equal_range(x);
00180 }
|
|
||||||||||
|
Definition at line 175 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::equal_range.
00175 {
00176 return t.equal_range(x);
00177 }
|
|
||||||||||||||||
|
Definition at line 158 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::erase, and iterator.
00158 { t.erase(first, last); }
|
|
||||||||||
|
Definition at line 157 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::erase, and size_type.
00157 { return t.erase(x); }
|
|
||||||||||
|
Definition at line 156 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::erase, and iterator.
00156 { t.erase(position); }
|
|
||||||||||
|
Definition at line 164 of file stl_map.h. References const_iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::find.
00164 { return t.find(x); }
|
|
||||||||||
|
Definition at line 163 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::find, and iterator.
00163 { return t.find(x); }
|
|
||||||||||||||||
|
Definition at line 151 of file stl_map.h. References const_iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::insert_unique.
00151 {
00152 t.insert_unique(first, last);
00153 }
|
|
||||||||||||||||
|
Definition at line 148 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::insert_unique.
00148 {
00149 t.insert_unique(first, last);
00150 }
|
|
||||||||||||||||
|
Definition at line 139 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::insert_unique, and iterator.
00139 {
00140 return t.insert_unique(position, x);
00141 }
|
|
||||||||||
|
Definition at line 138 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::insert_unique. Referenced by operator[].
00138 { return t.insert_unique(x); }
|
|
|||||||||
|
Definition at line 118 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::key_comp.
00118 { return t.key_comp(); }
|
|
||||||||||
|
Definition at line 167 of file stl_map.h. References const_iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::lower_bound.
00167 {
00168 return t.lower_bound(x);
00169 }
|
|
||||||||||
|
Definition at line 166 of file stl_map.h. References iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::lower_bound.
00166 {return t.lower_bound(x); }
|
|
|||||||||
|
Definition at line 130 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::max_size, and size_type.
00130 { return t.max_size(); }
|
|
||||||||||
|
Definition at line 110 of file stl_map.h. References t.
|
|
||||||||||
|
Definition at line 131 of file stl_map.h. References insert, and value_type.
00131 {
00132 return (*((insert(value_type(k, T()))).first)).second;
00133 }
|
|
|||||||||
|
Definition at line 125 of file stl_map.h. References const_reverse_iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::rbegin.
00125 { return t.rbegin(); }
|
|
|||||||||
|
Definition at line 124 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::rbegin, and reverse_iterator.
00124 { return t.rbegin(); }
|
|
|||||||||
|
Definition at line 127 of file stl_map.h. References const_reverse_iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::rend.
00127 { return t.rend(); }
|
|
|||||||||
|
Definition at line 126 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::rend, and reverse_iterator.
00126 { return t.rend(); }
|
|
|||||||||
|
Definition at line 129 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::size, and size_type.
00129 { return t.size(); }
|
|
||||||||||
|
Definition at line 134 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::swap, and t.
|
|
||||||||||
|
Definition at line 171 of file stl_map.h. References const_iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::upper_bound.
00171 {
00172 return t.upper_bound(x);
00173 }
|
|
||||||||||
|
Definition at line 170 of file stl_map.h. References iterator, and rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::upper_bound.
00170 {return t.upper_bound(x); }
|
|
|||||||||
|
Definition at line 119 of file stl_map.h. References rb_tree< key_type, value_type, select1st< value_type >, key_compare, Alloc >::key_comp.
00119 { return value_compare(t.key_comp()); }
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||
|
Definition at line 71 of file stl_map.h. Referenced by operator=, operator==, and swap. |
| Documentation generated on Thu May 2 15:03:34 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |