Replacement for STL hash map because some systems do not support it, or support it incorrectly. More...
#include <itk_hash_map.h>
Public Types | |
typedef ht::const_pointer | const_pointer |
typedef T | data_type |
typedef ht::hasher | hasher |
typedef ht::key_equal | key_equal |
typedef ht::key_type | key_type |
typedef ht::pointer | pointer |
Public Member Functions | |
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< const_iterator, const_iterator > | equal_range (const key_type &key) const |
std::pair< iterator, iterator > | equal_range (const key_type &key) |
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 |
hash_map (const_iterator f, const_iterator l, size_type n, const hasher &hf, const key_equal &eql) | |
hash_map (const value_type *f, const value_type *l, size_type n) | |
hash_map (size_type n) | |
hash_map (const value_type *f, const value_type *l, size_type n, const hasher &hf, const key_equal &eql) | |
hash_map (const value_type *f, const value_type *l, size_type n, const hasher &hf) | |
hash_map (size_type n, const hasher &hf) | |
hash_map (const_iterator f, const_iterator l) | |
hash_map () | |
hash_map (const_iterator f, const_iterator l, size_type n) | |
hash_map (size_type n, const hasher &hf, const key_equal &eql) | |
hash_map (const_iterator f, const_iterator l, size_type n, const hasher &hf) | |
hash_map (const value_type *f, const value_type *l) | |
void | insert (const_iterator f, const_iterator l) |
std::pair< iterator, bool > | insert (const value_type &obj) |
void | insert (const value_type *f, const value_type *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) |
Friends | |
bool operator==ITK_FRIEND_TEMPLATE_FUNCTION_ARGUMENT() | self (const self &, const self &) |
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.
typedef ht::const_pointer itk::hash_map< Key, T,,, >::const_pointer |
Definition at line 145 of file itk_hash_map.h.
typedef T itk::hash_map< Key, T,,, >::data_type |
Definition at line 143 of file itk_hash_map.h.
typedef ht::hasher itk::hash_map< Key, T,,, >::hasher |
Definition at line 141 of file itk_hash_map.h.
typedef ht::key_equal itk::hash_map< Key, T,,, >::key_equal |
Definition at line 142 of file itk_hash_map.h.
typedef ht::key_type itk::hash_map< Key, T,,, >::key_type |
Definition at line 140 of file itk_hash_map.h.
typedef ht::pointer itk::hash_map< Key, T,,, >::pointer |
Definition at line 144 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | ) | [inline] |
Definition at line 154 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | size_type | n | ) | [inline] |
Definition at line 155 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | size_type | n, | |
const hasher & | hf | |||
) | [inline] |
Definition at line 156 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | size_type | n, | |
const hasher & | hf, | |||
const key_equal & | eql | |||
) | [inline] |
Definition at line 157 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | const value_type * | f, | |
const value_type * | l | |||
) | [inline] |
Definition at line 160 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | const value_type * | f, | |
const value_type * | l, | |||
size_type | n | |||
) | [inline] |
Definition at line 162 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | const value_type * | f, | |
const value_type * | l, | |||
size_type | n, | |||
const hasher & | hf | |||
) | [inline] |
Definition at line 164 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | const value_type * | f, | |
const value_type * | l, | |||
size_type | n, | |||
const hasher & | hf, | |||
const key_equal & | eql | |||
) | [inline] |
Definition at line 167 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | const_iterator | f, | |
const_iterator | l | |||
) | [inline] |
Definition at line 171 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | const_iterator | f, | |
const_iterator | l, | |||
size_type | n | |||
) | [inline] |
Definition at line 173 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | const_iterator | f, | |
const_iterator | l, | |||
size_type | n, | |||
const hasher & | hf | |||
) | [inline] |
Definition at line 175 of file itk_hash_map.h.
itk::hash_map< Key, T,,, >::hash_map | ( | const_iterator | f, | |
const_iterator | l, | |||
size_type | n, | |||
const hasher & | hf, | |||
const key_equal & | eql | |||
) | [inline] |
Definition at line 178 of file itk_hash_map.h.
iterator itk::hash_map< Key, T,,, >::begin | ( | ) | [inline] |
Definition at line 190 of file itk_hash_map.h.
const_iterator itk::hash_map< Key, T,,, >::begin | ( | ) | const [inline] |
Definition at line 192 of file itk_hash_map.h.
size_type itk::hash_map< Key, T,,, >::bucket_count | ( | ) | const [inline] |
Definition at line 226 of file itk_hash_map.h.
void itk::hash_map< Key, T,,, >::clear | ( | ) | [inline] |
Definition at line 222 of file itk_hash_map.h.
size_type itk::hash_map< Key, T,,, >::count | ( | const key_type & | key | ) | const [inline] |
Definition at line 212 of file itk_hash_map.h.
size_type itk::hash_map< Key, T,,, >::elems_in_bucket | ( | size_type | n | ) | const [inline] |
Definition at line 228 of file itk_hash_map.h.
bool itk::hash_map< Key, T,,, >::empty | ( | ) | const [inline] |
Definition at line 185 of file itk_hash_map.h.
iterator itk::hash_map< Key, T,,, >::end | ( | ) | [inline] |
Definition at line 191 of file itk_hash_map.h.
const_iterator itk::hash_map< Key, T,,, >::end | ( | ) | const [inline] |
Definition at line 193 of file itk_hash_map.h.
std::pair<iterator, iterator> itk::hash_map< Key, T,,, >::equal_range | ( | const key_type & | key | ) | [inline] |
Definition at line 214 of file itk_hash_map.h.
std::pair<const_iterator, const_iterator> itk::hash_map< Key, T,,, >::equal_range | ( | const key_type & | key | ) | const [inline] |
Definition at line 216 of file itk_hash_map.h.
size_type itk::hash_map< Key, T,,, >::erase | ( | const key_type & | key | ) | [inline] |
Definition at line 219 of file itk_hash_map.h.
void itk::hash_map< Key, T,,, >::erase | ( | iterator | it | ) | [inline] |
Definition at line 220 of file itk_hash_map.h.
void itk::hash_map< Key, T,,, >::erase | ( | iterator | f, | |
iterator | l | |||
) | [inline] |
Definition at line 221 of file itk_hash_map.h.
const_iterator itk::hash_map< Key, T,,, >::find | ( | const key_type & | key | ) | const [inline] |
Definition at line 204 of file itk_hash_map.h.
iterator itk::hash_map< Key, T,,, >::find | ( | const key_type & | key | ) | [inline] |
Definition at line 203 of file itk_hash_map.h.
hasher itk::hash_map< Key, T,,, >::hash_funct | ( | ) | const [inline] |
Definition at line 150 of file itk_hash_map.h.
std::pair<iterator, bool> itk::hash_map< Key, T,,, >::insert | ( | const value_type & | obj | ) | [inline] |
Definition at line 196 of file itk_hash_map.h.
void itk::hash_map< Key, T,,, >::insert | ( | const value_type * | f, | |
const value_type * | l | |||
) | [inline] |
Definition at line 198 of file itk_hash_map.h.
void itk::hash_map< Key, T,,, >::insert | ( | const_iterator | f, | |
const_iterator | l | |||
) | [inline] |
Definition at line 199 of file itk_hash_map.h.
std::pair<iterator, bool> itk::hash_map< Key, T,,, >::insert_noresize | ( | const value_type & | obj | ) | [inline] |
Definition at line 200 of file itk_hash_map.h.
key_equal itk::hash_map< Key, T,,, >::key_eq | ( | ) | const [inline] |
Definition at line 151 of file itk_hash_map.h.
size_type itk::hash_map< Key, T,,, >::max_bucket_count | ( | ) | const [inline] |
Definition at line 227 of file itk_hash_map.h.
size_type itk::hash_map< Key, T,,, >::max_size | ( | ) | const [inline] |
Definition at line 184 of file itk_hash_map.h.
T& itk::hash_map< Key, T,,, >::operator[] | ( | const key_type & | key | ) | [inline] |
Definition at line 206 of file itk_hash_map.h.
void itk::hash_map< Key, T,,, >::resize | ( | size_type | hint | ) | [inline] |
Definition at line 225 of file itk_hash_map.h.
size_type itk::hash_map< Key, T,,, >::size | ( | ) | const [inline] |
Definition at line 183 of file itk_hash_map.h.
void itk::hash_map< Key, T,,, >::swap | ( | self & | hs | ) | [inline] |
Definition at line 186 of file itk_hash_map.h.
bool operator==ITK_FRIEND_TEMPLATE_FUNCTION_ARGUMENT() self | ( | const self & | , | |
const self & | ||||
) | [friend] |