#include <sspt_avltree.h>
Public Member Functions | |
sspt_AVLNode (const K &key, const T &item, int balance=0, sspt_AVLNode< K, T > *parent=0, sspt_AVLNode< K, T > *lptr=0, sspt_AVLNode< K, T > *rptr=0) | |
~sspt_AVLNode () | |
sspt_AVLNode< K, T > * | parent () const |
void | parent (sspt_AVLNode< K, T > *node) |
sspt_AVLNode< K, T > * | left () const |
void | left (sspt_AVLNode< K, T > *node) |
sspt_AVLNode< K, T > * | right () const |
void | right (sspt_AVLNode< K, T > *node) |
K | key () const |
void | key (const K &key) |
T | data () const |
void | data (const T &item) |
int | balance () const |
void | balance (int v) |
sspt_AVLNode< K, T >::sspt_AVLNode | ( | const K & | key, | |
const T & | item, | |||
int | balance = 0 , |
|||
sspt_AVLNode< K, T > * | parent = 0 , |
|||
sspt_AVLNode< K, T > * | lptr = 0 , |
|||
sspt_AVLNode< K, T > * | rptr = 0 | |||
) | [inline] |
sspt_AVLNode< K, T >::~sspt_AVLNode | ( | ) | [inline] |
void sspt_AVLNode< K, T >::balance | ( | int | v | ) | [inline] |
int sspt_AVLNode< K, T >::balance | ( | ) | const [inline] |
void sspt_AVLNode< K, T >::data | ( | const T & | item | ) | [inline] |
T sspt_AVLNode< K, T >::data | ( | ) | const [inline] |
void sspt_AVLNode< K, T >::key | ( | const K & | key | ) | [inline] |
K sspt_AVLNode< K, T >::key | ( | ) | const [inline] |
void sspt_AVLNode< K, T >::left | ( | sspt_AVLNode< K, T > * | node | ) | [inline] |
sspt_AVLNode<K,T>* sspt_AVLNode< K, T >::left | ( | ) | const [inline] |
void sspt_AVLNode< K, T >::parent | ( | sspt_AVLNode< K, T > * | node | ) | [inline] |
sspt_AVLNode<K,T>* sspt_AVLNode< K, T >::parent | ( | ) | const [inline] |
void sspt_AVLNode< K, T >::right | ( | sspt_AVLNode< K, T > * | node | ) | [inline] |
sspt_AVLNode<K,T>* sspt_AVLNode< K, T >::right | ( | ) | const [inline] |