HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_BlobDataLoader Class Referenceabstract

Utility class to load blob data from a JSON stream. More...

#include <GA_ATIBlob.h>

Public Member Functions

virtual ~GA_BlobDataLoader ()
 
virtual bool jsonLoad (UT_JSONParser &p, const GA_LoadMap &load, GA_BlobRef &handle) const =0
 

Detailed Description

Utility class to load blob data from a JSON stream.

Since blobs are opaque to the blob container, it's impossible to create blobs when loading. If blobs need to be saved/loaded, a blob loader class will have to be used to create blob data from the stream. This class should load the data stored by the BlobData::jsonSave() method.

Definition at line 56 of file GA_ATIBlob.h.

Constructor & Destructor Documentation

virtual GA_BlobDataLoader::~GA_BlobDataLoader ( )
inlinevirtual

Definition at line 59 of file GA_ATIBlob.h.

Member Function Documentation

virtual bool GA_BlobDataLoader::jsonLoad ( UT_JSONParser p,
const GA_LoadMap load,
GA_BlobRef handle 
) const
pure virtual

Load the data from the JSON parser and assign the blob to the handle passed in. If there's an error loading the blob, then, return false.


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