Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
dart::SplayTree< Config, B, Allocator >::Node Class Reference

#include <splay-tree.h>

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

Public Member Functions

 Node (const Key &key, const Value &value)
 
Key key ()
 
Value value ()
 
Nodeleft ()
 
Noderight ()
 
- 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 ~A ()
 
void * operator new (size_t size)
 
void operator delete (void *p)
 

Friends

class SplayTree
 
class Locator
 

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 >::Node

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

Constructor & Destructor Documentation

◆ Node()

template<typename Config , class B , class Allocator >
dart::SplayTree< Config, B, Allocator >::Node::Node ( const Key key,
const Value value 
)
inline

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

89 : key_(key), value_(value), left_(nullptr), right_(nullptr) {}

Member Function Documentation

◆ key()

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

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

91{ return key_; }

◆ left()

template<typename Config , class B , class Allocator >
Node * dart::SplayTree< Config, B, Allocator >::Node::left ( )
inline

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

93{ return left_; }

◆ right()

template<typename Config , class B , class Allocator >
Node * dart::SplayTree< Config, B, Allocator >::Node::right ( )
inline

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

94{ return right_; }

◆ value()

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

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

92{ return value_; }

Friends And Related Symbol Documentation

◆ Locator

template<typename Config , class B , class Allocator >
friend class Locator
friend

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

◆ SplayTree

template<typename Config , class B , class Allocator >
friend class SplayTree
friend

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


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