TBtreeInlineLeafOrg Class Reference

class TBtreeInlineLeafOrg : public MBtreeLeafOrg

Inherits from

Public Member Functions
TBtreeInlineLeafOrg()
IMPORT_C voidConcatenate(TAny *, const TAny *)
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 &)
IMPORT_C TBoolInsertOverflow(TAny *, TAny *, TInt, TBool, const TDesC8 &)
IMPORT_C voidInsertSplit(TAny *, TAny *, TInt, const TDesC8 &)
IMPORT_C TIntLastEntry(const TAny *)
IMPORT_C TPageRefLinkNode(const TAny *)
IMPORT_C TBoolRedistribute(TAny *, TAny *)
IMPORT_C voidSetEntrySize(TInt)
IMPORT_C voidSetLinkNode(TAny *, TPageRef)
Private Member Functions
TAny *DoRedistribute(TAny *, TAny *, TInt)
const TUint8 *Entry(const SNode *, TInt)
TUint8 *Entry(SNode *, TInt)
const SNode *Node(const TAny *)
SNode *Node(TAny *)
Inherited Functions
MBtreeLeafOrg::Search(const TAny *,const TAny *,const MBtreeKey &,TBool,TInt &)const
MBtreeNodeOrg::Init(TAny *)const
Private Attributes
TInt iEntrySize
TInt iMaxEntries

Constructor & Destructor Documentation

TBtreeInlineLeafOrg()

IMPORT_CTBtreeInlineLeafOrg()

Member Functions Documentation

Concatenate(TAny *, const TAny *)

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

Parameters

TAny * aLeftNode
const TAny * aRightNode

Delete(TAny *, TInt)

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

Parameters

TAny * aNode
TInt aPos

DoRedistribute(TAny *, TAny *, TInt)

TAny *DoRedistribute(TAny *aLeftNode,
TAny *aRightNode,
TIntaInsertPos = -1
)const [private]

Parameters

TAny * aLeftNode
TAny * aRightNode
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 TUint8 *Entry(const SNode *aNode,
TIntanEntry
)const [private, inline]

Parameters

const SNode * aNode
TInt anEntry

Entry(SNode *, TInt)

TUint8 *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 &)

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

Parameters

TAny * aNode
TInt aPos
const TDesC8 & anEntry

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

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

Parameters

TAny * aLeftNode
TAny * aRightNode
TInt aPos
TBool aInsertOnLeft
const TDesC8 & anEntry

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

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

Parameters

TAny * aLeftNode
TAny * aRightNode
TInt aPos
const TDesC8 & anEntry

LastEntry(const TAny *)

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

Parameters

const TAny * aNode

LinkNode(const TAny *)

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

Parameters

const TAny * aNode

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 *)

IMPORT_C TBoolRedistribute(TAny *aLeftNode,
TAny *aRightNode
)const [virtual]

Parameters

TAny * aLeftNode
TAny * aRightNode

SetEntrySize(TInt)

IMPORT_C voidSetEntrySize(TIntaSize)

Parameters

TInt aSize

SetLinkNode(TAny *, TPageRef)

IMPORT_C voidSetLinkNode(TAny *aNode,
TPageRefaNextNode
)const [virtual]

Parameters

TAny * aNode
TPageRef aNextNode

Member Data Documentation

TInt iEntrySize

TInt iEntrySize[private]

TInt iMaxEntries

TInt iMaxEntries[private]