|
||
class TBtreeFix< TAny, TAny > : public TBtreeFixBase;
A specialisation of the B-tree for untyped fixed sized items.
TBtree
- ...
TBtreeFixBase
-
Base class for TBtreeFix, which provides a B-tree for fixed sized entries.
TBtreeFix< TAny, TAny >
-
A specialisation of the B-tree for untyped fixed sized items.
Defined in TBtreeFix< TAny, TAny >
:
TBtreeFix(TBtreeMode,TInt,TInt)
Constructor that sets the B-tree mode.TBtreeFix(const TBtreeToken &,TBtreeMode,TInt,TInt)
Constructor that sets the B-tree mode and initialisation parameters.Inherited from TBtree
:
ClearL()
Resets the B-tree to have zero-height, and a null root, and deletes all index pa...Connect(MPagePool *,const MBtreeKey *,const MBtreeLeafOrg *,const MBtreeIndexOrg *)
DeleteAtL(TBtreePos &)
Deletes the entry at the specified positionDeleteL(const TAny *)
Deletes an entry.EEqualTo
Find the first entry equal to the search target. EGreaterEqual
Find the first entry greater than or equal to the search target. EGreaterThan
Find the first entry greater than the search target. ELessEqual
Find the last entry less than or equal to the search target. ELessThan
Find the last entry less than the search target. ExtractAtL(const TBtreeMark &,TAny *,TInt)const
Gets an entry at specified iterator position.ExtractAtL(const TBtreePos &,TAny *,TInt)const
Gets the entry at the specified position.FindL(TBtreePos &,const TAny *,TFind)const
Searches for an entry and returns its position.FirstL(TBtreePos &)const
Goes to the first entry in the B-tree.InsertL(TBtreePos &,const TAny *,TInt,TAllowDuplicates)
Inserts an entry into the tree.IsBroken()const
Tests if the broken flag has been set on the B-tree.IsDirty()const
Tests if the dirty flag has been set on the B-tree.IsEmpty()const
Tests if the B-tree is empty.IsIntact()const
Tests if the broken flag has not been set on the B-tree .LastL(TBtreePos &)const
Goes to the last entry in the B-tree.MarkBroken()
Sets the broken flag. MarkCurrent()
Clears the dirty flag. MarkDirty()
Sets the dirty flag. NextL(TBtreeMark &)const
Advances an iterator to the next entry.NextL(TBtreePos &)const
Gets the position of the entry following the specified entry.PreviousL(TBtreePos &)const
Gets the position of the entry preceding the specified entry.RepairL()
Attempts to repair a broken B-tree.ResetL(TBtreeMark &)const
Resets an iterator to the root of the tree.Set(const TBtreeToken &,TBtreeMode)
Initialises the B-tree.TBtree(TBtreeMode)
Constructor that sets the B-tree mode.TBtree(const TBtreeToken &,TBtreeMode)
Constructor that sets the B-tree mode and initialisation parameters.TFind
Sets the condition for a successful match when calling TBtree::Find(). Token()const
Gets an object that encapsulates the TBtree settings.Inherited from TBtreeFixBase
:
Connect(MPagePool *,const MBtreeKey *)
Initalises the B-tree with a page pool and key handler.ExtractAtL(const TBtreeMark &,TAny *)const
Gets the entry at the specified iterator position.ExtractAtL(const TBtreePos &,TAny *)const
Gets the entry at the specified position.InsertL(TBtreePos &,const TAny *,TAllowDuplicates)
Inserts an entry into the tree.TBtreeFixBase(TBtreeMode,TInt,TInt)
TBtreeFixBase(const TBtreeToken &,TBtreeMode,TInt,TInt)
inline TBtreeFix(TBtreeMode aMode, TInt anEntrySize, TInt aKeySize);
Constructor that sets the B-tree mode.
|
|
inline TBtreeFix(const TBtreeToken &aToken, TBtreeMode aMode, TInt anEntrySize, TInt aKeySize);
Constructor that sets the B-tree mode and initialisation parameters.
|
|