#include <s32btree.h>
| class TBtreeFix : public TBtreeFixBase |
| Public Member Functions | |
|---|---|
| TBtreeFix(TBtreeMode) | |
| TBtreeFix(const TBtreeToken &, TBtreeMode) | |
| Entry | AtL(const TBtreePos &) |
| Entry | AtL(const TBtreeMark &) |
| TBool | DeleteL(const Key &) |
| void | ExtractAtL(const TBtreePos &, Entry &) |
| void | ExtractAtL(const TBtreeMark &, Entry &) |
| TBool | FindL(TBtreePos &, const Key &, TFind) |
| TBool | InsertL(TBtreePos &, const Entry &, TAllowDuplicates) |
| Inherited Enumerations | |
|---|---|
| TBtree:TFind | |
A B-tree for fixed-sized keys and entries.
Entry is the type of entry to store. Key defines how items should be ordered: there must be a member of this type in the Entry class.
| TBtreeFix | ( | TBtreeMode | aMode | ) | [inline] |
Constructor that sets the B-tree mode.
| Parameters | |
|---|---|
| aMode | B-tree operating mode |
| TBtreeFix | ( | const TBtreeToken & | aToken, |
| TBtreeMode | aMode | ||
| ) | [inline] | ||
Constructor that sets the B-tree mode and initialisation parameters.
| Parameters | |
|---|---|
| aToken | Parameters with which to initialise the B-tree |
| aMode | B-tree operating mode |
| Entry | AtL | ( | const TBtreePos & | aPos | ) | const [inline] |
Gets the entry at the specified position.
| Parameters | |
|---|---|
| aPos | Position of the entry to get |
| Entry | AtL | ( | const TBtreeMark & | aMark | ) | const [inline] |
Gets the entry at the specified iterator position.
| Parameters | |
|---|---|
| aMark | Iterator to use to get the entry |
| TBool | DeleteL | ( | const Key & | aKey | ) | [inline] |
Delete an entry.
| Parameters | |
|---|---|
| aKey | Key of the entry to delete |
| void | ExtractAtL | ( | const TBtreePos & | aPos, |
| Entry & | anEntry | |||
| ) | const [inline] | |||
Gets the entry at the specified position.
| Parameters | |
|---|---|
| aPos | Position of the entry to get |
| anEntry | On return, the specified entry |
| void | ExtractAtL | ( | const TBtreeMark & | aMark, |
| Entry & | anEntry | |||
| ) | const [inline] | |||
Gets the entry at the specified iterator position.
| Parameters | |
|---|---|
| aMark | Iterator to use to get the entry |
| anEntry | On return, the specified entry |
| TBool | InsertL | ( | TBtreePos & | aPos, |
| const Entry & | anEntry, | |||
| TAllowDuplicates | aDup = ENoDuplicates | |||
| ) | [inline] | |||
Inserts an entry into the tree.
| Parameters | |
|---|---|
| aPos | On return, the position of the entry inserted |
| anEntry | Entry to insert |
| aDup | Flag to indicate whether duplicate entries are allowed in the tree |