GU_IOJSON Class Reference

Extension of GA_IOJSON which saves GU specific properties. More...

#include <GU_IOJSON.h>

Inheritance diagram for GU_IOJSON:

GA_IOJSON

List of all members.

Public Member Functions

 GU_IOJSON ()
virtual ~GU_IOJSON ()

Protected Member Functions

bool jsonLoadExtra (GA_Detail &gdp, UT_JSONParser &p, const char *token, const GA_LoadMap &map) const
bool jsonSaveExtra (const GA_Detail &gdp, UT_JSONWriter &w, const GA_SaveMap &map) const
bool finishLoad (GA_Detail &gdp, const GA_LoadMap &map) const


Detailed Description

Extension of GA_IOJSON which saves GU specific properties.

At the current time, there are no specific values saved with GU details.

Definition at line 27 of file GU_IOJSON.h.


Constructor & Destructor Documentation

GU_IOJSON::GU_IOJSON (  )  [inline]

Definition at line 30 of file GU_IOJSON.h.

virtual GU_IOJSON::~GU_IOJSON (  )  [inline, virtual]

Definition at line 31 of file GU_IOJSON.h.


Member Function Documentation

bool GU_IOJSON::finishLoad ( GA_Detail gdp,
const GA_LoadMap  
) const [protected, virtual]

When the JSON loader finishes, it will call this method. This allows sub-classes to perform any post-load processing.

Reimplemented from GA_IOJSON.

bool GU_IOJSON::jsonLoadExtra ( GA_Detail gdp,
UT_JSONParser p,
const char *  token,
const GA_LoadMap loadmap 
) const [protected, virtual]

When the JSON loader hits a token it doesn't understand, it will call this method. This allows sub-classes to load extra fields.

Reimplemented from GA_IOJSON.

bool GU_IOJSON::jsonSaveExtra ( const GA_Detail gdp,
UT_JSONWriter w,
const GA_SaveMap savemap 
) const [protected, virtual]

The jsonSaveExtra method is called during writing. This allows sub-classes to save additional information into the JSON stream.

Reimplemented from GA_IOJSON.


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

Generated on Thu Jan 31 00:31:22 2013 for HDK by  doxygen 1.5.9