The Pedigree Project 0.1
Public Attributes | List of all members
Tree< K, E >::Node Struct Reference
+ Collaboration diagram for Tree< K, E >::Node:

Public Attributes

K key
 
E element
 
struct Node * leftChild = nullptr
 
struct Node * rightChild = nullptr
 
struct Node * parent = nullptr
 
size_t height = 0
 

Detailed Description

template<class K, class E>
struct Tree< K, E >::Node

Tree node.

Definition at line 36 of file Tree.h.

Member Data Documentation

◆ element

template<class K , class E >
E Tree< K, E >::Node::element

Definition at line 38 of file Tree.h.

◆ height

template<class K , class E >
size_t Tree< K, E >::Node::height = 0

Definition at line 42 of file Tree.h.

◆ key

template<class K , class E >
K Tree< K, E >::Node::key

Definition at line 37 of file Tree.h.

◆ leftChild

template<class K , class E >
struct Node* Tree< K, E >::Node::leftChild = nullptr

Definition at line 39 of file Tree.h.

◆ parent

template<class K , class E >
struct Node* Tree< K, E >::Node::parent = nullptr

Definition at line 41 of file Tree.h.

◆ rightChild

template<class K , class E >
struct Node* Tree< K, E >::Node::rightChild = nullptr

Definition at line 40 of file Tree.h.


The documentation for this struct was generated from the following file: