#include <GEO_IOTranslator.h>

Public Member Functions | |
| GEO_IOTranslator () | |
| virtual | ~GEO_IOTranslator () |
| virtual const char * | formatName () const =0 |
| virtual int | checkExtension (const char *name)=0 |
| virtual int | checkMagicNumber (unsigned magic)=0 |
| virtual bool | fileLoad (GEO_Detail *, UT_IStream &, int ate_magic) |
| virtual int | fileSave (const GEO_Detail *, ostream &)=0 |
| Method to save a gdp to another format. | |
Definition at line 30 of file GEO_IOTranslator.h.
| GEO_IOTranslator::GEO_IOTranslator | ( | ) |
| virtual GEO_IOTranslator::~GEO_IOTranslator | ( | ) | [virtual] |
| virtual int GEO_IOTranslator::checkExtension | ( | const char * | name | ) | [pure virtual] |
Method to check the extension of the name to see if it matches one that we can handle.
Implemented in GEO_IOBpoly, GEO_IORib, and GEO_IOTable.
| virtual int GEO_IOTranslator::checkMagicNumber | ( | unsigned | magic | ) | [pure 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.
Implemented in GEO_IOBpoly, GEO_IORib, and GEO_IOTable.
| virtual bool GEO_IOTranslator::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 in GEO_IOBpoly, GEO_IORib, and GEO_IOTable.
| virtual int GEO_IOTranslator::fileSave | ( | const GEO_Detail * | , | |
| ostream & | ||||
| ) | [pure virtual] |
| virtual const char* GEO_IOTranslator::formatName | ( | ) | const [pure virtual] |
Returns the label for the geometry format that this translator supports.
Implemented in GEO_IOBpoly, GEO_IORib, and GEO_IOTable.
1.5.9