56 callbacks = *callbackArray;
61 processErrorCode( errorCode,
NewPage );
68 processErrorCode( errorCode,
NewPage );
75 processErrorCode( errorCode,
NewPage );
82 processErrorCode( errorCode, page );
89 processErrorCode( errorCode, page );
96 processErrorCode( errorCode, page );
99 inline void CustomStorageManager::processErrorCode(
int errorCode,
const id_type page)
virtual void loadByteArray(const id_type page, uint32_t &len, uint8_t **data)
virtual void storeByteArray(id_type &page, const uint32_t len, const uint8_t *const data)
void(* loadByteArrayCallback)(const void *context, const id_type page, uint32_t *len, uint8_t **data, int *errorCode)
void(* storeByteArrayCallback)(const void *context, id_type *page, const uint32_t len, const uint8_t *const data, int *errorCode)
void(* createCallback)(const void *context, int *errorCode)
void(* flushCallback)(const void *context, int *errorCode)
IStorageManager * returnCustomStorageManager(Tools::PropertySet &in)
void(* destroyCallback)(const void *context, int *errorCode)
virtual ~CustomStorageManager()
static const int InvalidPageError
CustomStorageManager(Tools::PropertySet &)
virtual void deleteByteArray(const id_type page)
void(* deleteByteArrayCallback)(const void *context, const id_type page, int *errorCode)
static const int IllegalStateError