Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::SplayTree< Config, B, Allocator >::Locator Class Reference

#include <splay-tree.h>

Inheritance diagram for dart::SplayTree< Config, B, Allocator >::Locator:
B A

Public Member Functions

 Locator (Node *node)
 
 Locator ()
 
const Keykey ()
 
Valuevalue ()
 
void set_value (const Value &value)
 
void bind (Node *node)
 
- 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from A
static ACreate (SkRandom *r)
 
static void SetAllocator (size_t preallocSize, size_t minAllocSize)
 
static void ResetAllocator ()
 
static void ValidatePool ()
 

Detailed Description

template<typename Config, class B, class Allocator>
class dart::SplayTree< Config, B, Allocator >::Locator

Definition at line 107 of file splay-tree.h.

Constructor & Destructor Documentation

◆ Locator() [1/2]

template<typename Config , class B , class Allocator >
dart::SplayTree< Config, B, Allocator >::Locator::Locator ( Node node)
inlineexplicit

Definition at line 109 of file splay-tree.h.

109: node_(node) {}

◆ Locator() [2/2]

template<typename Config , class B , class Allocator >
dart::SplayTree< Config, B, Allocator >::Locator::Locator ( )
inline

Definition at line 110 of file splay-tree.h.

110: node_(nullptr) {}

Member Function Documentation

◆ bind()

template<typename Config , class B , class Allocator >
void dart::SplayTree< Config, B, Allocator >::Locator::bind ( Node node)
inline

Definition at line 114 of file splay-tree.h.

114{ node_ = node; }

◆ key()

template<typename Config , class B , class Allocator >
const Key & dart::SplayTree< Config, B, Allocator >::Locator::key ( )
inline

Definition at line 111 of file splay-tree.h.

111{ return node_->key_; }

◆ set_value()

template<typename Config , class B , class Allocator >
void dart::SplayTree< Config, B, Allocator >::Locator::set_value ( const Value value)
inline

Definition at line 113 of file splay-tree.h.

113{ node_->value_ = value; }

◆ value()

template<typename Config , class B , class Allocator >
Value & dart::SplayTree< Config, B, Allocator >::Locator::value ( )
inline

Definition at line 112 of file splay-tree.h.

112{ return node_->value_; }

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