#include <GEO_IOTable.h>

Public Member Functions | |
| GEO_IOTable () | |
| virtual | ~GEO_IOTable () |
| virtual const char * | formatName () const |
| virtual int | checkExtension (const char *name) |
| virtual int | checkMagicNumber (unsigned magic) |
| virtual bool | fileLoad (GEO_Detail *, UT_IStream &, int ate) |
| virtual int | fileSave (const GEO_Detail *, ostream &) |
| Method to save a gdp to another format. | |
Definition at line 31 of file GEO_IOTable.h.
| GEO_IOTable::GEO_IOTable | ( | ) |
| virtual GEO_IOTable::~GEO_IOTable | ( | ) | [virtual] |
| virtual int GEO_IOTable::checkExtension | ( | const char * | name | ) | [virtual] |
Method to check the extension of the name to see if it matches one that we can handle.
Implements GEO_IOTranslator.
| virtual int GEO_IOTable::checkMagicNumber | ( | unsigned | magic | ) | [virtual] |
Method to check if the given magic number matches the magic number. Note that this can return 0 if there is no magic number.
Implements GEO_IOTranslator.
| virtual bool GEO_IOTable::fileLoad | ( | GEO_Detail * | , | |
| UT_IStream & | , | |||
| int | ate_magic | |||
| ) | [virtual] |
Method to load from a stream. If the ate_magic flag is on, then the library has already read the magic number and the loader should not expect it.
Reimplemented from GEO_IOTranslator.
| virtual int GEO_IOTable::fileSave | ( | const GEO_Detail * | , | |
| ostream & | ||||
| ) | [virtual] |
| virtual const char* GEO_IOTable::formatName | ( | ) | const [virtual] |
Returns the label for the geometry format that this translator supports.
Implements GEO_IOTranslator.
1.5.9