#include <TBtree.h>
Inheritance diagram for TBtLeafNode:
Definition at line 274 of file TBtree.h.
TBtLeafNode::TBtLeafNode | ( | TBtInnerNode * | p, | |
const TObject * | obj = 0 , |
|||
TBtree * | t = 0 | |||
) |
Definition at line 1392 of file TBtree.cxx.
References fItem, TBtNode::fLast, MaxIndex(), and R__ASSERT.
Referenced by Split(), and SplitWith().
TBtLeafNode::~TBtLeafNode | ( | ) |
TBtLeafNode::TBtLeafNode | ( | TBtInnerNode * | p, | |
const TObject * | obj = 0 , |
|||
TBtree * | t = 0 | |||
) |
TBtLeafNode::~TBtLeafNode | ( | ) |
Implements TBtNode.
Definition at line 1413 of file TBtree.cxx.
References fItem, TBtNode::fLast, TBtNode::fParent, TBtree::fRoot, TBtNode::fTree, i, TBtInnerNode::IncrNofKeys(), TBtree::IncrNofKeys(), IsFull(), TBtInnerNode::IsFull(), MaxIndex(), R__ASSERT, R__CHECK, and TBtree::RootIsFull().
Referenced by TBtInnerNode::Add().
void TBtLeafNode::Remove | ( | Int_t | idx | ) | [virtual] |
Implements TBtNode.
Definition at line 1682 of file TBtree.cxx.
References TBtInnerNode::DecrNofKeys(), TBtree::DecrNofKeys(), fItem, TBtNode::fLast, TBtNode::fParent, TBtNode::fTree, IsLow(), TBtInnerNode::IsLow(), Psize(), R__ASSERT, and TBtree::RootIsEmpty().
Referenced by RemoveItem().
void TBtLeafNode::RemoveItem | ( | Int_t | idx | ) | [inline] |
Implements TBtNode.
Definition at line 1538 of file TBtree.cxx.
References Compare(), fItem, TBtNode::fLast, i, R__ASSERT, and what.
Int_t TBtLeafNode::NofKeys | ( | ) | const [virtual] |
Implements TBtNode.
Definition at line 1602 of file TBtree.cxx.
References Psize().
Referenced by MergeWithRight(), PushLeft(), and PushRight().
Implements TBtNode.
Definition at line 1515 of file TBtree.cxx.
References Compare(), fItem, TBtNode::fLast, i, and what.
TBtLeafNode * TBtLeafNode::FirstLeafNode | ( | ) | [virtual] |
TBtLeafNode * TBtLeafNode::LastLeafNode | ( | ) | [virtual] |
void TBtLeafNode::Split | ( | ) | [virtual] |
Implements TBtNode.
Definition at line 1717 of file TBtree.cxx.
References TBtInnerNode::Append(), BalanceWithRight(), fItem, TBtNode::fLast, TBtNode::fParent, TBtInnerNode::GetTree(), TBtNode::NofKeys(), R__ASSERT, TBtInnerNode::SetNofKeys(), and TBtLeafNode().
void TBtLeafNode::SplitWith | ( | TBtLeafNode * | r, | |
Int_t | idx | |||
) |
Definition at line 1732 of file TBtree.cxx.
References TBtInnerNode::AddElt(), TBtInnerNode::DecNofKeys(), fItem, TBtNode::fLast, TBtNode::fParent, TBtInnerNode::InformParent(), TBtInnerNode::IsFull(), Psize(), PushLeft(), PushRight(), R__ASSERT, R__CHECK, TBtInnerNode::SetNofKeys(), TBtLeafNode(), and Vsize().
Referenced by TBtInnerNode::IsFull().
void TBtLeafNode::MergeWithRight | ( | TBtLeafNode * | r, | |
Int_t | idx | |||
) |
Definition at line 1582 of file TBtree.cxx.
References Append(), TBtNode::fParent, TBtInnerNode::GetKey(), MaxPsize(), NofKeys(), Psize(), PushLeft(), R__ASSERT, TBtInnerNode::RemoveItem(), TBtInnerNode::SetNofKeys(), and Vsize().
Referenced by TBtInnerNode::IsLow().
void TBtLeafNode::BalanceWithLeft | ( | TBtLeafNode * | l, | |
Int_t | idx | |||
) |
Definition at line 1481 of file TBtree.cxx.
References Psize(), PushLeft(), R__ASSERT, and Vsize().
Referenced by BalanceWith(), and TBtInnerNode::IsFull().
void TBtLeafNode::BalanceWithRight | ( | TBtLeafNode * | r, | |
Int_t | idx | |||
) |
Definition at line 1492 of file TBtree.cxx.
References Psize(), PushRight(), R__ASSERT, and Vsize().
Referenced by BalanceWith(), TBtInnerNode::IsFull(), and Split().
void TBtLeafNode::BalanceWith | ( | TBtLeafNode * | n, | |
Int_t | idx | |||
) |
Definition at line 1503 of file TBtree.cxx.
References BalanceWithLeft(), BalanceWithRight(), Psize(), and Vsize().
Referenced by TBtInnerNode::IsLow().
void TBtLeafNode::PushLeft | ( | Int_t | cnt, | |
TBtLeafNode * | l, | |||
Int_t | parentIndex | |||
) |
Definition at line 1618 of file TBtree.cxx.
References Append(), AppendFrom(), fItem, TBtNode::fParent, TBtInnerNode::GetKey(), TBtInnerNode::GetTree(), MaxPsize(), NofKeys(), Psize(), R__ASSERT, TBtInnerNode::SetKey(), TBtInnerNode::SetNofKeys(), and ShiftLeft().
Referenced by BalanceWithLeft(), MergeWithRight(), and SplitWith().
void TBtLeafNode::PushRight | ( | Int_t | cnt, | |
TBtLeafNode * | r, | |||
Int_t | parentIndex | |||
) |
Definition at line 1636 of file TBtree.cxx.
References fItem, TBtNode::fLast, TBtNode::fParent, TBtInnerNode::GetKey(), TBtInnerNode::GetTree(), i, MaxPsize(), NofKeys(), Psize(), R__ASSERT, R__CHECK, TBtInnerNode::SetKey(), TBtInnerNode::SetNofKeys(), and start.
Referenced by BalanceWithRight(), and SplitWith().
void TBtLeafNode::AppendFrom | ( | TBtLeafNode * | src, | |
Int_t | start, | |||
Int_t | stop | |||
) |
Definition at line 1449 of file TBtree.cxx.
References fItem, TBtNode::fLast, i, MaxIndex(), R__ASSERT, and R__CHECK.
Referenced by PushLeft().
void TBtLeafNode::Append | ( | TObject * | obj | ) |
Definition at line 1470 of file TBtree.cxx.
References fItem, TBtNode::fLast, MaxIndex(), R__ASSERT, and R__CHECK.
Referenced by MergeWithRight(), and PushLeft().
void TBtLeafNode::ShiftLeft | ( | Int_t | cnt | ) |
Definition at line 1705 of file TBtree.cxx.
References fItem, TBtNode::fLast, and i.
Referenced by PushLeft().
Int_t TBtLeafNode::Psize | ( | ) | const [inline] |
Definition at line 316 of file TBtree.h.
References TBtNode::fLast.
Referenced by BalanceWith(), BalanceWithLeft(), BalanceWithRight(), TBtInnerNode::IsLow(), MergeWithRight(), NofKeys(), PushLeft(), PushRight(), Remove(), TBtree::RootIsEmpty(), SplitWith(), and Vsize().
Int_t TBtLeafNode::Vsize | ( | ) | const [inline] |
Definition at line 434 of file TBtree.h.
References TBtNode::fParent, TBtInnerNode::GetTree(), Psize(), and R__ASSERT.
Referenced by BalanceWith(), BalanceWithLeft(), BalanceWithRight(), TBtInnerNode::IsLow(), MergeWithRight(), and SplitWith().
Int_t TBtLeafNode::MaxIndex | ( | ) | const [inline] |
Definition at line 318 of file TBtree.h.
References TBtree::fLeafMaxIndex, and TBtNode::fTree.
Referenced by Add(), Append(), AppendFrom(), IsAlmostFull(), IsFull(), and TBtLeafNode().
Int_t TBtLeafNode::MaxPsize | ( | ) | const [inline] |
Definition at line 319 of file TBtree.h.
References TBtree::fLeafMaxIndex, and TBtNode::fTree.
Referenced by TBtInnerNode::IsLow(), MergeWithRight(), PushLeft(), and PushRight().
Int_t TBtLeafNode::IsFull | ( | ) | const [inline] |
Definition at line 323 of file TBtree.h.
References TBtNode::fLast, and MaxIndex().
Referenced by Add().
Int_t TBtLeafNode::IsAlmostFull | ( | ) | const [inline] |
Definition at line 324 of file TBtree.h.
References TBtNode::fLast, and MaxIndex().
Referenced by TBtInnerNode::IsFull().
Int_t TBtLeafNode::IsLow | ( | ) | const [inline] |
Definition at line 325 of file TBtree.h.
References TBtNode::fLast, TBtree::fLeafLowWaterMark, and TBtNode::fTree.
Referenced by Remove().
void TBtLeafNode::RemoveItem | ( | Int_t | idx | ) | [inline] |
Implements TBtNode.
TBtLeafNode* TBtLeafNode::FirstLeafNode | ( | ) | [virtual] |
Implements TBtNode.
TBtLeafNode* TBtLeafNode::LastLeafNode | ( | ) | [virtual] |
Implements TBtNode.
void TBtLeafNode::Split | ( | ) | [virtual] |
Implements TBtNode.
void TBtLeafNode::SplitWith | ( | TBtLeafNode * | r, | |
Int_t | idx | |||
) |
void TBtLeafNode::MergeWithRight | ( | TBtLeafNode * | r, | |
Int_t | idx | |||
) |
void TBtLeafNode::BalanceWithLeft | ( | TBtLeafNode * | l, | |
Int_t | idx | |||
) |
void TBtLeafNode::BalanceWithRight | ( | TBtLeafNode * | r, | |
Int_t | idx | |||
) |
void TBtLeafNode::BalanceWith | ( | TBtLeafNode * | n, | |
Int_t | idx | |||
) |
void TBtLeafNode::PushLeft | ( | Int_t | cnt, | |
TBtLeafNode * | l, | |||
Int_t | parentIndex | |||
) |
void TBtLeafNode::PushRight | ( | Int_t | cnt, | |
TBtLeafNode * | r, | |||
Int_t | parentIndex | |||
) |
void TBtLeafNode::AppendFrom | ( | TBtLeafNode * | src, | |
Int_t | start, | |||
Int_t | stop | |||
) |
void TBtLeafNode::Append | ( | TObject * | obj | ) |
void TBtLeafNode::ShiftLeft | ( | Int_t | cnt | ) |
Int_t TBtLeafNode::Psize | ( | ) | const [inline] |
Int_t TBtLeafNode::Vsize | ( | ) | const |
Int_t TBtLeafNode::MaxIndex | ( | ) | const [inline] |
Int_t TBtLeafNode::MaxPsize | ( | ) | const [inline] |
Int_t TBtLeafNode::IsFull | ( | ) | const [inline] |
Int_t TBtLeafNode::IsAlmostFull | ( | ) | const [inline] |
Int_t TBtLeafNode::IsLow | ( | ) | const [inline] |
Definition at line 325 of file TBtree.h.
References TBtNode::fLast, TBtree::fLeafLowWaterMark, and TBtNode::fTree.
TBtInnerNode [friend] |
TObject** TBtLeafNode::fItem [private] |
Definition at line 279 of file TBtree.h.
Referenced by Add(), Append(), AppendFrom(), FindRank(), Found(), GetKey(), IndexOf(), operator[](), PushLeft(), PushRight(), TBtInnerNode::Remove(), Remove(), SetKey(), ShiftLeft(), Split(), SplitWith(), TBtLeafNode(), and ~TBtLeafNode().
TObject** TBtLeafNode::fItem [private] |