codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from Class Reference

#include <bimap.h>

Inherits codeproject::prebimap::from_impl.

Collaboration diagram for codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from:
Collaboration graph
[legend]

Public Types

typedef from_type_ key_type
typedef to_type_ mapped_type
typedef to_type_ referent_type
typedef to_type_ data_type
typedef from_compare key_compare
typedef allocator_type_ allocator_type
typedef direct_pair< const
from_type_, const to_type_ > 
value_type
typedef allocator_type_::size_type size_type
typedef
allocator_type_::difference_type 
difference_type
typedef value_typepointer
typedef const value_typeconst_pointer
typedef value_typereference
typedef const value_typeconst_reference
typedef std::reverse_iterator
< const_iterator
reverse_iterator
typedef reverse_iterator const_reverse_iterator

Public Member Functions

bool operator== (const from_impl &r) const
bool operator!= (const from_impl &r) const
bool operator< (const from_impl &r) const
bool operator> (const from_impl &r) const
bool operator<= (const from_impl &r) const
bool operator>= (const from_impl &r) 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
size_type size () const
size_type max_size () const
bool empty () const
allocator_type get_allocator () const
from_binding< prebimap
< from_type_, to_type_,
from_compare, to_compare,
allocator_type_ > > 
operator[] (const from_type_ &f)
const_from_binding< prebimap
< from_type_, to_type_,
from_compare, to_compare,
allocator_type_ > > 
operator[] (const from_type_ &f) const
std::pair< iterator, bool > insert (const value_type &x)
iterator insert (iterator it, const value_type &x)
template<typename it_type >
void insert (it_type first, it_type last)
void erase (iterator it)
void erase (iterator first, iterator last)
size_type erase (const key_type &key)
void clear ()
void swap (from_impl &x)
key_compare key_comp () const
value_compare value_comp () const
iterator find (const key_type &key)
const_iterator find (const key_type &key) const
size_type count (const key_type &key) const
iterator lower_bound (const key_type &key)
const_iterator lower_bound (const key_type &key) const
iterator upper_bound (const key_type &key)
const_iterator upper_bound (const key_type &key) const
std::pair< iterator, iteratorequal_range (const key_type &key)
std::pair< const_iterator,
const_iterator
equal_range (const key_type &key) const

Protected Member Functions

prebimapowner ()
const prebimapowner () const
bool adjacent (const_fset_iterator fit, const from_type_ &f) const

Friends

class prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >
void swap (from &x, from &y)

Detailed Description

template<typename from_type_, typename to_type_, typename from_compare, typename to_compare, typename allocator_type_>
class codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from

Definition at line 1166 of file bimap.h.


Member Typedef Documentation

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef allocator_type_ codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::allocator_type [inherited]

Definition at line 789 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef const value_type* codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::const_pointer [inherited]

Definition at line 817 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef const value_type& codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::const_reference [inherited]

Definition at line 819 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef reverse_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::const_reverse_iterator [inherited]

Definition at line 908 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef to_type_ codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::data_type [inherited]

Definition at line 787 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef allocator_type_::difference_type codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::difference_type [inherited]

Definition at line 815 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef from_compare codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::key_compare [inherited]

Definition at line 788 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef from_type_ codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::key_type [inherited]

Definition at line 784 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef to_type_ codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::mapped_type [inherited]

Definition at line 785 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef value_type* codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::pointer [inherited]

Definition at line 816 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef value_type& codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::reference [inherited]

Definition at line 818 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef to_type_ codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::referent_type [inherited]

Definition at line 786 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef std::reverse_iterator<const_iterator> codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::reverse_iterator [inherited]

Definition at line 905 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef allocator_type_::size_type codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::size_type [inherited]

Definition at line 814 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef direct_pair< const from_type_, const to_type_> codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::value_type [inherited]

Definition at line 793 of file bimap.h.


Member Function Documentation

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
bool codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::adjacent ( const_fset_iterator  fit,
const from_type_ &  f 
) const [inline, protected, inherited]

Definition at line 1139 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::begin (  )  const [inline, inherited]

Definition at line 913 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::begin (  )  [inline, inherited]

