|
Claw
1.7.3
|
Basic binary node. More...
#include <binary_node.hpp>
Public Member Functions | |
| binary_node () | |
| Binary node constructor. | |
| binary_node (const binary_node &that) | |
| Binary node copy constructor. | |
| ~binary_node () | |
| Binary node destructor. Deletes the whole subtree. | |
| void | clear () |
| Clear right and left childs. Memory's not freed. | |
Public Attributes | |
| U * | left |
| Left child. | |
| U * | right |
| Right child. | |
Basic binary node.
Definition at line 41 of file binary_node.hpp.
|
explicit |
Binary node constructor.
Definition at line 39 of file binary_node.tpp.
|
explicit |
Binary node copy constructor.
| that | Node to copy from. |
Definition at line 51 of file binary_node.tpp.
References claw::binary_node< U >::left, and claw::binary_node< U >::right.
| void claw::binary_node< U >::clear | ( | ) |
Clear right and left childs. Memory's not freed.
Definition at line 70 of file binary_node.tpp.
1.8.1.2