Loki::AssocVector< K, V, C, A > Class Template Reference

Inheritance diagram for Loki::AssocVector< K, V, C, A >:
[legend]
Collaboration diagram for Loki::AssocVector< K, V, C, A >:
[legend]
List of all members.

Public Types

typedef K key_type
typedef V mapped_type
typedef Base::value_type value_type
typedef C key_compare
typedef A allocator_type
typedef A::reference reference
typedef A::const_reference const_reference
typedef Base::iterator iterator
typedef Base::const_iterator const_iterator
typedef Base::size_type size_type
typedef Base::difference_type difference_type
typedef A::pointer pointer
typedef A::const_pointer const_pointer
typedef Base::reverse_iterator reverse_iterator
typedef Base::const_reverse_iterator const_reverse_iterator

Public Member Functions

 AssocVector (const key_compare &comp=key_compare(), const A &alloc=A())
template<class InputIterator>
 AssocVector (InputIterator first, InputIterator last, const key_compare &comp=key_compare(), const A &alloc=A())
AssocVectoroperator= (const AssocVector &rhs)
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 ()
mapped_typeoperator[] (const key_type &key)
std::pair< iterator, bool > insert (const value_type &val)
iterator insert (iterator pos, const value_type &val)
template<class InputIterator>
void insert (InputIterator first, InputIterator last)
void erase (iterator pos)
size_type erase (const key_type &k)
void erase (iterator first, iterator last)
void swap (AssocVector &other)
void clear ()
key_compare key_comp () const
value_compare value_comp () const
iterator find (const key_type &k)
const_iterator find (const key_type &k) const
size_type count (const key_type &k) const
iterator lower_bound (const key_type &k)
const_iterator lower_bound (const key_type &k) const
iterator upper_bound (const key_type &k)
const_iterator upper_bound (const key_type &k) const
std::pair< iterator, iteratorequal_range (const key_type &k)
std::pair< const_iterator,
const_iterator
equal_range (const key_type &k) const
bool operator< (const AssocVector &rhs) const

Classes

class  value_compare

Detailed Description

template<class K, class V, class C = std::less<K>, class A = std::allocator< std::pair<K, V> >>
class Loki::AssocVector< K, V, C, A >

Definition at line 85 of file AssocVector.h.


The documentation for this class was generated from the following file:
Generated on Sun Feb 25 16:52:34 2007 for Loki by  doxygen 1.5.1-p1