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

#include <bimap.h>

Inherits codeproject::bimap_base.

Inherited by codeproject::bimap_different_types< from_type_, to_type_, from_compare, to_compare, allocator_type_ >, and codeproject::bimap_equal_types< from_type_, to_type_, from_compare, to_compare, allocator_type_ >.

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

Data Structures

class  from
class  from_impl
struct  p_compare
class  to
class  to_impl

Public Member Functions

std::pair< typename
from_impl::iterator, typename
to_impl::iterator
insert (typename from_impl::iterator fit, typename to_impl::iterator tit, const typename from_impl::value_type &x)

Data Fields

codeproject::prebimap::from from
codeproject::prebimap::to to

Protected Member Functions

 prebimap (const from_compare &from_comp, const to_compare &to_comp, const allocator_type_ &al)
 prebimap (const prebimap &r)
 ~prebimap ()

Private Types

typedef from_type_ from_type
typedef to_type_ to_type
typedef std::set< const
from_type *, p_compare
< from_type, from_compare >
, BIMAP_REBIND_9B698EF9_C6E9_4BC4_A7D2_5B4D71155761(allocator_type_,
const from_type *) 
from_set )
typedef std::set< const
to_type *, p_compare< to_type,
to_compare >
, BIMAP_REBIND_9B698EF9_C6E9_4BC4_A7D2_5B4D71155761(allocator_type_,
const to_type *) 
to_set )
typedef from_set::allocator_type fset_allocator_type
typedef to_set::allocator_type tset_allocator_type
typedef from_set::iterator fset_iterator
typedef from_set::const_iterator const_fset_iterator
typedef to_set::iterator tset_iterator
typedef to_set::const_iterator const_tset_iterator
typedef direct_pair< const
from_type, const to_type
element

Private Member Functions

elementnew_element (const element &e)
void delete_element (element *pe)

Static Private Member Functions

static elementelement_by_from (const from_type *pf)
static elementelement_by_to (const to_type *pt)

Private Attributes

allocator_type_ allocator
from_set fset
to_set tset

Friends

class from_impl
class from_binding< prebimap >
class const_from_binding< prebimap >
class to_impl
class to_binding< prebimap >
class const_to_binding< prebimap >

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

Definition at line 642 of file bimap.h.


Member Typedef Documentation

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef from_set::const_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::const_fset_iterator [private]

Definition at line 680 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef to_set::const_iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::const_tset_iterator [private]

Definition at line 682 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_ >::element [private]

Definition at line 685 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef std::set< const from_type*, p_compare< from_type, from_compare>, BIMAP_REBIND_9B698EF9_C6E9_4BC4_A7D2_5B4D71155761(allocator_type_,const from_type*) codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from_set) [private]

Definition at line 669 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_type [private]

Definition at line 650 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef from_set::allocator_type codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::fset_allocator_type [private]

Definition at line 677 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef from_set::iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::fset_iterator [private]

Definition at line 679 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef std::set< const to_type*, p_compare< to_type, to_compare>, BIMAP_REBIND_9B698EF9_C6E9_4BC4_A7D2_5B4D71155761(allocator_type_,const to_type*) codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::to_set) [private]

Definition at line 676 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_type [private]

Definition at line 651 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef to_set::allocator_type codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::tset_allocator_type [private]

Definition at line 678 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
typedef to_set::iterator codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::tset_iterator [private]

Definition at line 681 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_ >::prebimap ( const from_compare &  from_comp,
const to_compare &  to_comp,
const allocator_type_ &  al 
) [inline, protected]

Definition at line 1681 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_ >::prebimap ( const prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ > &  r  )  [inline, protected]

Definition at line 1690 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_ >::~prebimap (  )  [inline, protected]

Definition at line 1724 of file bimap.h.


Member Function Documentation

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_ >::delete_element ( element pe  )  [inline, private]

Definition at line 708 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
static element* codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::element_by_from ( const from_type pf  )  [inline, static, private]

Definition at line 714 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
static element* codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::element_by_to ( const to_type pt  )  [inline, static, private]

Definition at line 723 of file bimap.h.

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

Definition at line 1641 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
element* codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::new_element ( const element e  )  [inline, private]

Definition at line 696 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 const_from_binding< prebimap > [friend]

Definition at line 1188 of file bimap.h.

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

Definition at line 1634 of file bimap.h.

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

Definition at line 1187 of file bimap.h.

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

Definition at line 1164 of file bimap.h.

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

Definition at line 1633 of file bimap.h.

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

Definition at line 1610 of file bimap.h.


Field Documentation

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_ >::allocator [private]

Definition at line 686 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
codeproject::prebimap::from codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::from
template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
from_set codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::fset [private]

Definition at line 687 of file bimap.h.

template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
codeproject::prebimap::to codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::to
template<typename from_type_ , typename to_type_ , typename from_compare , typename to_compare , typename allocator_type_ >
to_set codeproject::prebimap< from_type_, to_type_, from_compare, to_compare, allocator_type_ >::tset [private]

Definition at line 688 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