#include <GEO_IOTable.h>
Definition at line 24 of file GEO_IOTable.h.
GEO_IOTable::GEO_IOTable |
( |
| ) |
|
|
inline |
GEO_IOTable::~GEO_IOTable |
( |
| ) |
|
|
override |
int GEO_IOTable::checkExtension |
( |
const char * |
name | ) |
|
|
overridevirtual |
Method to check the extension of the name to see if it matches one that we can handle. Returns true if there's a match
Implements GEO_IOTranslator.
int GEO_IOTable::checkMagicNumber |
( |
unsigned |
magic | ) |
|
|
overridevirtual |
Method to check if the given magic number matches the magic number. Return true on a match.
Implements GEO_IOTranslator.
This method is used to create a copy of the sub-class.
Implements GEO_IOTranslator.
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. If the file format doesn't support reading from streams, it can use UT_IStream::isRandomAccessFile to get the raw name to read from. Return false if this translator doesn't support loading.
Implements GEO_IOTranslator.
Method to save a gdp to another format. Return false if this translator does not support saving.
Implements GEO_IOTranslator.
Method to save a gdp to another format via a filename. Return false if this translator does not support saving.
This is an optional method. By default, it will create a stream and call the streaming version of fileSave().
Reimplemented from GEO_IOTranslator.
bool GEO_IOTable::fileStat |
( |
const char * |
filename, |
|
|
GA_Stat & |
stat, |
|
|
uint |
level |
|
) |
| |
|
overridevirtual |
Method to "stat" a file. If possible, stat shouldn't have to load the entire geometry.
Reimplemented from GEO_IOTranslator.
const char* GEO_IOTable::formatName |
( |
| ) |
const |
|
overridevirtual |
Returns the label for the geometry format that this translator supports.
Implements GEO_IOTranslator.
static int GEO_IOTable::getFormatCount |
( |
| ) |
|
|
static |
Return the number of formats loaded from the GEOio table.
static const char* GEO_IOTable::getFormatDescription |
( |
int |
i | ) |
|
|
static |
static void GEO_IOTable::getFormatRW |
( |
int |
i, |
|
|
bool & |
can_read, |
|
|
bool & |
can_write |
|
) |
| |
|
static |
static const char* GEO_IOTable::getSaveFormat |
( |
int |
i | ) |
|
|
static |
Return the Nth save format.
static int GEO_IOTable::getSaveFormatCount |
( |
| ) |
|
|
static |
Return the number of extensions which can be written to.
The documentation for this class was generated from the following file: