Public Types | |
using | hashMapType = hashMap< Key, T, Hash > |
using | hashmapType = std::unordered_map< Key, T, Hash > |
using | hasher = typename hashmapType::hasher |
using | iterator = typename hashmapType::iterator |
using | constIterator = typename hashmapType::const_iterator |
using | reference = typename hashmapType::reference |
using | constReference = typename hashmapType::const_reference |
using | initList = typename std::initializer_list< T > |
using | keyType = typename hashmapType::key_type |
using | mappedType = typename hashmapType::mapped_type |
using | valueType = typename hashmapType::value_type |
Public Member Functions | |
TypeInfoTemplateNV11 ("hashMap", Key) | |
hashMap () | |
hashMap (initList lst) | |
hashMap (const hashMapType &src)=default | |
hashMap (hashMapType &&src)=default | |
hashMapType & | operator= (const hashMapType &rhs)=default |
hashMapType & | operator= (hashMapType &&rhs)=default |
uniquePtr< hashMapType > | clone () const |
~hashMap ()=default | |
bool | insertIf (const keyType &k, const mappedType &v) |
bool | insertIf (keyType &&k, mappedType &&v) |
bool | search (const keyType k) const |
std::pair< iterator, bool > | findIf (const keyType &k) |
const std::pair< constIterator, bool > | findIf (const keyType &k) const |
Definition at line 36 of file hashMap.hpp.
using hashMapType = hashMap<Key, T, Hash> |
Definition at line 42 of file hashMap.hpp.
using hashmapType = std::unordered_map<Key, T, Hash> |
Definition at line 44 of file hashMap.hpp.
using hasher = typename hashmapType::hasher |
Definition at line 46 of file hashMap.hpp.
using iterator = typename hashmapType::iterator |
Definition at line 48 of file hashMap.hpp.
using constIterator = typename hashmapType::const_iterator |
Definition at line 50 of file hashMap.hpp.
using reference = typename hashmapType::reference |
Definition at line 52 of file hashMap.hpp.
using constReference = typename hashmapType::const_reference |
Definition at line 54 of file hashMap.hpp.
using initList = typename std::initializer_list<T> |
Definition at line 56 of file hashMap.hpp.
using keyType = typename hashmapType::key_type |
Definition at line 58 of file hashMap.hpp.
using mappedType = typename hashmapType::mapped_type |
Definition at line 60 of file hashMap.hpp.
using valueType = typename hashmapType::value_type |
Definition at line 62 of file hashMap.hpp.
|
inline |
Definition at line 70 of file hashMap.hpp.
Definition at line 74 of file hashMap.hpp.
|
default |
|
default |
|
default |
TypeInfoTemplateNV11 | ( | "hashMap< Key, T, Hash >" | , |
Key | |||
) |
|
default |
|
default |
|
inline |
Definition at line 91 of file hashMap.hpp.
bool insertIf | ( | const keyType & | k, |
const mappedType & | v | ||
) |
Definition at line 23 of file hashMapI.hpp.
bool insertIf | ( | keyType && | k, |
mappedType && | v | ||
) |
Definition at line 30 of file hashMapI.hpp.
bool search | ( | const keyType | k | ) | const |
Definition at line 40 of file hashMapI.hpp.
std::pair< typename pFlow::hashMap< Key, T, Compare >::iterator, bool > findIf | ( | const keyType & | k | ) |
Definition at line 48 of file hashMapI.hpp.
const std::pair< typename pFlow::hashMap< Key, T, Compare >::constIterator, bool > findIf | ( | const keyType & | k | ) | const |
Definition at line 58 of file hashMapI.hpp.