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

Member Function Documentation

◆ Hash()

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

Definition at line 10041 of file object.h.

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

◆ IsMatch()

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

Definition at line 10037 of file object.h.

10037 {
10038 return Smi::Cast(a).Value() == Smi::Cast(b).Value();
10039 }
static bool b
struct MyStruct a[10]

◆ Name()

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

Definition at line 10034 of file object.h.

10034{ return "SmiTraits"; }

◆ ReportStats()

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

Definition at line 10035 of file object.h.

10035{ return false; }

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