|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Variables:
- Tuple2C * DataP;
-
- HeapNodeC * ChildP[];
-
- int Balance;
-
Methods:
- HeapNodeC()
-
Default constructor.
- HeapNodeC(Tuple2C<K,D> & DataP)
-
- ~HeapNodeC()
-
Destructor.
- D & Data(void)
-
Access data.
- const D & Data(void) const
-
Constant access to data.
- K & Key(void)
-
Access key.
- const K & Key(void) const
-
Constant access to key.
- Tuple2C<K,D> & GetPair(void)
-
Access key pair.
- const Tuple2C<K,D> & GetPair(void) const
-
Constant access to key pair.
- void SetPair(Tuple2C<K,D> & Pair)
-
Set keyed pair.
- void SetPairNULL(void)
-
Set keyed pair to NULL.
- void MvPair(HeapNodeC<K,D> & Oth)
-
Move pair from another node.
- int GetBalance(void) const
-
Get balance for node.
- void SetBalance(int Val)
-
Set balance for node.
- void DeltaBalance(int Delta)
-
Change balance for node.
- int Size(void) const
-
Get number of nodes below this one.
- HeapNodeC<K,D> *& Child(int n)
-
Access child ptrs.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|