Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
dart::PointerSetKeyValueTrait< T > Class Template Reference

#include <hash_map.h>

Public Types

typedef TValue
 
typedef TKey
 
typedef TPair
 

Static Public Member Functions

static Key KeyOf (Pair kv)
 
static Value ValueOf (Pair kv)
 
static uword Hash (Key key)
 
static bool IsKeyEqual (Pair kv, Key key)
 

Detailed Description

template<typename T>
class dart::PointerSetKeyValueTrait< T >

Definition at line 369 of file hash_map.h.

Member Typedef Documentation

◆ Key

template<typename T >
typedef T* dart::PointerSetKeyValueTrait< T >::Key

Definition at line 372 of file hash_map.h.

◆ Pair

template<typename T >
typedef T* dart::PointerSetKeyValueTrait< T >::Pair

Definition at line 373 of file hash_map.h.

◆ Value

template<typename T >
typedef T* dart::PointerSetKeyValueTrait< T >::Value

Definition at line 371 of file hash_map.h.

Member Function Documentation

◆ Hash()

template<typename T >
static uword dart::PointerSetKeyValueTrait< T >::Hash ( Key  key)
inlinestatic

Definition at line 377 of file hash_map.h.

377{ return key->Hash(); }

◆ IsKeyEqual()

template<typename T >
static bool dart::PointerSetKeyValueTrait< T >::IsKeyEqual ( Pair  kv,
Key  key 
)
inlinestatic

Definition at line 378 of file hash_map.h.

378{ return kv->Equals(*key); }

◆ KeyOf()

template<typename T >
static Key dart::PointerSetKeyValueTrait< T >::KeyOf ( Pair  kv)
inlinestatic

Definition at line 375 of file hash_map.h.

375{ return kv; }

◆ ValueOf()

template<typename T >
static Value dart::PointerSetKeyValueTrait< T >::ValueOf ( Pair  kv)
inlinestatic

Definition at line 376 of file hash_map.h.

376{ return kv; }

The documentation for this class was generated from the following file: