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

#include <debugger.h>

Inheritance diagram for dart::DebuggerKeyValueTrait:
dart::AllStatic

Classes

struct  Pair
 

Public Types

typedef const DebuggerKey
 
typedef bool Value
 

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

Definition at line 511 of file debugger.h.

Member Typedef Documentation

◆ Key

Definition at line 513 of file debugger.h.

◆ Value

Definition at line 514 of file debugger.h.

Member Function Documentation

◆ Hash()

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

Definition at line 527 of file debugger.h.

527 {
528 return Utils::WordHash(reinterpret_cast<intptr_t>(key));
529 }
static uint32_t WordHash(intptr_t key)
Definition: utils.cc:217

◆ IsKeyEqual()

static bool dart::DebuggerKeyValueTrait::IsKeyEqual ( Pair  kv,
Key  key 
)
inlinestatic

Definition at line 530 of file debugger.h.

530{ return kv.key == key; }

◆ KeyOf()

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

Definition at line 525 of file debugger.h.

525{ return kv.key; }

◆ ValueOf()

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

Definition at line 526 of file debugger.h.

526{ return kv.value; }

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