|
libxr
Embedded C++ framework for bare-metal, RTOS and Linux
|
红黑树的基本节点结构 / Base node structure of the Red-Black Tree. More...
#include <rbt.hpp>
Public Attributes | |
| Key | key |
| 节点键值 / Key associated with the node. | |
| RbtColor | color |
| 节点颜色 / Color of the node. | |
| BaseNode * | left = nullptr |
| 左子节点 / Left child node. | |
| BaseNode * | right = nullptr |
| 右子节点 / Right child node. | |
| BaseNode * | parent = nullptr |
| 父节点 / Parent node. | |
| size_t | size |
| 节点大小 / Size of the node. | |
Protected Member Functions | |
| BaseNode (size_t size) | |
| 基本节点构造函数 / Constructor for BaseNode. | |
红黑树的基本节点结构 / Base node structure of the Red-Black Tree.
|
inlineexplicitprotected |
| RbtColor LibXR::RBTree< Key >::BaseNode::color |
| Key LibXR::RBTree< Key >::BaseNode::key |
| BaseNode* LibXR::RBTree< Key >::BaseNode::left = nullptr |
| BaseNode* LibXR::RBTree< Key >::BaseNode::parent = nullptr |
| BaseNode* LibXR::RBTree< Key >::BaseNode::right = nullptr |
| size_t LibXR::RBTree< Key >::BaseNode::size |