Public Types | |
using | hashMapType = hashMap< Key, T, Hash > |
using | hashmapType = std::unordered_map< Key, T, Hash > |
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 | |
TypeInfoTemplateNV ("hashMap", Key) | |
hashMap () | |
hashMap (initList lst) | |
hashMap (const hashMapType &src) | |
hashMap (hashMapType &&src) | |
hashMapType & | operator= (const hashMapType &rhs) |
hashMapType & | operator= (hashMapType &&rhs) |
uniquePtr< hashMapType > | clone () const |
hashMapType * | clonePtr () const |
~hashMap () | |
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 iterator = typename hashmapType::iterator |
Definition at line 46 of file hashMap.hpp.
using constIterator = typename hashmapType::const_iterator |
Definition at line 48 of file hashMap.hpp.
using reference = typename hashmapType::reference |
Definition at line 50 of file hashMap.hpp.
using constReference = typename hashmapType::const_reference |
Definition at line 52 of file hashMap.hpp.
using initList = typename std::initializer_list<T> |
Definition at line 54 of file hashMap.hpp.
using keyType = typename hashmapType::key_type |
Definition at line 56 of file hashMap.hpp.
using mappedType = typename hashmapType::mapped_type |
Definition at line 58 of file hashMap.hpp.
using valueType = typename hashmapType::value_type |
Definition at line 60 of file hashMap.hpp.
|
inline |
Definition at line 68 of file hashMap.hpp.
Definition at line 72 of file hashMap.hpp.
|
inline |
Definition at line 78 of file hashMap.hpp.
|
inline |
Definition at line 84 of file hashMap.hpp.
|
inline |
Definition at line 113 of file hashMap.hpp.
TypeInfoTemplateNV | ( | "hashMap< Key, T, Hash >" | , |
Key | |||
) |
|
inline |
Definition at line 90 of file hashMap.hpp.
|
inline |
Definition at line 97 of file hashMap.hpp.
|
inline |
Definition at line 103 of file hashMap.hpp.
|
inline |
Definition at line 108 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.