Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 509 of file debugger.h.

Member Typedef Documentation

◆ Key

Definition at line 511 of file debugger.h.

◆ Value

Definition at line 512 of file debugger.h.

Member Function Documentation

◆ Hash()

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

Definition at line 525 of file debugger.h.

525 {
526 return Utils::WordHash(reinterpret_cast<intptr_t>(key));
527 }
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 528 of file debugger.h.

528{ return kv.key == key; }

◆ KeyOf()

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

Definition at line 523 of file debugger.h.

523{ return kv.key; }

◆ ValueOf()

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

Definition at line 524 of file debugger.h.

524{ return kv.value; }

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