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

Static Public Member Functions

static bool ReportStats ()
 
static const char * Name ()
 
static bool IsMatch (const Object &a, const Object &b)
 
static uword Hash (const Object &obj)
 

Detailed Description

Definition at line 255 of file object_reload.cc.

Member Function Documentation

◆ Hash()

static uword dart::EnumMapTraits::Hash ( const Object obj)
inlinestatic

Definition at line 264 of file object_reload.cc.

264 {
265 ASSERT(obj.IsString());
266 return String::Cast(obj).Hash();
267 }
#define ASSERT(E)

◆ IsMatch()

static bool dart::EnumMapTraits::IsMatch ( const Object a,
const Object b 
)
inlinestatic

Definition at line 260 of file object_reload.cc.

260 {
261 return a.ptr() == b.ptr();
262 }
static bool b
struct MyStruct a[10]

◆ Name()

static const char * dart::EnumMapTraits::Name ( )
inlinestatic

Definition at line 258 of file object_reload.cc.

258{ return "EnumMapTraits"; }

◆ ReportStats()

static bool dart::EnumMapTraits::ReportStats ( )
inlinestatic

Definition at line 257 of file object_reload.cc.

257{ return false; }

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