Flutter Engine
The Flutter Engine
Public Types | Static Public Member Functions | List of all members
dart::AbstractTypeKeyValueTrait Class Reference

#include <precompiler.h>

Public Types

typedef const AbstractTypeKey
 
typedef const AbstractTypeValue
 
typedef const AbstractTypePair
 

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 107 of file precompiler.h.

Member Typedef Documentation

◆ Key

Definition at line 110 of file precompiler.h.

◆ Pair

Definition at line 112 of file precompiler.h.

◆ Value

Definition at line 111 of file precompiler.h.

Member Function Documentation

◆ Hash()

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

Definition at line 118 of file precompiler.h.

118{ return key->Hash(); }

◆ IsKeyEqual()

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

Definition at line 120 of file precompiler.h.

120 {
121 return pair->ptr() == key->ptr();
122 }

◆ KeyOf()

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

Definition at line 114 of file precompiler.h.

114{ return kv; }

◆ ValueOf()

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

Definition at line 116 of file precompiler.h.

116{ return kv; }

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