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

#include <object.h>

Inheritance diagram for dart::SmiTraits:
dart::AllStatic

Static Public Member Functions

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

Detailed Description

Definition at line 10053 of file object.h.

Member Function Documentation

◆ Hash()

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

Definition at line 10062 of file object.h.

10062{ return Smi::Cast(obj).Value(); }

◆ IsMatch()

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

Definition at line 10058 of file object.h.

10058 {
10059 return Smi::Cast(a).Value() == Smi::Cast(b).Value();
10060 }
static bool b
struct MyStruct a[10]

◆ Name()

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

Definition at line 10055 of file object.h.

10055{ return "SmiTraits"; }

◆ ReportStats()

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

Definition at line 10056 of file object.h.

10056{ return false; }

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