Class which extends an existing JSON schema.
More...
#include <GA_PrimitiveJSONExtend.h>
|
| GA_PrimitiveJSONExtend (const GA_PrimitiveJSON *base) |
|
| ~GA_PrimitiveJSONExtend () override |
|
|
int | getEntries () const override |
|
const UT_StringHolder & | getKeyword (int i) const override |
|
bool | saveField (const GA_Primitive *prim, int i, UT_JSONWriter &w, const GA_SaveMap &map) const override |
|
bool | saveField (const GA_Primitive *prim, int i, UT_JSONValue &value, const GA_SaveMap &map) const override |
|
bool | loadField (GA_Primitive *prim, int i, UT_JSONParser &p, const GA_LoadMap &map) const override |
|
bool | loadField (GA_Primitive *prim, int i, UT_JSONParser &p, const UT_JSONValue &value, const GA_LoadMap &map) const override |
|
bool | isEqual (int i, const GA_Primitive *prim1, const GA_Primitive *prim2) const override |
|
|
virtual int | localEntries () const =0 |
|
virtual const UT_StringHolder & | localKeyword (int i) const =0 |
|
virtual bool | localSave (const GA_Primitive *prim, int i, UT_JSONWriter &w, const GA_SaveMap &map) const =0 |
|
virtual bool | localSave (const GA_Primitive *prim, int i, UT_JSONValue &value, const GA_SaveMap &map) const =0 |
|
virtual bool | localLoad (GA_Primitive *prim, int i, UT_JSONParser &p, const GA_LoadMap &map) const =0 |
|
virtual bool | localLoad (GA_Primitive *prim, int i, UT_JSONParser &p, const UT_JSONValue &value, const GA_LoadMap &map) const =0 |
|
virtual bool | localIsEqual (int i, const GA_Primitive *prim1, const GA_Primitive *prim2) const =0 |
|
| GA_PrimitiveJSON () |
|
virtual | ~GA_PrimitiveJSON () |
|
virtual bool | shouldSaveField (const GA_Primitive *prim, int i, const GA_SaveMap &save) const |
|
virtual bool | save (const GA_Primitive *prim, UT_JSONWriter &w, const GA_SaveMap &map) const |
|
virtual bool | save (const GA_Primitive *prim, UT_JSONValue &v, const GA_SaveMap &map) const |
| Save a single primitive to a UT_JSONValue. More...
|
|
virtual bool | load (GA_Primitive *prim, UT_JSONParser &p, const GA_LoadMap &map) const |
|
virtual bool | load (GA_Primitive *prim, UT_JSONParser &p, const UT_JSONValue &value, const GA_LoadMap &map) const |
| Load a single primitive from a UT_JSONValue. More...
|
|
|
bool | isBase (int i) const |
|
int | getLocal (int i) const |
|
virtual bool | getRunFields (const GA_Primitive **list, int list_size, const GA_SaveMap &save, UT_StringArray &varying, UT_JSONValue &uniform, uint &user_flags) const |
|
virtual bool | matchRun (const GA_Primitive *prim0, const GA_Primitive *prim1, const UT_StringArray &varying, const UT_JSONValue &uniform, uint user_flags) const |
|
virtual bool | saveRunFields (const GA_Primitive *prim, const GA_SaveMap &save, const UT_StringArray &varying, UT_JSONWriter &w, uint user_flags) const |
|
virtual bool | load (GA_Primitive *prim, UT_JSONParser &p, const GA_LoadMap &load, const UT_StringArray &varying, const GA_JSONUniformBlock &uniform) const |
|
virtual bool | loadUniform (GA_Primitive *prim, UT_JSONParser &p, const GA_LoadMap &map, const GA_JSONUniformBlock &uniform) const |
|
virtual bool | loadUnknownToken (GA_Primitive *prim, const char *token, UT_JSONParser &p, const GA_LoadMap &load) const |
|
void | init () |
|
Class which extends an existing JSON schema.
Definition at line 28 of file GA_PrimitiveJSONExtend.h.
GA_PrimitiveJSONExtend::~GA_PrimitiveJSONExtend |
( |
| ) |
|
|
override |
int GA_PrimitiveJSONExtend::getEntries |
( |
| ) |
const |
|
overridevirtual |
Methods implemented from base GA_PrimitiveJSON. These methods are all implemented as:
Return the number of data fields in the primitive private schema
Implements GA_PrimitiveJSON.
Methods implemented from base GA_PrimitiveJSON. These methods are all implemented as:
Return the number of data fields in the primitive private schema
Implements GA_PrimitiveJSON.
int GA_PrimitiveJSONExtend::getLocal |
( |
int |
i | ) |
const |
|
inlineprotected |
bool GA_PrimitiveJSONExtend::isBase |
( |
int |
i | ) |
const |
|
inlineprotected |
Methods implemented from base GA_PrimitiveJSON. These methods are all implemented as:
Return the number of data fields in the primitive private schema
Implements GA_PrimitiveJSON.
Methods implemented from base GA_PrimitiveJSON. These methods are all implemented as:
Return the number of data fields in the primitive private schema
Implements GA_PrimitiveJSON.
Methods implemented from base GA_PrimitiveJSON. These methods are all implemented as:
Return the number of data fields in the primitive private schema
Reimplemented from GA_PrimitiveJSON.
virtual int GA_PrimitiveJSONExtend::localEntries |
( |
| ) |
const |
|
pure virtual |
The local methods return information about the local schema (i.e. the extending schema. All indices (i
) are 0 based.
The local methods return information about the local schema (i.e. the extending schema. All indices (i
) are 0 based.
The local methods return information about the local schema (i.e. the extending schema. All indices (i
) are 0 based.
The local methods return information about the local schema (i.e. the extending schema. All indices (i
) are 0 based.
The local methods return information about the local schema (i.e. the extending schema. All indices (i
) are 0 based.
The local methods return information about the local schema (i.e. the extending schema. All indices (i
) are 0 based.
The local methods return information about the local schema (i.e. the extending schema. All indices (i
) are 0 based.
Methods implemented from base GA_PrimitiveJSON. These methods are all implemented as:
Return the number of data fields in the primitive private schema
Implements GA_PrimitiveJSON.
Methods implemented from base GA_PrimitiveJSON. These methods are all implemented as:
Return the number of data fields in the primitive private schema
Reimplemented from GA_PrimitiveJSON.
int GA_PrimitiveJSONExtend::myBaseEntries |
|
protected |
The documentation for this class was generated from the following file: