Replacement for STL hash map because some systems do not support it, or support it incorrectly.
More...
Public Member Functions |
| | 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) |
| | hash_map (const value_type *f, const value_type *l) |
| | hash_map (const value_type *f, const value_type *l, size_type n) |
| | hash_map (const value_type *f, const value_type *l, size_type n, const hasher &hf) |
| | hash_map (const value_type *f, const value_type *l, size_type n, const hasher &hf, const key_equal &eql) |
| | hash_map (const_iterator f, const_iterator l) |
| | hash_map (const_iterator f, const_iterator l, size_type n) |
| | hash_map (const_iterator f, const_iterator l, size_type n, const hasher &hf) |
| | hash_map (const_iterator f, const_iterator l, size_type n, const hasher &hf, const key_equal &eql) |
| iterator | begin () |
| const_iterator | begin () const |
| size_type | bucket_count () const |
| void | clear () |
| size_type | count (const key_type &key) const |
| size_type | elems_in_bucket (size_type n) const |
| bool | empty () const |
| iterator | end () |
| const_iterator | end () const |
| std::pair< iterator, iterator > | equal_range (const key_type &key) |
std::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) |
| iterator | find (const key_type &key) |
| const_iterator | find (const key_type &key) const |
| hasher | hash_funct () const |
| std::pair< iterator, bool > | insert (const value_type &obj) |
| void | insert (const value_type *f, const value_type *l) |
| void | insert (const_iterator f, const_iterator l) |
| std::pair< iterator, bool > | insert_noresize (const value_type &obj) |
| key_equal | key_eq () const |
| size_type | max_bucket_count () const |
| size_type | max_size () const |
| T & | operator[] (const key_type &key) |
| void | resize (size_type hint) |
| size_type | size () const |
| void | swap (self &hs) |
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >), VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >), VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >)>
class itk::hash_map< Key, T,,, >
Replacement for STL hash map because some systems do not support it, or support it incorrectly.
Definition at line 131 of file itk_hash_map.h.
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
| typedef hashtable<std::pair<const Key, T>, Key, HashFcn, sel1st, EqualKey, Alloc> itk::hash_map< Key, T,,, >::ht |
|
private |
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
| size_type itk::hash_map< Key, T,,, >::elems_in_bucket |
( |
size_type |
n | ) |
const |
|
inline |
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
| std::pair<const_iterator, const_iterator> itk::hash_map< Key, T,,, >::equal_range |
( |
const key_type & |
key | ) |
const |
|
inline |
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
| void itk::hash_map< Key, T,,, >::erase |
( |
iterator |
f, |
|
|
iterator |
l |
|
) |
| |
|
inline |
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
| void itk::hash_map< Key, T,,, >::insert |
( |
const_iterator |
f, |
|
|
const_iterator |
l |
|
) |
| |
|
inline |
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
template<class Key, class T, VCL_DFL_TMPL_PARAM_STLDECL(HashFcn, hash< Key >) , VCL_DFL_TMPL_PARAM_STLDECL(EqualKey, std::equal_to< Key >) , VCL_DFL_TYPE_PARAM_STLDECL(Alloc, std::allocator< char >) >
| bool operator==ITK_FRIEND_TEMPLATE_FUNCTION_ARGUMENT() self |
( |
const self & |
, |
|
|
const self & |
|
|
) |
| |
|
friend |