Flutter Engine
The Flutter Engine
|
#include <splay-tree.h>
Classes | |
class | Locator |
class | Node |
Public Types | |
typedef Config::Key | Key |
typedef Config::Value | Value |
Public Member Functions | |
SplayTree (Allocator *allocator) | |
~SplayTree () | |
Allocator * | allocator () |
bool | Contains (const Key &key) |
bool | Insert (const Key &key, Locator *locator) |
bool | Find (const Key &key, Locator *locator) |
bool | FindGreatestLessThan (const Key &key, Locator *locator) |
bool | FindGreatest (Locator *locator) |
bool | FindLeastGreaterThan (const Key &key, Locator *locator) |
bool | FindLeast (Locator *locator) |
bool | Move (const Key &old_key, const Key &new_key) |
bool | Remove (const Key &key) |
void | Clear () |
bool | is_empty () |
void | Splay (const Key &key) |
template<class Callback > | |
void | ForEach (Callback *callback) |
Public Member Functions inherited from B | |
B () | |
void | setValues (int v) override |
bool | checkValues (int v) override |
Public Member Functions inherited from A | |
A () | |
virtual void | setValues (int v) |
virtual bool | checkValues (int v) |
virtual | ~A () |
void * | operator new (size_t size) |
void | operator delete (void *p) |
Protected Member Functions | |
void | ResetRoot () |
Additional Inherited Members | |
Static Public Member Functions inherited from A | |
static A * | Create (SkRandom *r) |
static void | SetAllocator (size_t preallocSize, size_t minAllocSize) |
static void | ResetAllocator () |
static void | ValidatePool () |
Definition at line 29 of file splay-tree.h.
typedef Config::Key dart::SplayTree< Config, B, Allocator >::Key |
Definition at line 31 of file splay-tree.h.
typedef Config::Value dart::SplayTree< Config, B, Allocator >::Value |
Definition at line 32 of file splay-tree.h.
|
inlineexplicit |
Definition at line 36 of file splay-tree.h.
dart::SplayTree< Config, B, Allocator >::~SplayTree |
Definition at line 18 of file splay-tree-inl.h.
|
inline |
Definition at line 40 of file splay-tree.h.
|
inline |
Definition at line 76 of file splay-tree.h.
bool dart::SplayTree< Config, B, Allocator >::Contains | ( | const Key & | key | ) |
Definition at line 68 of file splay-tree-inl.h.
Definition at line 73 of file splay-tree-inl.h.
bool dart::SplayTree< Config, B, Allocator >::FindGreatest | ( | Locator * | locator | ) |
Definition at line 127 of file splay-tree-inl.h.
bool dart::SplayTree< Config, B, Allocator >::FindGreatestLessThan | ( | const Key & | key, |
Locator * | locator | ||
) |
Definition at line 83 of file splay-tree-inl.h.
bool dart::SplayTree< Config, B, Allocator >::FindLeast | ( | Locator * | locator | ) |
Definition at line 137 of file splay-tree-inl.h.
bool dart::SplayTree< Config, B, Allocator >::FindLeastGreaterThan | ( | const Key & | key, |
Locator * | locator | ||
) |
Definition at line 105 of file splay-tree-inl.h.
void dart::SplayTree< Config, B, Allocator >::ForEach | ( | Callback * | callback | ) |
Definition at line 248 of file splay-tree-inl.h.
Definition at line 24 of file splay-tree-inl.h.
|
inline |
Definition at line 78 of file splay-tree.h.
Definition at line 147 of file splay-tree-inl.h.
bool dart::SplayTree< Config, B, Allocator >::Remove | ( | const Key & | key | ) |
Definition at line 165 of file splay-tree-inl.h.
|
inlineprotected |
Definition at line 125 of file splay-tree.h.
void dart::SplayTree< Config, B, Allocator >::Splay | ( | const Key & | key | ) |
Definition at line 192 of file splay-tree-inl.h.