sead
Loading...
Searching...
No Matches
sead::TreeMap< Key, Value >::Node Class Reference

#include <seadTreeMap.h>

Inherits sead::TreeMapNode< TreeMapKeyImpl< Key > >.

Public Member Functions

 Node (const Key &akey, TreeMap *map)
 Node (const Key &akey, const Value &avalue, TreeMap *map)
Key & key ()
Value & value ()
Public Member Functions inherited from sead::TreeMapNode< TreeMapKeyImpl< Key > >
 TreeMapNode ()
virtual ~TreeMapNode ()

Protected Member Functions

void erase_ () override

Protected Attributes

Value mValue
TreeMapmMap

Additional Inherited Members

Public Attributes inherited from sead::TreeMapNode< TreeMapKeyImpl< Key > >
TreeMapNode< Key > * mLeft_
TreeMapNode< Key > * mRight_
bool mColor_
Key mKey_
Static Public Attributes inherited from sead::TreeMapNode< TreeMapKeyImpl< Key > >
static const bool cRed_
static const bool cBlack_

Constructor & Destructor Documentation

◆ Node() [1/2]

template<typename Key, typename Value>
sead::TreeMap< Key, Value >::Node::Node ( const Key & akey,
TreeMap * map )
inline

◆ Node() [2/2]

template<typename Key, typename Value>
sead::TreeMap< Key, Value >::Node::Node ( const Key & akey,
const Value & avalue,
TreeMap * map )
inline

Member Function Documentation

◆ erase_()

template<typename Key, typename Value>
void sead::TreeMap< Key, Value >::Node::erase_ ( )
inlineoverrideprotectedvirtual

◆ key()

template<typename Key, typename Value>
Key & sead::TreeMap< Key, Value >::Node::key ( )
inline

◆ value()

template<typename Key, typename Value>
Value & sead::TreeMap< Key, Value >::Node::value ( )
inline

Member Data Documentation

◆ mValue

template<typename Key, typename Value>
Value sead::TreeMap< Key, Value >::Node::mValue
protected

◆ mMap

template<typename Key, typename Value>
TreeMap* sead::TreeMap< Key, Value >::Node::mMap
protected