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

#include <bimap.h>

Inherited by codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::to.

Data Structures

class  const_iterator
class  iterator
class  value_compare

Public Types

typedef to_type_ key_type
typedef from_type_ mapped_type
typedef from_type_ referent_type
typedef from_type_ data_type
typedef to_compare key_compare
typedef allocator_type_ allocator_type
typedef inv_pair< const
to_type_, const from_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

to_imploperator= (const to_impl &r)
bool operator== (const to_impl &r) const
bool operator!= (const to_impl &r) const
bool operator< (const to_impl &r) const
bool operator> (const to_impl &r) const
bool operator<= (const to_impl &r) const
bool operator>= (const to_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
to_binding< prebimap
< from_type_, to_type_,
from_compare, to_compare,
allocator_type_ > > 
operator[] (const to_type_ &t)
const_to_binding< prebimap
< from_type_, to_type_,
from_compare, to_compare,
allocator_type_ > > 
operator[] (const to_type_ &t) 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 (to_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

 to_impl ()
 to_impl (const to_impl &)
prebimapowner ()
const prebimapowner () const
bool adjacent (const_tset_iterator tit, const to_type_ &t) const

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_ >::to_impl

Definition at line 1192 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_ >::to_impl::allocator_type

Definition at line 1244 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_ >::to_impl::const_pointer

Definition at line 1268 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_ >::to_impl::const_reference

Definition at line 1270 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_ >::to_impl::const_reverse_iterator

Definition at line 1358 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_ >::to_impl::data_type

Definition at line 1242 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_ >::to_impl::difference_type

Definition at line 1266 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef to_compare codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::to_impl::key_compare

Definition at line 1243 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_ >::to_impl::key_type

Definition at line 1239 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_ >::to_impl::mapped_type

Definition at line 1240 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_ >::to_impl::pointer

Definition at line 1267 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_ >::to_impl::reference

Definition at line 1269 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_ >::to_impl::referent_type

Definition at line 1241 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_ >::to_impl::reverse_iterator

Definition at line 1355 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_ >::to_impl::size_type

Definition at line 1265 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef inv_pair< const to_type_, const from_type_> codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::to_impl::value_type

Definition at line 1248 of file bimap.h.


Constructor & Destructor Documentation

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::to_impl::to_impl (  )  [inline, protected]

Definition at line 1569 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::to_impl::to_impl ( const to_impl  )  [protected]

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_ >::to_impl::adjacent ( const_tset_iterator  tit,
const to_type_ &  t 
) const [inline, protected]

Definition at line 1585 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_ >::to_impl::begin (  )  const [inline]

Definition at line 1363 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_ >::to_impl::begin (  )  [inline]

Definition at line 1362 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_ >::to_impl::clear (  )  [inline]

Definition at line 1495 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_ >::to_impl::count ( const key_type key  )  const [inline]

Definition at line 1533 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_ >::to_impl::empty (  )  const [inline]

Definition at line 1376 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_ >::to_impl::end (  )  const [inline]

Definition at line 1365 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_ >::to_impl::end (  )  [inline]

Definition at line 1364 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_ >::to_impl::equal_range ( const key_type key  )  const [inline]

Definition at line 1563 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_ >::to_impl::equal_range ( const key_type key  )  [inline]

Definition at line 1558 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_ >::to_impl::erase ( const key_type key  )  [inline]

Definition at line 1484 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_ >::to_impl::erase ( iterator  first,
iterator  last 
) [inline]

Definition at line 1479 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_ >::to_impl::erase ( iterator  it  )  [inline]

Definition at line 1468 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_ >::to_impl::find ( const key_type key  )  const [inline]

Definition at line 1528 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_ >::to_impl::find ( const key_type key  )  [inline]

Definition at line 1523 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_ >::to_impl::get_allocator (  )  const [inline]

Definition at line 1377 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_ >::to_impl::insert ( it_type  first,
it_type  last 
) [inline]

Definition at line 1446 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_ >::to_impl::insert ( iterator  it,
const value_type x 
) [inline]

Definition at line 1423 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_ >::to_impl::insert ( const value_type x  )  [inline]

Definition at line 1399 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_ >::to_impl::key_comp (  )  const [inline]

Definition at line 1510 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_ >::to_impl::lower_bound ( const key_type key  )  const [inline]

Definition at line 1543 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_ >::to_impl::lower_bound ( const key_type key  )  [inline]

Definition at line 1538 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_ >::to_impl::max_size (  )  const [inline]

Definition at line 1375 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_ >::to_impl::operator!= ( const to_impl r  )  const [inline]

Definition at line 1210 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_ >::to_impl::operator< ( const to_impl r  )  const [inline]

Definition at line 1215 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_ >::to_impl::operator<= ( const to_impl r  )  const [inline]

Definition at line 1227 of file bimap.h.

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

Definition at line 1196 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_ >::to_impl::operator== ( const to_impl r  )  const [inline]

Definition at line 1205 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_ >::to_impl::operator> ( const to_impl r  )  const [inline]

Definition at line 1222 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_ >::to_impl::operator>= ( const to_impl r  )  const [inline]

Definition at line 1232 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
const_to_binding<prebimap<from_type_,to_type_,from_compare,to_compare,allocator_type_> > codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::to_impl::operator[] ( const to_type_ &  t  )  const [inline]

Definition at line 1390 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
to_binding<prebimap<from_type_,to_type_,from_compare,to_compare,allocator_type_> > codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::to_impl::operator[] ( const to_type_ &  t  )  [inline]

Definition at line 1382 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_ >::to_impl::owner (  )  const [inline, protected]

Definition at line 1578 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_ >::to_impl::owner (  )  [inline, protected]

Definition at line 1572 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_ >::to_impl::rbegin (  )  const [inline]

Definition at line 1368 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_ >::to_impl::rbegin (  )  [inline]

Definition at line 1367 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_ >::to_impl::rend (  )  const [inline]

Definition at line 1370 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_ >::to_impl::rend (  )  [inline]

Definition at line 1369 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_ >::to_impl::size (  )  const [inline]

Definition at line 1374 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_ >::to_impl::swap ( to_impl x  )  [inline]

Definition at line 1500 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_ >::to_impl::upper_bound ( const key_type key  )  const [inline]

Definition at line 1553 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_ >::to_impl::upper_bound ( const key_type key  )  [inline]

Definition at line 1548 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_ >::to_impl::value_comp (  )  const [inline]

Definition at line 1515 of file bimap.h.


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

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