MBtreeIndexOrg Class Reference

class MBtreeIndexOrg : public MBtreeNodeOrg

Inherits from

Member Functions Documentation

ChildNode(const TAny *, TInt)

TPageRef ChildNode(const TAny *aNode,
TIntaPos
)const [pure virtual]

Parameters

const TAny * aNode
TInt aPos

Concatenate(TAny *, const TAny *, const TDesC8 &)

voidConcatenate(TAny *aLeftNode,
const TAny *aRightNode,
const TDesC8 &aPivot
)const [pure virtual]

Parameters

TAny * aLeftNode
const TAny * aRightNode
const TDesC8 & aPivot

Insert(TAny *, TInt, const TDesC8 &, TPageRef)

TBool Insert(TAny *aNode,
TIntaPos,
const TDesC8 &anEntry,
TPageRefaChild
)const [pure virtual]

Parameters

TAny * aNode
TInt aPos
const TDesC8 & anEntry
TPageRef aChild

InsertOverflow(TAny *, TAny *, TInt, TBool, const TDesC8 &, TPageRef, const TDesC8 &, TBtreePivot &)

IMPORT_C TBoolInsertOverflow(TAny *aLeftNode,
TAny *aRightNode,
TIntaPos,
TBoolaInsertOnLeft,
const TDesC8 &anEntry,
TPageRefaChild,
const TDesC8 &aPivot,
TBtreePivot &aNewPivot
)const [virtual]

Parameters

TAny * aLeftNode
TAny * aRightNode
TInt aPos
TBool aInsertOnLeft
const TDesC8 & anEntry
TPageRef aChild
const TDesC8 & aPivot
TBtreePivot & aNewPivot

InsertSplit(TAny *, TAny *, TInt, const TDesC8 &, TPageRef, TBtreePivot &)

voidInsertSplit(TAny *aLeftNode,
TAny *aRightNode,
TIntaPos,
const TDesC8 &anEntry,
TPageRefaChild,
TBtreePivot &aPromote
)const [pure virtual]

Parameters

TAny * aLeftNode
TAny * aRightNode
TInt aPos
const TDesC8 & anEntry
TPageRef aChild
TBtreePivot & aPromote

MakeRoot(TAny *, TPageRef)

voidMakeRoot(TAny *aNode,
TPageRefaChild
)const [pure virtual]

Parameters

TAny * aNode
TPageRef aChild

Redistribute(TAny *, TAny *, const TDesC8 &, TBtreePivot &)

TBool Redistribute(TAny *aLeftNode,
TAny *aRightNode,
const TDesC8 &aPivot,
TBtreePivot &aNewPivot
)const [pure virtual]

Parameters

TAny * aLeftNode
TAny * aRightNode
const TDesC8 & aPivot
TBtreePivot & aNewPivot

Search(const TAny *, const TAny *, const MBtreeKey &, TBool, TInt &)

IMPORT_C TBoolSearch(const TAny *aNode,
const TAny *aKey,
const MBtreeKey &aComp,
TBoolaLast,
TInt &aPos
)const [virtual]

Parameters

const TAny * aNode
const TAny * aKey
const MBtreeKey & aComp
TBool aLast
TInt & aPos

Update(TAny *, TInt, const TDesC8 &)

IMPORT_C TBoolUpdate(TAny *aNode,
TIntaPos,
const TDesC8 &anEntry
)const [virtual]

Parameters

TAny * aNode
TInt aPos
const TDesC8 & anEntry