template<typename Key>
sead::TreeMapNode class

Requires Key to have a compare() member function, which returns -1 if lhs < rhs, 0 if lhs = rhs and 1 if lhs > rhs.

Derived classes

class sead::TreeMap::Node

Constructors, destructors, conversion operators

TreeMapNode()
~TreeMapNode() defaulted virtual

Public functions

void erase_() pure virtual
auto key() const -> const Key&

Protected types

enum class Color { Red = 0, Black = 1 }

Protected functions

void flipColor()
void setColor(Color color)
void setParent(TreeMapNode* parent)
auto getParent() const -> TreeMapNode*
auto isRed() const -> bool

Protected variables

TreeMapNode* mLeft
TreeMapNode* mRight
uintptr_t mColorAndPtr
Key mKey

Function documentation

template<typename Key>
TreeMapNode* sead::TreeMapNode<Key>::getParent() const protected