Public Types | Public Member Functions | Public Attributes | List of all members
QMapNodeBase Struct Reference

#include <qmap.h>

Inheritance diagram for QMapNodeBase:
QMapNode< K, T > QMapNode< Key, T >

Public Types

enum  Color { Red, Black }
 

Public Member Functions

QMapNodeBaseminimum ()
 
QMapNodeBasemaximum ()
 

Public Attributes

QMapNodeBaseleft
 
QMapNodeBaseright
 
QMapNodeBaseparent
 
Color color
 

Detailed Description

Definition at line 47 of file qmap.h.

Member Enumeration Documentation

Enumerator
Red 
Black 

Definition at line 49 of file qmap.h.

Member Function Documentation

QMapNodeBase* QMapNodeBase::maximum ( )
inline

Definition at line 64 of file qmap.h.

64  {
65  QMapNodeBase* x = this;
66  while ( x->right )
67  x = x->right;
68  return x;
69  }
list x
Definition: train.py:276
QMapNodeBase * right
Definition: qmap.h:52
QMapNodeBase* QMapNodeBase::minimum ( )
inline

Definition at line 57 of file qmap.h.

57  {
58  QMapNodeBase* x = this;
59  while ( x->left )
60  x = x->left;
61  return x;
62  }
QMapNodeBase * left
Definition: qmap.h:51
list x
Definition: train.py:276

Member Data Documentation

Color QMapNodeBase::color

Definition at line 55 of file qmap.h.

QMapNodeBase* QMapNodeBase::left

Definition at line 51 of file qmap.h.

QMapNodeBase* QMapNodeBase::parent

Definition at line 53 of file qmap.h.

QMapNodeBase* QMapNodeBase::right

Definition at line 52 of file qmap.h.


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