Definition at line 912 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
void codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::clear (  )  [inline, inherited]

Definition at line 1049 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
size_type codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::count ( const key_type key  )  const [inline, inherited]

Definition at line 1087 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
bool codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::empty (  )  const [inline, inherited]

Definition at line 926 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::end (  )  const [inline, inherited]

Definition at line 915 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::end (  )  [inline, inherited]

Definition at line 914 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
std::pair<const_iterator,const_iterator> codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::equal_range ( const key_type key  )  const [inline, inherited]

Definition at line 1117 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
std::pair<iterator,iterator> codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::equal_range ( const key_type key  )  [inline, inherited]

Definition at line 1112 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
size_type codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::erase ( const key_type key  )  [inline, inherited]

Definition at line 1038 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
void codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::erase ( iterator  first,
iterator  last 
) [inline, inherited]

Definition at line 1033 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
void codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::erase ( iterator  it  )  [inline, inherited]

Definition at line 1022 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::find ( const key_type key  )  const [inline, inherited]

Definition at line 1082 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::find ( const key_type key  )  [inline, inherited]

Definition at line 1077 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
allocator_type codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::get_allocator (  )  const [inline, inherited]

Definition at line 927 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
template<typename it_type >
void codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::insert ( it_type  first,
it_type  last 
) [inline, inherited]

Definition at line 996 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::insert ( iterator  it,
const value_type x 
) [inline, inherited]

Definition at line 973 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
std::pair<iterator,bool> codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::insert ( const value_type x  )  [inline, inherited]

Definition at line 949 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
key_compare codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::key_comp (  )  const [inline, inherited]

Definition at line 1064 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::lower_bound ( const key_type key  )  const [inline, inherited]

Definition at line 1097 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::lower_bound ( const key_type key  )  [inline, inherited]

Definition at line 1092 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
size_type codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::max_size (  )  const [inline, inherited]

Definition at line 925 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
bool codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::operator!= ( const from_impl r  )  const [inline, inherited]

Definition at line 755 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
bool codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::operator< ( const from_impl r  )  const [inline, inherited]

Definition at line 760 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
bool codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::operator<= ( const from_impl r  )  const [inline, inherited]

Definition at line 772 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
bool codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::operator== ( const from_impl r  )  const [inline, inherited]

Definition at line 750 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
bool codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::operator> ( const from_impl r  )  const [inline, inherited]

Definition at line 767 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
bool codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::operator>= ( const from_impl r  )  const [inline, inherited]

Definition at line 777 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const_from_binding<prebimap<from_type_,to_type_,from_compare,to_compare,allocator_type_> > codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::operator[] ( const from_type_ &  f  )  const [inline, inherited]

Definition at line 940 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
from_binding<prebimap<from_type_,to_type_,from_compare,to_compare,allocator_type_> > codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::operator[] ( const from_type_ &  f  )  [inline, inherited]

Definition at line 932 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const prebimap& codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::owner (  )  const [inline, protected, inherited]

Definition at line 1132 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
prebimap& codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::owner (  )  [inline, protected, inherited]

Definition at line 1126 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const_reverse_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::rbegin (  )  const [inline, inherited]

Definition at line 918 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
reverse_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::rbegin (  )  [inline, inherited]

Definition at line 917 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const_reverse_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::rend (  )  const [inline, inherited]

Definition at line 920 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
reverse_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::rend (  )  [inline, inherited]

Definition at line 919 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
size_type codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::size (  )  const [inline, inherited]

Definition at line 924 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
void codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::swap ( from_impl x  )  [inline, inherited]

Definition at line 1054 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::upper_bound ( const key_type key  )  const [inline, inherited]

Definition at line 1107 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::upper_bound ( const key_type key  )  [inline, inherited]

Definition at line 1102 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
value_compare codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_impl::value_comp (  )  const [inline, inherited]

Definition at line 1069 of file bimap.h.


Friends And Related Function Documentation

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
friend class prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ > [friend]

Definition at line 1168 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
void swap ( from x,
from y 
) [friend]

Definition at line 1171 of file bimap.h.


The documentation for this class was generated from the following file:

Generated on Thu Dec 29 00:12:01 2011 for SpringLobby by doxygen 1.6.3