TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | List of all members
hash_map< _Key, _Tp,,, > Class Template Reference

Public Types

typedef _Ht::key_type key_type
 
typedef _Tp data_type
 
typedef _Tp mapped_type
 
typedef _Ht::value_type _value_type
 
typedef _Ht::value_type value_type
 
typedef _Ht::hasher hasher
 
typedef _Ht::key_equal key_equal
 
typedef _Ht::size_type size_type
 
typedef _Ht::difference_type difference_type
 
typedef _Ht::pointer pointer
 
typedef _Ht::const_pointer const_pointer
 
typedef _Ht::reference reference
 
typedef _Ht::const_reference const_reference
 
typedef _Ht::iterator iterator
 
typedef _Ht::const_iterator const_iterator
 
typedef _Ht::allocator_type allocator_type
 

Public Member Functions

hasher hash_funct () const
 
key_equal key_eq () const
 
allocator_type get_allocator () const
 
 hash_map ()
 
 hash_map (size_type __n)
 
 hash_map (size_type __n, const hasher &__hf)
 
 hash_map (size_type __n, const hasher &__hf, const key_equal &__eql, const allocator_type &__a=allocator_type())
 
template<class _InputIterator >
 hash_map (_InputIterator __f, _InputIterator __l)
 
template<class _InputIterator >
 hash_map (_InputIterator __f, _InputIterator __l, size_type __n)
 
template<class _InputIterator >
 hash_map (_InputIterator __f, _InputIterator __l, size_type __n, const hasher &__hf)
 
template<class _InputIterator >
 hash_map (_InputIterator __f, _InputIterator __l, size_type __n, const hasher &__hf, const key_equal &__eql)
 
template<class _InputIterator >
 hash_map (_InputIterator __f, _InputIterator __l, size_type __n, const hasher &__hf, const key_equal &__eql, const allocator_type &__a ASTL_ALLOCATOR_TYPE_DFL)
 
size_type size () const
 
size_type max_size () const
 
bool empty () const
 
void swap (_Self &__hs)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
pair< iterator, bool > insert (const value_type &__obj)
 
template<class _InputIterator >
void insert (_InputIterator __f, _InputIterator __l)
 
pair< iterator, bool > insert_noresize (const value_type &__obj)
 
iterator find (const key_type &__key)
 
const_iterator find (const key_type &__key) const
 
_Tp & operator[] (const key_type &__key)
 
size_type count (const key_type &__key) const
 
pair< iterator, iteratorequal_range (const key_type &__key)
 
pair< const_iterator,
const_iterator
equal_range (const key_type &__key) const
 
size_type erase (const key_type &__key)
 
void erase (iterator __it)
 
void erase (iterator __f, iterator __l)
 
void clear ()
 
void resize (size_type __hint)
 
size_type bucket_count () const
 
size_type max_bucket_count () const
 
size_type elems_in_bucket (size_type __n) const
 

Member Typedef Documentation

typedef _Ht::key_type key_type
typedef _Tp data_type
typedef _Tp mapped_type
typedef _Ht::value_type _value_type
typedef _Ht::value_type value_type
typedef _Ht::hasher hasher
typedef _Ht::key_equal key_equal
typedef _Ht::size_type size_type
typedef _Ht::difference_type difference_type
typedef _Ht::pointer pointer
typedef _Ht::const_pointer const_pointer
typedef _Ht::reference reference
typedef _Ht::const_reference const_reference
typedef _Ht::iterator iterator
typedef _Ht::const_iterator const_iterator
typedef _Ht::allocator_type allocator_type

Constructor & Destructor Documentation

hash_map ( )
hash_map ( size_type  __n)
explicit
hash_map ( size_type  __n,
const hasher __hf 
)
hash_map ( size_type  __n,
const hasher __hf,
const key_equal __eql,
const allocator_type __a = allocator_type() 
)
hash_map ( _InputIterator  __f,
_InputIterator  __l 
)
hash_map ( _InputIterator  __f,
_InputIterator  __l,
size_type  __n 
)
hash_map ( _InputIterator  __f,
_InputIterator  __l,
size_type  __n,
const hasher __hf 
)
hash_map ( _InputIterator  __f,
_InputIterator  __l,
size_type  __n,
const hasher __hf,
const key_equal __eql 
)
hash_map ( _InputIterator  __f,
_InputIterator  __l,
size_type  __n,
const hasher __hf,
const key_equal __eql,
const allocator_type &__a  ASTL_ALLOCATOR_TYPE_DFL 
)

Member Function Documentation

hasher hash_funct ( ) const
key_equal key_eq ( ) const
allocator_type get_allocator ( ) const
size_type size ( ) const
size_type max_size ( ) const
bool empty ( ) const
void swap ( _Self __hs)
iterator begin ( )
iterator end ( )
const_iterator begin ( ) const
const_iterator end ( ) const
pair<iterator,bool> insert ( const value_type __obj)
void insert ( _InputIterator  __f,
_InputIterator  __l 
)
pair<iterator,bool> insert_noresize ( const value_type __obj)
iterator find ( const key_type __key)
const_iterator find ( const key_type __key) const
_Tp& operator[] ( const key_type __key)
size_type count ( const key_type __key) const
pair<iterator, iterator> equal_range ( const key_type __key)
pair<const_iterator, const_iterator> equal_range ( const key_type __key) const
size_type erase ( const key_type __key)
void erase ( iterator  __it)
void erase ( iterator  __f,
iterator  __l 
)
void clear ( )
void resize ( size_type  __hint)
size_type bucket_count ( ) const
size_type max_bucket_count ( ) const
size_type elems_in_bucket ( size_type  __n) const