ROOT
6.06/09
Reference Guide
|
Public Member Functions | |
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 TBtree * | GetParentTree () const |
virtual void | Remove (Int_t index)=0 |
virtual TObject * | operator[] (Int_t i) const =0 |
virtual TObject * | Found (const TObject *obj, TBtNode **which, Int_t *where)=0 |
virtual Int_t | FindRank (const TObject *obj) const =0 |
virtual Int_t | NofKeys () const =0 |
virtual TBtLeafNode * | FirstLeafNode ()=0 |
virtual TBtLeafNode * | LastLeafNode ()=0 |
virtual void | Split ()=0 |
Protected Attributes | |
Int_t | fLast |
TBtInnerNode * | fParent |
TBtree * | fTree |
Int_t | fIsLeaf |
Friends | |
class | TBtree |
class | TBtInnerNode |
class | TBtLeafNode |
#include <TBtree.h>
TBtNode::TBtNode | ( | Int_t | isleaf, |
TBtInnerNode * | p, | ||
TBtree * | t = 0 |
||
) |
Create a B-tree node.
Definition at line 537 of file TBtree.cxx.
|
virtual |
Delete a B-tree node.
Definition at line 560 of file TBtree.cxx.
Implemented in TBtLeafNode, and TBtInnerNode.
Referenced by TBtree::Add(), and TBtree::IdxAdd().
Implemented in TBtLeafNode, and TBtInnerNode.
Referenced by TBtInnerNode::FindRank(), and TBtree::Rank().
|
pure virtual |
Implemented in TBtLeafNode, and TBtInnerNode.
Referenced by TBtInnerNode::FirstLeafNode(), and TBtInnerNode::Remove().
|
pure virtual |
Implemented in TBtLeafNode, and TBtInnerNode.
Referenced by TBtree::Add(), TBtree::FindObject(), TBtInnerNode::Found(), TBtree::IdxAdd(), and TBtree::Remove().
|
inlinevirtual |
|
pure virtual |
Implemented in TBtLeafNode, and TBtInnerNode.
Referenced by TBtInnerNode::Add(), and TBtInnerNode::LastLeafNode().
|
pure virtual |
Implemented in TBtLeafNode, and TBtInnerNode.
Referenced by TBtLeafNode::Split(), and TBtItem::TBtItem().
Implemented in TBtLeafNode, and TBtInnerNode.
Implemented in TBtLeafNode, and TBtInnerNode.
Referenced by TBtree::Remove().
|
pure virtual |
Implemented in TBtLeafNode, and TBtInnerNode.
Referenced by TBtree::RootIsFull().
|
friend |
|
friend |
|
protected |
Definition at line 130 of file TBtree.h.
Referenced by TBtree::IdxAdd(), TBtInnerNode::IsFull(), TBtInnerNode::IsLow(), TBtree::RootIsEmpty(), and TBtNode().
|
protected |
Definition at line 123 of file TBtree.h.
Referenced by TBtLeafNode::Add(), TBtInnerNode::AddElt(), TBtInnerNode::Append(), TBtLeafNode::Append(), TBtInnerNode::AppendFrom(), TBtLeafNode::AppendFrom(), TBtInnerNode::FindRank(), TBtLeafNode::FindRank(), TBtInnerNode::Found(), TBtLeafNode::Found(), TBtInnerNode::GetNofKeys(), TBtInnerNode::IndexOf(), TBtLeafNode::IndexOf(), TBtInnerNode::IsAlmostFull(), TBtLeafNode::IsAlmostFull(), TBtInnerNode::IsFull(), TBtLeafNode::IsFull(), TBtInnerNode::IsLow(), TBtLeafNode::IsLow(), TBtInnerNode::LastLeafNode(), TBtInnerNode::NofKeys(), TBtInnerNode::operator[](), TBtLeafNode::operator[](), TBtInnerNode::Psize(), TBtLeafNode::Psize(), TBtInnerNode::PushRight(), TBtLeafNode::PushRight(), TBtInnerNode::Remove(), TBtLeafNode::Remove(), TBtInnerNode::RemoveItem(), TBtInnerNode::ShiftLeft(), TBtLeafNode::ShiftLeft(), TBtInnerNode::Split(), TBtLeafNode::Split(), TBtInnerNode::SplitWith(), TBtLeafNode::SplitWith(), TBtLeafNode::TBtLeafNode(), TBtNode(), and TBtInnerNode::~TBtInnerNode().
|
protected |
Definition at line 128 of file TBtree.h.
Referenced by TBtLeafNode::Add(), TBtInnerNode::BalanceWithLeft(), TBtInnerNode::BalanceWithRight(), TBtInnerNode::DecrNofKeys(), TBtInnerNode::FindRankUp(), TBtree::IdxAdd(), TBtInnerNode::IncrNofKeys(), TBtInnerNode::InformParent(), TBtInnerNode::MergeWithRight(), TBtLeafNode::MergeWithRight(), TBtInnerNode::PushLeft(), TBtLeafNode::PushLeft(), TBtInnerNode::PushRight(), TBtLeafNode::PushRight(), TBtLeafNode::Remove(), TBtInnerNode::RemoveItem(), TBtree::RootIsEmpty(), TBtInnerNode::SetItem(), TBtInnerNode::SetTree(), TBtInnerNode::Split(), TBtLeafNode::Split(), TBtInnerNode::SplitWith(), TBtLeafNode::SplitWith(), TBtNode(), TBtInnerNode::Vsize(), and TBtLeafNode::Vsize().
|
protected |
Definition at line 129 of file TBtree.h.
Referenced by TBtLeafNode::Add(), TBtInnerNode::DecrNofKeys(), GetParentTree(), TBtInnerNode::IncrNofKeys(), TBtInnerNode::InformParent(), TBtInnerNode::IsLow(), TBtLeafNode::IsLow(), TBtInnerNode::MaxIndex(), TBtLeafNode::MaxIndex(), TBtInnerNode::MaxPsize(), TBtLeafNode::MaxPsize(), TBtLeafNode::Remove(), TBtInnerNode::RemoveItem(), TBtNode(), and TBtInnerNode::~TBtInnerNode().