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

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 &key)
 
static ObjectPtr NewKey (const String &str)
 

Detailed Description

Definition at line 5341 of file service.cc.

Member Function Documentation

◆ Hash()

static uword dart::UriMappingTraits::Hash ( const Object key)
inlinestatic

Definition at line 5354 of file service.cc.

5354{ return String::Cast(key).Hash(); }

◆ IsMatch()

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

Definition at line 5346 of file service.cc.

5346 {
5347 const String& a_str = String::Cast(a);
5348 const String& b_str = String::Cast(b);
5349
5350 ASSERT(a_str.HasHash() && b_str.HasHash());
5351 return a_str.Equals(b_str);
5352 }
#define ASSERT(E)
static bool b
struct MyStruct a[10]

◆ Name()

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

Definition at line 5343 of file service.cc.

5343{ return "UriMappingTraits"; }

◆ NewKey()

static ObjectPtr dart::UriMappingTraits::NewKey ( const String str)
inlinestatic

Definition at line 5356 of file service.cc.

5356{ return str.ptr(); }

◆ ReportStats()

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

Definition at line 5344 of file service.cc.

5344{ return false; }

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