CRedBlackTreeNode<T>
CRedBlackTreeNode
CRedBlackTreeNode
Description
The CRedBlackTreeNode
Declaration
template<typename T>
class CRedBlackTreeNodeHeader
#include <Generic\RedBlackTree.mqh>Class Methods
| Method | Description |
|---|---|
| Value | Returns and sets a node value |
| Parent | Returns and sets a pointer to the parent node |
| Left | Returns and sets a pointer to the left node |
| Right | Returns and sets a pointer to the right node |
| Color | Returns and sets a node color |
| IsLeaf | Determines whether the specified node is a leaf |
| CreateEmptyNode | Creates a new black node with no parent and children, and returns a pointer to it |
Last updated on