Simple Collections
Loading...
Searching...
No Matches
ioaTreeInternal::BtreeStorage Class Reference

#include <SimpleCollections.h>

Public Member Functions

 BtreeStorage (bsize_t size, tccollection::GrowByMode howToGrow, bsize_t eachItemSize, KeyAccessor compareOperator, CopyOperator copyOperator)
bool add (const void *newItem)
bool removeByKey (uint32_t key)
void removeIndex (bsize_t index)
bsize_t nearestLocation (uint32_t key) const
void * getByKey (uint32_t key) const
void clear ()
void * underlyingData () const
bsize_t getCapacity () const
bsize_t getCurrentSize () const

Detailed Description

This is an internal btree storage engine that used by all the templates to actually store the data (and hopefully save a lot of FLASH). It implements the costly features of the btree in a one off way. However, as a result the keys must now be unsigned integer, and cannot exceed uint32_t. If you need more than this use a std container.


The documentation for this class was generated from the following files: