Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: S32BTREE.H
Link against: estor.lib

Class MBtreeIndexOrg

class MBtreeIndexOrg : public MBtreeNodeOrg;

Description

Derivation

Members

Defined in MBtreeIndexOrg:
ChildNode(), Concatenate(), Insert(), InsertOverflow(), InsertSplit(), MakeRoot(), Redistribute(), Search(), Update()

Inherited from MBtreeNodeOrg:
Delete(), Entry(), EntryPtr(), Init(), LastEntry()


Member functions


Search()

virtual IMPORT_C TBool Search(const TAny *aNode, const TAny *aKey, const MBtreeKey &aComp, TBool aLast, TInt &aPos) const;

Description

Parameters

const TAny *aNode

const TAny *aKey

const MBtreeKey &aComp

TBool aLast

TInt &aPos

Return value

TBool


Insert()

virtual TBool Insert(TAny *aNode, TInt aPos, const TDesC8 &anEntry, TPageRef aChild) const=0;

Description

Parameters

TAny *aNode

TInt aPos

const TDesC8 &anEntry

TPageRef aChild

Return value

TBool


InsertOverflow()

virtual IMPORT_C TBool InsertOverflow(TAny *aLeftNode, TAny *aRightNode, TInt aPos, TBool aInsertOnLeft, const TDesC8 &anEntry, TPageRef aChild, const TDesC8 &aPivot, TBtreePivot &aNewPivot) const;

Description

Parameters

TAny *aLeftNode

TAny *aRightNode

TInt aPos

TBool aInsertOnLeft

const TDesC8 &anEntry

TPageRef aChild

const TDesC8 &aPivot

TBtreePivot &aNewPivot

Return value

TBool


InsertSplit()

virtual void InsertSplit(TAny *aLeftNode, TAny *aRightNode, TInt aPos, const TDesC8 &anEntry, TPageRef aChild, TBtreePivot &aPromote) const=0;

Description

Parameters

TAny *aLeftNode

TAny *aRightNode

TInt aPos

const TDesC8 &anEntry

TPageRef aChild

TBtreePivot &aPromote


Update()

virtual IMPORT_C TBool Update(TAny *aNode, TInt aPos, const TDesC8 &anEntry) const;

Description

Parameters

TAny *aNode

TInt aPos

const TDesC8 &anEntry

Return value

TBool


Redistribute()

virtual TBool Redistribute(TAny *aLeftNode, TAny *aRightNode, const TDesC8 &aPivot, TBtreePivot &aNewPivot) const=0;

Description

Parameters

TAny *aLeftNode

TAny *aRightNode

const TDesC8 &aPivot

TBtreePivot &aNewPivot

Return value

TBool


Concatenate()

virtual void Concatenate(TAny *aLeftNode, const TAny *aRightNode, const TDesC8 &aPivot) const=0;

Description

Parameters

TAny *aLeftNode

const TAny *aRightNode

const TDesC8 &aPivot


MakeRoot()

virtual void MakeRoot(TAny *aNode, TPageRef aChild) const=0;

Description

Parameters

TAny *aNode

TPageRef aChild


ChildNode()

virtual TPageRef ChildNode(const TAny *aNode, TInt aPos) const=0;

Description

Parameters

const TAny *aNode

TInt aPos

Return value

TPageRef