|
HDK
|
Extension of GA_IOJSON which saves GU specific properties. More...
#include <GU_IOJSON.h>
Inheritance diagram for GU_IOJSON:Public Member Functions | |
| GU_IOJSON () | |
| ~GU_IOJSON () override | |
Public Member Functions inherited from GA_IOJSON | |
| GA_IOJSON () | |
| ~GA_IOJSON () override | |
| bool | statJSON (UT_JSONParser &p, GA_Stat &stat, uint level) const |
| Stat geometry from a JSON stream. More... | |
| bool | readJSON (GA_Detail &g, UT_JSONParser &p, const GA_LoadOptions *options) const |
| Read geometry from a JSON stream. More... | |
| bool | writeJSON (const GA_Detail &g, UT_JSONWriter &w, const GA_SaveOptions *options) const |
| Write geometry to a JSON stream. More... | |
| const char * | getToken () const override |
| const char * | getLabel () const override |
| bool | checkFilename (const char *filename, const GA_SaveOptions *opts) const override |
| bool | checkFilename (const char *filename, const GA_LoadOptions *opts) const override |
| bool | checkByteMagic (uint8 first_byte, const GA_LoadOptions *opts) const override |
| bool | statStream (UT_IStream &is, GA_Stat &stat, uint stat_level) const override |
| bool | readStream (GA_Detail &g, UT_IStream &is, const GA_LoadOptions *opts, UT_StringArray *errors) const override |
| bool | writeFile (const GA_Detail &g, const char *filename, const GA_SaveOptions *opts, UT_StringArray *errors) const override |
| bool | writeStream (const GA_Detail &g, std::ostream &os, bool binary, const GA_SaveOptions *opts, UT_StringArray *errors) const override |
Protected Member Functions | |
| bool | jsonLoadExtra (GA_Detail &gdp, UT_JSONParser &p, const char *token, const GA_LoadMap &map) const override |
| bool | jsonSaveExtra (const GA_Detail &gdp, UT_JSONWriter &w, const GA_SaveMap &map) const override |
| bool | finishLoad (GA_Detail &gdp, const GA_LoadMap &map) const override |
Protected Member Functions inherited from GA_IOJSON | |
| bool | readCheckStdin () const override |
| bool | readCheckCompressed () const override |
| bool | writeCheckStdout () const override |
Additional Inherited Members | |
Static Public Member Functions inherited from GA_IOJSON | |
| static bool | isScExtension (const char *filename) |
| Check whether filename uses BLOSC compression. More... | |
| static bool | isGzExtension (const char *filename) |
| Check whether filename uses GZIP compression. More... | |
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 20 of file GU_IOJSON.h.
|
inline |
Definition at line 23 of file GU_IOJSON.h.
|
inlineoverride |
Definition at line 24 of file GU_IOJSON.h.
|
overrideprotectedvirtual |
When the JSON loader finishes, it will call this method. This allows sub-classes to perform any post-load processing.
Reimplemented from GA_IOJSON.
|
overrideprotectedvirtual |
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.
|
overrideprotectedvirtual |
The jsonSaveExtra method is called during writing. This allows sub-classes to save additional information into the JSON stream.
Reimplemented from GA_IOJSON.