|
libxr
1.0
Want to be the best embedded framework
|
红黑树的基本节点结构 (Base node structure of the Red-Black Tree). More...
#include <rbt.hpp>
Data Fields | |
| 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 |