|
| TBtLeafNode (TBtInnerNode *p, const TObject *obj=0, TBtree *t=0) |
| Constructor. More...
|
|
| ~TBtLeafNode () |
| Destructor. More...
|
|
void | Add (const TObject *obj, Int_t idx) |
| Add the object OBJ to the leaf node, inserting it at location INDEX in the fItem array. More...
|
|
void | Append (TObject *obj) |
| Never called from anywhere where it might fill up THIS does NOT handle nofKeys. More...
|
|
void | AppendFrom (TBtLeafNode *src, Int_t start, Int_t stop) |
| A convenience function, does not worry about the element in the parent, simply moves elements from SRC[start] to SRC[stop] into the current array. More...
|
|
void | BalanceWith (TBtLeafNode *n, Int_t idx) |
| PITEM is the parent item whose key will change when keys are shifted from one LeafNode to the other. More...
|
|
void | BalanceWithLeft (TBtLeafNode *l, Int_t idx) |
| THIS has more than LEFTSIB; move some items from THIS to LEFTSIB. More...
|
|
void | BalanceWithRight (TBtLeafNode *r, Int_t idx) |
| THIS has more than RIGHTSIB; move some items from THIS to RIGHTSIB. More...
|
|
Int_t | FindRank (const TObject *obj) const |
| WHAT was not in any inner node; it is either here, or it's not in the tree. More...
|
|
TBtLeafNode * | FirstLeafNode () |
| Return the first node. More...
|
|
TObject * | Found (const TObject *obj, TBtNode **which, Int_t *where) |
| WHAT was not in any inner node; it is either here, or it's not in the tree. More...
|
|
TObject * | GetKey (Int_t idx) |
|
Int_t | IndexOf (const TObject *obj) const |
| Returns a number in the range 0 to MaxIndex(). More...
|
|
Int_t | IsAlmostFull () const |
|
Int_t | IsFull () const |
|
Int_t | IsLow () const |
|
TBtLeafNode * | LastLeafNode () |
| return the last node. More...
|
|
Int_t | MaxIndex () const |
|
Int_t | MaxPsize () const |
|
void | MergeWithRight (TBtLeafNode *r, Int_t idx) |
| Merge. More...
|
|
Int_t | NofKeys () const |
| Return the number of keys. More...
|
|
Int_t | NofKeys (Int_t i) const |
| Return the number of keys. More...
|
|
TObject * | operator[] (Int_t i) const |
|
Int_t | Psize () const |
|
void | PushLeft (Int_t cnt, TBtLeafNode *l, Int_t parentIndex) |
| noFromThis==1 => moves the parent item into the leftsib, and the first item in this's array into the parent item. More...
|
|
void | PushRight (Int_t cnt, TBtLeafNode *r, Int_t parentIndex) |
| noFromThis==1 => moves the parent item into the rightsib, and the last item in this's array into the parent item. More...
|
|
void | Remove (Int_t idx) |
| Remove an element. More...
|
|
void | RemoveItem (Int_t idx) |
|
void | SetKey (Int_t idx, TObject *obj) |
|
void | ShiftLeft (Int_t cnt) |
| Shift. More...
|
|
void | Split () |
| This function is called only when THIS is the only descendent of the root node, and THIS needs to be split. More...
|
|
void | SplitWith (TBtLeafNode *r, Int_t idx) |
| Split. More...
|
|
Int_t | Vsize () const |
|
| TBtNode (Int_t isleaf, TBtInnerNode *p, TBtree *t=0) |
| Create a B-tree node. More...
|
|
virtual | ~TBtNode () |
| Delete a B-tree node. More...
|
|
virtual void | Add (const TObject *obj, Int_t index)=0 |
|
virtual Int_t | FindRank (const TObject *obj) const =0 |
|
virtual TBtLeafNode * | FirstLeafNode ()=0 |
|
virtual TObject * | Found (const TObject *obj, TBtNode **which, Int_t *where)=0 |
|
virtual TBtree * | GetParentTree () const |
|
virtual TBtLeafNode * | LastLeafNode ()=0 |
|
virtual Int_t | NofKeys () const =0 |
|
virtual TObject * | operator[] (Int_t i) const =0 |
|
virtual void | Remove (Int_t index)=0 |
|
virtual void | Split ()=0 |
|