TBtreeInlineIndexOrg Class Reference

class TBtreeInlineIndexOrg : public MBtreeIndexOrg

Inherits from

Public Member Functions
TBtreeInlineIndexOrg()
IMPORT_C TPageRefChildNode(const TAny *, TInt)
IMPORT_C voidConcatenate(TAny *, const TAny *, const TDesC8 &)
IMPORT_C TBoolDelete(TAny *, TInt)
IMPORT_C TPtrC8Entry(const TAny *, TInt)
IMPORT_C const TAny *EntryPtr(const TAny *, TInt)
IMPORT_C TBoolInsert(TAny *, TInt, const TDesC8 &, TPageRef)
IMPORT_C TBoolInsertOverflow(TAny *, TAny *, TInt, TBool, const TDesC8 &, TPageRef, const TDesC8 &, TBtreePivot &)
IMPORT_C voidInsertSplit(TAny *, TAny *, TInt, const TDesC8 &, TPageRef, TBtreePivot &)
IMPORT_C TIntLastEntry(const TAny *)
IMPORT_C voidMakeRoot(TAny *, TPageRef)
IMPORT_C TBoolRedistribute(TAny *, TAny *, const TDesC8 &, TBtreePivot &)
IMPORT_C voidSetEntrySize(TInt)
IMPORT_C TBoolUpdate(TAny *, TInt, const TDesC8 &)
Private Member Functions
SNode *DoRedistribute(TAny *, TAny *, const TDesC8 &, TBtreePivot &, TInt)
const SEntry *Entry(const SNode *, TInt)
SEntry *Entry(SNode *, TInt)
TInt KeySize()
const SNode *Node(const TAny *)
SNode *Node(TAny *)
Inherited Functions
MBtreeIndexOrg::Search(const TAny *,const TAny *,const MBtreeKey &,TBool,TInt &)const
MBtreeNodeOrg::Init(TAny *)const
Private Attributes
TInt iEntrySize
TInt iMaxEntries

Constructor & Destructor Documentation

TBtreeInlineIndexOrg()

IMPORT_CTBtreeInlineIndexOrg()

Member Functions Documentation

ChildNode(const TAny *, TInt)

IMPORT_C TPageRefChildNode(const TAny *aNode,
TIntaPos
)const [virtual]

Parameters

const TAny * aNode
TInt aPos

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

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

Parameters

TAny * aLeftNode
const TAny * aRightNode
const TDesC8 & aPivot

Delete(TAny *, TInt)

IMPORT_C TBoolDelete(TAny *aNode,
TIntaPos
)const [virtual]

Parameters

TAny * aNode
TInt aPos

DoRedistribute(TAny *, TAny *, const TDesC8 &, TBtreePivot &, TInt)

SNode *DoRedistribute(TAny *aLeftNode,
TAny *aRightNode,
const TDesC8 &aPivot,
TBtreePivot &aNewPivot,
TIntaInsertPos = -1
)const [private]

Parameters

TAny * aLeftNode
TAny * aRightNode
const TDesC8 & aPivot
TBtreePivot & aNewPivot
TInt aInsertPos = -1

Entry(const TAny *, TInt)

IMPORT_C TPtrC8Entry(const TAny *aNode,
TIntaPos
)const [virtual]

Parameters

const TAny * aNode
TInt aPos

Entry(const SNode *, TInt)

const SEntry *Entry(const SNode *aNode,
TIntanEntry
)const [private, inline]

Parameters

const SNode * aNode
TInt anEntry

Entry(SNode *, TInt)

SEntry *Entry(SNode *aNode,
TIntanEntry
)const [private, inline]

Parameters

SNode * aNode
TInt anEntry

EntryPtr(const TAny *, TInt)

IMPORT_C const TAny *EntryPtr(const TAny *aNode,
TIntaPos
)const [virtual]

Parameters

const TAny * aNode
TInt aPos

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

IMPORT_C TBoolInsert(TAny *aNode,
TIntaPos,
const TDesC8 &anEntry,
TPageRefaChild
)const [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 &)

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

Parameters

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

KeySize()

TInt KeySize()const [private, inline]

LastEntry(const TAny *)

IMPORT_C TIntLastEntry(const TAny *aNode)const [virtual]

Parameters

const TAny * aNode

MakeRoot(TAny *, TPageRef)

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

Parameters

TAny * aNode
TPageRef aChild

Node(const TAny *)

const SNode *Node(const TAny *aNode)[private, static, inline]

Parameters

const TAny * aNode

Node(TAny *)

SNode *Node(TAny *aNode)[private, static, inline]

Parameters

TAny * aNode

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

IMPORT_C TBoolRedistribute(TAny *aLeftNode,
TAny *aRightNode,
const TDesC8 &aPivot,
TBtreePivot &aNewPivot
)const [virtual]

Parameters

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

SetEntrySize(TInt)

IMPORT_C voidSetEntrySize(TIntaSize)

Parameters

TInt aSize

Update(TAny *, TInt, const TDesC8 &)

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

Parameters

TAny * aNode
TInt aPos
const TDesC8 & anEntry

Member Data Documentation

TInt iEntrySize

TInt iEntrySize[private]

TInt iMaxEntries

TInt iMaxEntries[private]