Interface class for providing access to external storage. More...
#include <mi32/micachearray.h>
Protected Member Functions | |
| virtual ERRVALUE | ArrayLoad (INT32 ItemIdx, INT32 ItemSize, INT32 NumItems, _CT *BucketPtr)=0 |
| virtual ERRVALUE | ArraySave (INT32 ItemIdx, INT32 ItemSize, INT32 NumItems, const _CT *BucketPtr)=0 |
Interface class for providing access to external storage.
| virtual ERRVALUE MICACHEARRAYIO< _CT >::ArrayLoad | ( | INT32 | ItemIdx, | |
| INT32 | ItemSize, | |||
| INT32 | NumItems, | |||
| _CT * | BucketPtr | |||
| ) | [protected, pure virtual] |
Load cache entry from external storage.
If program is handling allocation this must allocate memory for item and set using MICACHE::ITEMINFO::SetMemPtr().
| ItemSize | Unless changed in MICACHEARRAY::Create() this will be sizeof(_CT) |
| virtual ERRVALUE MICACHEARRAYIO< _CT >::ArraySave | ( | INT32 | ItemIdx, | |
| INT32 | ItemSize, | |||
| INT32 | NumItems, | |||
| const _CT * | BucketPtr | |||
| ) | [protected, pure virtual] |
Save cache entry to external storage.
If program is handling allocation this must free any allocated memory used by item.
| ItemSize | Unless changed in MICACHEARRAY::Create() this will be sizeof(_CT) |
1.6.1