Qt 4.8
Public Functions | Public Variables | List of all members
QRBTree< T >::Node Struct Reference

Public Functions

 Node ()
 
 ~Node ()
 

Public Variables

data
 
Nodeleft
 
Nodeparent
 
bool red
 
Noderight
 

Detailed Description

template<class T>
struct QRBTree< T >::Node

Definition at line 597 of file qtriangulator.cpp.

Constructors and Destructors

◆ Node()

template<class T>
QRBTree< T >::Node::Node ( )
inline

Definition at line 599 of file qtriangulator.cpp.

599 : parent(0), left(0), right(0), red(true) { }

◆ ~Node()

template<class T>
QRBTree< T >::Node::~Node ( )
inline

Definition at line 600 of file qtriangulator.cpp.

600 {if (left) delete left; if (right) delete right;}

Properties

◆ data

template<class T>
T QRBTree< T >::Node::data

Definition at line 601 of file qtriangulator.cpp.

◆ left

template<class T>
Node* QRBTree< T >::Node::left

Definition at line 603 of file qtriangulator.cpp.

◆ parent

template<class T>
Node* QRBTree< T >::Node::parent

Definition at line 602 of file qtriangulator.cpp.

◆ red

template<class T>
bool QRBTree< T >::Node::red

Definition at line 605 of file qtriangulator.cpp.

◆ right

template<class T>
Node* QRBTree< T >::Node::right

Definition at line 604 of file qtriangulator.cpp.


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