45 const char *
getToken()
const override;
46 const char *getLabel()
const override;
47 bool checkFilename(
const char *
filename,
49 bool checkFilename(
const char *filename,
51 bool checkByteMagic(
uint8 first_byte,
85 static bool isScExtension(
const char *filename);
87 static bool isGzExtension(
const char *filename);
100 virtual bool jsonLoadExtra(
GA_Detail &gdp,
107 virtual bool jsonSaveExtra(
const GA_Detail &gdp,
GT_API const UT_StringHolder filename
Used to pass options and map offset values during saving.
const GLuint GLenum const void * binary
virtual bool writeStream(const GA_Detail &g, std::ostream &os, bool binary, const GA_SaveOptions *opts, UT_StringArray *errors) const =0
Write geometry to an output stream.
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
bool readCheckCompressed() const override
bool writeCheckStdout() const override
JSON I/O of geometry objects.
SYS_FORCE_INLINE UT_StringHolder getToken(Add enum_value)
virtual bool writeFile(const GA_Detail &g, const char *filename, const GA_SaveOptions *opts, UT_StringArray *errors) const
virtual bool readStream(GA_Detail &g, UT_IStream &is, const GA_LoadOptions *opts, UT_StringArray *errors) const =0
Load geometry from an input stream.
A map of string to various well defined value types.
Class to return information about a GA_Detail.
Container class for all geometry.
GLubyte GLubyte GLubyte GLubyte w
Class to specify options for loading geometry.
bool readCheckStdin() const override