![]() |
Flutter Engine
The Flutter Engine
|
#include <SkTHash.h>
Classes | |
struct | Pair |
Public Types | |
using | Iter = typename THashTable< Pair, K >::template Iter< std::pair< K, V > > |
Public Member Functions | |
THashMap ()=default | |
THashMap (THashMap< K, V, HashK > &&that)=default | |
THashMap (const THashMap< K, V, HashK > &that)=default | |
THashMap< K, V, HashK > & | operator= (THashMap< K, V, HashK > &&that)=default |
THashMap< K, V, HashK > & | operator= (const THashMap< K, V, HashK > &that)=default |
THashMap (std::initializer_list< Pair > pairs) | |
void | reset () |
int | count () const |
bool | empty () const |
size_t | approxBytesUsed () const |
void | swap (THashMap &that) |
void | swap (THashMap &&that) |
V * | set (K key, V val) |
V * | find (const K &key) const |
V & | operator[] (const K &key) |
void | remove (const K &key) |
bool | removeIfExists (const K &key) |
template<typename Fn , std::enable_if_t< std::is_invocable_v< Fn, K, V * > > * = nullptr> | |
void | foreach (Fn &&fn) |
template<typename Fn , std::enable_if_t< std::is_invocable_v< Fn, K, V > > * = nullptr> | |
void | foreach (Fn &&fn) const |
template<typename Fn , std::enable_if_t< std::is_invocable_v< Fn, Pair > > * = nullptr> | |
void | foreach (Fn &&fn) const |
Iter | begin () const |
Iter | end () const |
using skia_private::THashMap< K, V, HashK >::Iter = typename THashTable<Pair, K>::template Iter<std::pair<K, V> > |
|
default |
|
inline |
Definition at line 460 of file SkTHash.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |