#include <TBtree.h>
Inheritance diagram for TBtree:
Definition at line 42 of file TBtree.h.
typedef TBtreeIter TBtree::Iterator_t |
typedef TBtreeIter TBtree::Iterator_t |
TBtree::TBtree | ( | Int_t | ordern = 3 |
) |
TBtree::~TBtree | ( | ) | [virtual] |
TBtree::TBtree | ( | Int_t | ordern = 3 |
) |
virtual TBtree::~TBtree | ( | ) | [virtual] |
void TBtree::Init | ( | Int_t | i | ) | [private] |
Definition at line 347 of file TBtree.cxx.
References fInnerLowWaterMark, fInnerMaxIndex, fLeafLowWaterMark, fLeafMaxIndex, fOrder, fOrder2, fRoot, and TObject::Warning().
void TBtree::RootIsFull | ( | ) | [private] |
Definition at line 432 of file TBtree.cxx.
References fRoot, R__ASSERT, TBtNode::Split(), and TBtInnerNode.
Referenced by TBtLeafNode::Add(), and TBtInnerNode::InformParent().
void TBtree::RootIsEmpty | ( | ) | [private] |
Definition at line 444 of file TBtree.cxx.
References TBtNode::fIsLeaf, TBtNode::fParent, fRoot, TBtInnerNode::GetTree(), TBtInnerNode::Psize(), TBtLeafNode::Psize(), and R__CHECK.
Referenced by TBtLeafNode::Remove(), and TBtInnerNode::RemoveItem().
void TBtree::IncrNofKeys | ( | ) | [inline, protected] |
Definition at line 64 of file TBtree.h.
References TCollection::fSize.
Referenced by TBtLeafNode::Add(), Add(), IdxAdd(), and TBtInnerNode::IncrNofKeys().
void TBtree::DecrNofKeys | ( | ) | [inline, protected] |
Definition at line 65 of file TBtree.h.
References TCollection::fSize.
Referenced by TBtInnerNode::DecrNofKeys(), and TBtLeafNode::Remove().
Definition at line 304 of file TBtree.cxx.
References TBtNode::Add(), TObject::Error(), TBtInnerNode::FindRankUp(), TBtNode::fIsLeaf, TBtNode::Found(), TBtNode::fParent, fRoot, TBtInnerNode::GetTree(), IncrNofKeys(), R__ASSERT, R__CHECK, Rank(), and TBtLeafNode.
void TBtree::Clear | ( | Option_t * | option = "" |
) | [virtual] |
Implements TCollection.
Definition at line 249 of file TBtree.cxx.
References Delete(), fRoot, TCollection::fSize, TCollection::IsOwner(), and SafeDelete.
Referenced by ~TBtree().
void TBtree::Delete | ( | Option_t * | option = "" |
) | [virtual] |
Implements TCollection.
Definition at line 263 of file TBtree.cxx.
References At(), fRoot, TCollection::fSize, TCollection::GarbageCollect(), i, and SafeDelete.
Referenced by Clear().
TObject * TBtree::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TCollection.
Definition at line 277 of file TBtree.cxx.
References TCollection::FindObject().
Reimplemented from TCollection.
Definition at line 286 of file TBtree.cxx.
References TObject::Error(), TBtNode::Found(), and fRoot.
TIterator * TBtree::MakeIterator | ( | Bool_t | dir = kIterForward |
) | const [virtual] |
void TBtree::Add | ( | TObject * | obj | ) | [virtual] |
Reimplemented from TSeqCollection.
Definition at line 203 of file TBtree.cxx.
References TBtNode::Add(), TObject::Error(), TBtNode::Found(), fRoot, IncrNofKeys(), TCollection::IsArgNull(), R__CHECK, and TBtLeafNode.
Referenced by AddAfter(), AddAt(), AddBefore(), AddFirst(), and AddLast().
void TBtree::AddFirst | ( | TObject * | obj | ) | [inline, virtual] |
void TBtree::AddLast | ( | TObject * | obj | ) | [inline, virtual] |
Implements TCollection.
Definition at line 411 of file TBtree.cxx.
References TObject::Error(), TBtNode::Found(), fRoot, and TBtNode::Remove().
Implements TSeqCollection.
Definition at line 376 of file TBtree.h.
References fRoot.
Referenced by Delete().
Implements TSeqCollection.
Definition at line 240 of file TBtree.cxx.
References TObject::MayNotUse().
Implements TSeqCollection.
Definition at line 231 of file TBtree.cxx.
References TObject::MayNotUse().
TObject * TBtree::First | ( | ) | const [inline, virtual] |
TObject * TBtree::Last | ( | ) | const [inline, virtual] |
Implements TSeqCollection.
Definition at line 386 of file TBtree.h.
References fRoot, and TCollection::fSize.
Definition at line 396 of file TBtree.cxx.
References TObject::Error(), TBtNode::FindRank(), and fRoot.
Referenced by IdxAdd().
void TBtree::Init | ( | Int_t | i | ) | [private] |
void TBtree::RootIsFull | ( | ) | [private] |
void TBtree::RootIsEmpty | ( | ) | [private] |
void TBtree::IncrNofKeys | ( | ) | [inline, protected] |
void TBtree::DecrNofKeys | ( | ) | [inline, protected] |
void TBtree::Clear | ( | Option_t * | option = "" |
) | [virtual] |
Implements TCollection.
void TBtree::Delete | ( | Option_t * | option = "" |
) | [virtual] |
Implements TCollection.
TObject* TBtree::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TCollection.
Reimplemented from TCollection.
TIterator* TBtree::MakeIterator | ( | Bool_t | dir = kIterForward |
) | const [virtual] |
Implements TCollection.
void TBtree::Add | ( | TObject * | obj | ) | [virtual] |
Reimplemented from TSeqCollection.
void TBtree::AddFirst | ( | TObject * | obj | ) | [inline, virtual] |
void TBtree::AddLast | ( | TObject * | obj | ) | [inline, virtual] |
Implements TCollection.
Implements TSeqCollection.
Implements TSeqCollection.
Implements TSeqCollection.
TObject* TBtree::First | ( | ) | const [virtual] |
Implements TSeqCollection.
TObject* TBtree::Last | ( | ) | const [virtual] |
Implements TSeqCollection.
TBtInnerNode [friend] |
TBtLeafNode [friend] |
TBtNode* TBtree::fRoot [private] |
Definition at line 49 of file TBtree.h.
Referenced by TBtLeafNode::Add(), Add(), At(), Clear(), Delete(), FindObject(), First(), IdxAdd(), TBtInnerNode::InformParent(), Init(), Last(), operator[](), Rank(), Remove(), RootIsEmpty(), RootIsFull(), and ~TBtree().
Int_t TBtree::fOrder [private] |
Int_t TBtree::fOrder2 [private] |
Int_t TBtree::fInnerLowWaterMark [private] |
Int_t TBtree::fLeafLowWaterMark [private] |
Int_t TBtree::fInnerMaxIndex [private] |
Definition at line 56 of file TBtree.h.
Referenced by Init(), TBtInnerNode::MaxIndex(), and TBtInnerNode::MaxPsize().
Int_t TBtree::fLeafMaxIndex [private] |
Definition at line 57 of file TBtree.h.
Referenced by Init(), TBtLeafNode::MaxIndex(), and TBtLeafNode::MaxPsize().
TBtNode* TBtree::fRoot [private] |