pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator > Class Template Reference

#include <assoc_cntnr.hpp>

List of all members.

Public Types

typedef Allocator::size_type size_type
typedef Allocator::difference_type difference_type
typedef DS_Tag ds_category
typedef data_enabled_ms_tag ms_category
typedef Allocator allocator
typedef allocator::template
rebind< Key >::other::value_type 
key_type
typedef allocator::template
rebind< Key >::other::reference 
key_reference
typedef allocator::template
rebind< Key >::other::const_reference 
const_key_reference
typedef allocator::template
rebind< Key >::other::pointer 
key_pointer
typedef allocator::template
rebind< Key >::other::const_pointer 
const_key_pointer
typedef allocator::template
rebind< Data >::other::value_type 
data_type
typedef allocator::template
rebind< Data >::other::reference 
data_reference
typedef allocator::template
rebind< Data >::other::const_reference 
const_data_reference
typedef allocator::template
rebind< Data >::other::pointer 
data_pointer
typedef allocator::template
rebind< Data >::other::const_pointer 
const_data_pointer
typedef allocator::template
rebind< std::pair< const key_type,
data_type > >::other::value_type 
value_type
typedef allocator::template
rebind< std::pair< const key_type,
data_type > >::other::reference 
reference
typedef allocator::template
rebind< std::pair< const key_type,
data_type > >::other::const_reference 
const_reference
typedef allocator::template
rebind< std::pair< const key_type,
data_type > >::other::pointer 
pointer
typedef allocator::template
rebind< std::pair< const key_type,
data_type > >::other::const_pointer 
const_pointer
typedef PB_ASSOC_BASE_C_DEC::const_find_iterator const_find_iterator
typedef PB_ASSOC_BASE_C_DEC::find_iterator find_iterator
typedef PB_ASSOC_BASE_C_DEC::const_iterator const_iterator
typedef PB_ASSOC_BASE_C_DEC::iterator iterator

Public Member Functions

virtual ~basic_assoc_cntnr ()
size_type size () const
size_type max_size () const
bool empty () const
std::pair< find_iterator,
bool > 
insert (const_reference r_val)
data_reference operator[] (const_key_reference r_key)
find_iterator find (const_key_reference r_key)
const_find_iterator find (const_key_reference r_key) const
const_data_reference operator[] (const_key_reference r_key) const
size_type erase (const_key_reference r_key)
template<class Pred>
size_type erase_if (Pred prd)
void clear ()
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const

Static Public Member Functions

static const_key_reference extract_key (const_reference r_val)

Private Types

typedef PB_ASSOC_BASE_C_DEC my_base

Private Member Functions

basic_assoc_cntnroperator= (const PB_ASSOC_CLASS_C_DEC &r_other)


Detailed Description

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
class pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >

Definition at line 97 of file assoc_cntnr.hpp.


Member Typedef Documentation

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef Allocator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::allocator

Definition at line 105 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Data>::other::const_pointer pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::const_data_pointer

Definition at line 155 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Data>::other::const_reference pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::const_data_reference

Definition at line 145 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef PB_ASSOC_BASE_C_DEC::const_find_iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::const_find_iterator

Definition at line 184 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef PB_ASSOC_BASE_C_DEC::const_iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::const_iterator

Definition at line 188 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Key>::other::const_pointer pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::const_key_pointer

Definition at line 130 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Key>::other::const_reference pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::const_key_reference

Definition at line 120 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< std::pair<const key_type, data_type> >::other::const_pointer pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::const_pointer

Definition at line 180 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< std::pair<const key_type, data_type> >::other::const_reference pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::const_reference

Definition at line 170 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Data>::other::pointer pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::data_pointer

Definition at line 150 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Data>::other::reference pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::data_reference

Definition at line 140 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Data>::other::value_type pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::data_type

Definition at line 135 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef Allocator::difference_type pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::difference_type

Definition at line 102 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef DS_Tag pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::ds_category

Definition at line 103 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef PB_ASSOC_BASE_C_DEC::find_iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::find_iterator

Definition at line 186 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef PB_ASSOC_BASE_C_DEC::iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::iterator

Definition at line 190 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Key>::other::pointer pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::key_pointer

Definition at line 125 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Key>::other::reference pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::key_reference

Definition at line 115 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< Key>::other::value_type pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::key_type

Definition at line 110 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef data_enabled_ms_tag pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::ms_category

Definition at line 104 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef PB_ASSOC_BASE_C_DEC pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::my_base [private]

Definition at line 266 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< std::pair<const key_type, data_type> >::other::pointer pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::pointer

Definition at line 175 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< std::pair<const key_type, data_type> >::other::reference pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::reference

Definition at line 165 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef Allocator::size_type pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::size_type

Definition at line 101 of file assoc_cntnr.hpp.

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
typedef allocator::template rebind< std::pair<const key_type, data_type> >::other::value_type pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::value_type

Definition at line 160 of file assoc_cntnr.hpp.


Constructor & Destructor Documentation

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
virtual pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::~basic_assoc_cntnr (  )  [virtual]


Member Function Documentation

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
const_iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::begin (  )  const [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::begin (  )  [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
void pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::clear (  ) 

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
bool pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::empty (  )  const [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
const_iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::end (  )  const [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::end (  )  [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
size_type pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::erase ( const_key_reference  r_key  )  [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
template<class Pred>
size_type pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::erase_if ( Pred  prd  )  [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
static const_key_reference pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::extract_key ( const_reference  r_val  )  [inline, static]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
const_find_iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::find ( const_key_reference  r_key  )  const [inline]

Definition at line 222 of file assoc_cntnr.hpp.

References std::find().

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
find_iterator pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::find ( const_key_reference  r_key  )  [inline]

Definition at line 216 of file assoc_cntnr.hpp.

References std::find().

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
std::pair<find_iterator, bool> pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::insert ( const_reference  r_val  )  [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
size_type pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::max_size (  )  const [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
basic_assoc_cntnr& pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::operator= ( const PB_ASSOC_CLASS_C_DEC &  r_other  )  [private]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
const_data_reference pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::operator[] ( const_key_reference  r_key  )  const [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
data_reference pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::operator[] ( const_key_reference  r_key  )  [inline]

template<typename Key, typename Data, class DS_Tag, class Policy_Tl, class Allocator>
size_type pb_assoc::basic_assoc_cntnr< Key, Data, DS_Tag, Policy_Tl, Allocator >::size (  )  const [inline]


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:58:32 2010 for GNU C++ STL by  doxygen 1.4.7