MICACHEARRAYIO< _CT > Class Template Reference

Interface class for providing access to external storage. More...

#include <mi32/micachearray.h>

List of all members.

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

Detailed Description

template<class _CT>
class MICACHEARRAYIO< _CT >

Interface class for providing access to external storage.


Member Function Documentation

template<class _CT>
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().

Parameters:
ItemSize Unless changed in MICACHEARRAY::Create() this will be sizeof(_CT)
template<class _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.

Parameters:
ItemSize Unless changed in MICACHEARRAY::Create() this will be sizeof(_CT)

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

Generated on Sun Oct 7 21:33:35 2012 for TNTsdk 2012 by  doxygen 1.6.1