15 #ifndef __GEO_IOTable_h__
16 #define __GEO_IOTable_h__
33 , myTranslator(src.myTranslator)
34 , myMagic(src.myMagic)
55 static int getSaveFormatCount();
57 static const char *getSaveFormat(
int i);
60 static int getFormatCount();
61 static const char *getFormatDescription(
int i);
62 static void getFormatRW(
int i,
bool &can_read,
bool &can_write);
63 static void getFormatExtensions(
int i,
UT_StringArray &extensions);
66 const void *myTranslator;
virtual GA_Detail::IOStatus fileSaveToFile(const GEO_Detail *gdp, const char *filename)
GT_API const UT_StringHolder filename
virtual GEO_IOTranslator * duplicate() const =0
This method is used to create a copy of the sub-class.
virtual GA_Detail::IOStatus fileLoad(GEO_Detail *gdp, UT_IStream &is, bool ate_magic)=0
GLuint const GLchar * name
GEO_IOTable(const GEO_IOTable &src)
Class to return information about a GA_Detail.
virtual bool fileStat(const char *filename, GA_Stat &stat, uint level)
virtual const char * formatName() const =0
virtual int checkExtension(const char *name)=0
virtual int checkMagicNumber(unsigned magic)=0
virtual GA_Detail::IOStatus fileSave(const GEO_Detail *gdp, std::ostream &os)=0