|
Public Types |
typedef Key | key_type |
typedef Compare | key_compare |
typedef Oscl_Pair< const Key,
T > | value_type |
typedef Oscl_Map< Key, T,
Alloc, Compare > | self |
typedef rep_type::pointer | 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::size_type | size_type |
typedef Oscl_Pair< iterator,
bool > | pair_iterator_bool |
typedef Oscl_Pair< iterator,
iterator > | pair_iterator_iterator |
typedef Oscl_Pair< const_iterator,
const_iterator > | pair_citerator_citerator |
Public Methods |
| Oscl_Map (const Compare &comp=Compare()) |
| Oscl_Map (const self &x) |
self & | operator= (const self &x) |
key_compare | key_comp () const |
value_compare | value_comp () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
bool | empty () const |
size_type | size () const |
size_type | max_size () const |
T & | operator[] (const key_type &k) |
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 | 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_citerator_citerator | equal_range (const key_type &x) const |