Kaim::BlobHandler< T > Class Template Reference

Kaim::BlobHandler< T > Class Template Reference

#include <blobhandler.h>

Class Description

template<class T>
class Kaim::BlobHandler< T >

The BlobHandler class is a top-level mechanism for serializing blobs between objects in memory and files on disk.

It is responsible for maintaining an instance of its blob class, and allocating memory for that object when needed through the Gameware Navigation memory management system.

Template Parameters
TThe class of blob that this handler will manage.

This class transparently makes use of the BlobFileWriter and BlobFileReader classes to carry out the writing and reading of the data. If you want to use a different custom memory allocation scheme for your blobs, you can invoke the BlobFileReader and BlobFileWriter classes directly. Mimic the inline implementations of the BlobHandler class methods provided in the blobhandler.h file.

NOTE: the copy constructor and operator=() of this class transfer ownership over the blob memory to this object.

+ Examples:

Inherits Kaim::BaseBlobHandler.


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