#include <TBtree.h>
Inheritance diagram for TBtNode:
Public Member Functions | |
TBtNode (Int_t isleaf, TBtInnerNode *p, TBtree *t=0) | |
virtual | ~TBtNode () |
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 |
TBtNode (Int_t isleaf, TBtInnerNode *p, TBtree *t=0) | |
virtual | ~TBtNode () |
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 |
TBtInnerNode * | fParent |
TBtree * | fTree |
Friends | |
class | TBtree |
class | TBtInnerNode |
class | TBtLeafNode |
Definition at line 116 of file TBtree.h.
TBtNode::TBtNode | ( | Int_t | isleaf, | |
TBtInnerNode * | p, | |||
TBtree * | t = 0 | |||
) |
TBtNode::~TBtNode | ( | ) | [virtual] |
Definition at line 575 of file TBtree.cxx.
TBtNode::TBtNode | ( | Int_t | isleaf, | |
TBtInnerNode * | p, | |||
TBtree * | t = 0 | |||
) |
virtual TBtNode::~TBtNode | ( | ) | [virtual] |
Referenced by TBtree::Add(), and TBtree::IdxAdd().
virtual TBtree* TBtNode::GetParentTree | ( | ) | const [inline, virtual] |
virtual void TBtNode::Remove | ( | Int_t | index | ) | [pure virtual] |
Referenced by TBtree::Remove().
virtual TObject* TBtNode::Found | ( | const TObject * | obj, | |
TBtNode ** | which, | |||
Int_t * | where | |||
) | [pure virtual] |
Referenced by TBtree::Add(), TBtree::FindObject(), TBtInnerNode::Found(), TBtree::IdxAdd(), and TBtree::Remove().
Referenced by TBtInnerNode::FindRank(), and TBtree::Rank().
virtual Int_t TBtNode::NofKeys | ( | ) | const [pure virtual] |
Referenced by TBtLeafNode::Split().
virtual TBtLeafNode* TBtNode::FirstLeafNode | ( | ) | [pure virtual] |
Referenced by TBtInnerNode::FirstLeafNode(), and TBtInnerNode::Remove().
virtual TBtLeafNode* TBtNode::LastLeafNode | ( | ) | [pure virtual] |
Referenced by TBtInnerNode::Add(), and TBtInnerNode::LastLeafNode().
virtual void TBtNode::Split | ( | ) | [pure virtual] |
Referenced by TBtree::RootIsFull().
virtual TBtree* TBtNode::GetParentTree | ( | ) | const [inline, virtual] |
virtual void TBtNode::Remove | ( | Int_t | index | ) | [pure virtual] |
virtual TObject* TBtNode::Found | ( | const TObject * | obj, | |
TBtNode ** | which, | |||
Int_t * | where | |||
) | [pure virtual] |
virtual Int_t TBtNode::NofKeys | ( | ) | const [pure virtual] |
virtual TBtLeafNode* TBtNode::FirstLeafNode | ( | ) | [pure virtual] |
virtual TBtLeafNode* TBtNode::LastLeafNode | ( | ) | [pure virtual] |
virtual void TBtNode::Split | ( | ) | [pure virtual] |
TBtInnerNode [friend] |
TBtLeafNode [friend] |
Int_t TBtNode::fLast [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(), TBtLeafNode::Found(), TBtInnerNode::Found(), TBtInnerNode::GetNofKeys(), TBtInnerNode::IndexOf(), TBtLeafNode::IndexOf(), TBtLeafNode::IsAlmostFull(), TBtInnerNode::IsAlmostFull(), TBtLeafNode::IsFull(), TBtInnerNode::IsFull(), TBtLeafNode::IsLow(), TBtInnerNode::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(), TBtLeafNode::Split(), TBtInnerNode::Split(), TBtLeafNode::SplitWith(), TBtInnerNode::SplitWith(), TBtLeafNode::TBtLeafNode(), TBtNode(), and TBtInnerNode::~TBtInnerNode().
TBtInnerNode* TBtNode::fParent [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(), TBtLeafNode::PushLeft(), TBtInnerNode::PushLeft(), TBtInnerNode::PushRight(), TBtLeafNode::PushRight(), TBtLeafNode::Remove(), TBtInnerNode::RemoveItem(), TBtree::RootIsEmpty(), TBtInnerNode::SetItem(), TBtInnerNode::SetTree(), TBtLeafNode::Split(), TBtInnerNode::Split(), TBtLeafNode::SplitWith(), TBtInnerNode::SplitWith(), TBtNode(), TBtInnerNode::Vsize(), and TBtLeafNode::Vsize().
TBtree* TBtNode::fTree [protected] |
Definition at line 129 of file TBtree.h.
Referenced by TBtLeafNode::Add(), TBtInnerNode::DecrNofKeys(), GetParentTree(), TBtInnerNode::IncrNofKeys(), TBtInnerNode::InformParent(), TBtLeafNode::IsLow(), TBtInnerNode::IsLow(), TBtLeafNode::MaxIndex(), TBtInnerNode::MaxIndex(), TBtInnerNode::MaxPsize(), TBtLeafNode::MaxPsize(), TBtLeafNode::Remove(), TBtInnerNode::RemoveItem(), TBtNode(), and TBtInnerNode::~TBtInnerNode().
Int_t TBtNode::fIsLeaf [protected] |
Definition at line 130 of file TBtree.h.
Referenced by TBtree::IdxAdd(), TBtInnerNode::IsFull(), TBtInnerNode::IsLow(), TBtree::RootIsEmpty(), and TBtNode().
TBtInnerNode* TBtNode::fParent [protected] |
TBtree* TBtNode::fTree [protected] |