#include <seadTreeMapImpl.h>
Public Types | |
| typedef TreeMapNode< Key > | Node |
Public Member Functions | |
| TreeMapImpl () | |
| void | insert (Node *node) |
| Node * | insert (Node *h, Node *node) |
| void | erase (const Key &key) |
| Node * | erase (Node *h, const Key &key) |
| Node * | find (const Key &key) const |
| Node * | find (Node *node, const Key &key) const |
| bool | contains (const Key &key) const |
| template<typename T> | |
| void | forEach (const T &fun) const |
Static Public Member Functions | |
| static Node * | min (Node *h) |
| static Node * | eraseMin (Node *h) |
| static Node * | moveRedLeft (Node *h) |
| static Node * | moveRedRight (Node *h) |
| static Node * | fixUp (Node *h) |
| static Node * | rotateLeft (Node *h) |
| static Node * | rotateRight (Node *h) |
| static void | flipColors (Node *h) |
| static bool | isRed (Node *h) |
| template<typename T> | |
| static void | forEach (Node *node, const T &fun) |
Protected Attributes | |
| Node * | mRoot |
| typedef TreeMapNode<Key> sead::TreeMapImpl< Key >::Node |
|
inline |
|
inline |
| TreeMapNode< Key > * sead::TreeMapImpl< Key >::insert | ( | Node * | h, |
| Node * | node ) |
|
inline |
| TreeMapNode< Key > * sead::TreeMapImpl< Key >::erase | ( | Node * | h, |
| const Key & | key ) |
|
inline |
| TreeMapNode< Key > * sead::TreeMapImpl< Key >::find | ( | Node * | node, |
| const Key & | key ) const |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
protected |