HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TfHashMultiSet< Key, HashFn, EqualKey, Alloc > Class Template Reference

#include <hashset.h>

+ Inheritance diagram for TfHashMultiSet< Key, HashFn, EqualKey, Alloc >:

Public Types

typedef _Base::key_type key_type
 
typedef _Base::value_type value_type
 
typedef _Base::hasher hasher
 
typedef _Base::key_equal key_equal
 
typedef _Base::size_type size_type
 
typedef _Base::difference_type difference_type
 
typedef _Base::pointer pointer
 
typedef _Base::const_pointer const_pointer
 
typedef _Base::reference reference
 
typedef _Base::const_reference const_reference
 
typedef _Base::iterator iterator
 
typedef _Base::const_iterator const_iterator
 
typedef _Base::allocator_type allocator_type
 

Public Member Functions

 TfHashMultiSet ()
 
 TfHashMultiSet (size_type n, const hasher &hf=hasher(), const key_equal &eql=key_equal(), const allocator_type &alloc=allocator_type())
 
 TfHashMultiSet (const allocator_type &alloc)
 
template<class InputIterator >
 TfHashMultiSet (InputIterator first, InputIterator last, size_type n=0, const hasher &hf=hasher(), const key_equal &eql=key_equal(), const allocator_type &alloc=allocator_type())
 
 TfHashMultiSet (const TfHashMultiSet &other)
 
TfHashMultiSetoperator= (const TfHashMultiSet &rhs)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
iterator end ()
 
const_iterator end () const
 
size_type erase (const key_type &key)
 
void erase (const_iterator position)
 
void erase (const_iterator first, const_iterator last)
 
iterator insert (const value_type &v)
 
iterator insert (const_iterator hint, const value_type &v)
 
template<class InputIterator >
void insert (InputIterator first, InputIterator last)
 
void swap (TfHashMultiSet &other)
 

Friends

template<class Key2 , class HashFn2 , class EqualKey2 , class Alloc2 >
bool operator== (const TfHashMultiSet< Key2, HashFn2, EqualKey2, Alloc2 > &, const TfHashMultiSet< Key2, HashFn2, EqualKey2, Alloc2 > &)
 

Detailed Description

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
class TfHashMultiSet< Key, HashFn, EqualKey, Alloc >

Definition at line 354 of file hashset.h.

Member Typedef Documentation

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::allocator_type TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::allocator_type

Definition at line 370 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::const_iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::const_iterator

Definition at line 369 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::const_pointer TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::const_pointer

Definition at line 365 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::const_reference TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::const_reference

Definition at line 367 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::difference_type TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::difference_type

Definition at line 363 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::hasher TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::hasher

Definition at line 360 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::iterator

Definition at line 368 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::key_equal TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::key_equal

Definition at line 361 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::key_type TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::key_type

Definition at line 358 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::pointer TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::pointer

Definition at line 364 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::reference TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::reference

Definition at line 366 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::size_type TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::size_type

Definition at line 362 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
typedef _Base::value_type TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::value_type

Definition at line 359 of file hashset.h.

Constructor & Destructor Documentation

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::TfHashMultiSet ( )
inline

Definition at line 373 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::TfHashMultiSet ( size_type  n,
const hasher hf = hasher(),
const key_equal eql = key_equal(),
const allocator_type alloc = allocator_type() 
)
inlineexplicit

Definition at line 375 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::TfHashMultiSet ( const allocator_type alloc)
inlineexplicit

Definition at line 380 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
template<class InputIterator >
TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::TfHashMultiSet ( InputIterator  first,
InputIterator  last,
size_type  n = 0,
const hasher hf = hasher(),
const key_equal eql = key_equal(),
const allocator_type alloc = allocator_type() 
)
inline

Definition at line 382 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::TfHashMultiSet ( const TfHashMultiSet< Key, HashFn, EqualKey, Alloc > &  other)
inline

Definition at line 387 of file hashset.h.

Member Function Documentation

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::begin ( void  )
inline

Definition at line 394 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
const_iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::begin ( void  ) const
inline

Definition at line 395 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
const_iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::cbegin ( ) const
inline

Definition at line 399 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
const_iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::cend ( ) const
inline

Definition at line 400 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::end ( void  )
inline

Definition at line 404 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
const_iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::end ( void  ) const
inline

Definition at line 405 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
size_type TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::erase ( const key_type key)
inline

Definition at line 407 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
void TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::erase ( const_iterator  position)
inline

Definition at line 408 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
void TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::erase ( const_iterator  first,
const_iterator  last 
)
inline

Definition at line 409 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::insert ( const value_type v)
inline

Definition at line 415 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
iterator TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::insert ( const_iterator  hint,
const value_type v 
)
inline

Definition at line 418 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
template<class InputIterator >
void TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::insert ( InputIterator  first,
InputIterator  last 
)
inline

Definition at line 422 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
TfHashMultiSet& TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::operator= ( const TfHashMultiSet< Key, HashFn, EqualKey, Alloc > &  rhs)
inline

Definition at line 389 of file hashset.h.

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
void TfHashMultiSet< Key, HashFn, EqualKey, Alloc >::swap ( TfHashMultiSet< Key, HashFn, EqualKey, Alloc > &  other)
inline

Definition at line 434 of file hashset.h.

Friends And Related Function Documentation

template<class Key, class HashFn = std::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
template<class Key2 , class HashFn2 , class EqualKey2 , class Alloc2 >
bool operator== ( const TfHashMultiSet< Key2, HashFn2, EqualKey2, Alloc2 > &  ,
const TfHashMultiSet< Key2, HashFn2, EqualKey2, Alloc2 > &   
)
friend

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