Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
dart::SymbolKeyValueTrait Class Reference

#include <precompiler.h>

Public Types

typedef const StringKey
 
typedef const StringValue
 
typedef const StringPair
 

Static Public Member Functions

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

Detailed Description

Definition at line 53 of file precompiler.h.

Member Typedef Documentation

◆ Key

Definition at line 56 of file precompiler.h.

◆ Pair

Definition at line 58 of file precompiler.h.

◆ Value

Definition at line 57 of file precompiler.h.

Member Function Documentation

◆ Hash()

static uword dart::SymbolKeyValueTrait::Hash ( Key  key)
inlinestatic

Definition at line 64 of file precompiler.h.

64{ return key->Hash(); }

◆ IsKeyEqual()

static bool dart::SymbolKeyValueTrait::IsKeyEqual ( Pair  pair,
Key  key 
)
inlinestatic

Definition at line 66 of file precompiler.h.

66 {
67 return pair->ptr() == key->ptr();
68 }

◆ KeyOf()

static Key dart::SymbolKeyValueTrait::KeyOf ( Pair  kv)
inlinestatic

Definition at line 60 of file precompiler.h.

60{ return kv; }

◆ ValueOf()

static Value dart::SymbolKeyValueTrait::ValueOf ( Pair  kv)
inlinestatic

Definition at line 62 of file precompiler.h.

62{ return kv; }

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