GEO_IOTranslator Class Reference

#include <GEO_IOTranslator.h>

Inheritance diagram for GEO_IOTranslator:

GEO_IOBpoly GEO_IORib GEO_IOTable

List of all members.

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.


Detailed Description

Definition at line 30 of file GEO_IOTranslator.h.


Constructor & Destructor Documentation

GEO_IOTranslator::GEO_IOTranslator (  ) 

virtual GEO_IOTranslator::~GEO_IOTranslator (  )  [virtual]


Member Function Documentation

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]

Method to save a gdp to another format.

Implemented in GEO_IOBpoly, GEO_IORib, and GEO_IOTable.

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.


The documentation for this class was generated from the following file:

Generated on Thu May 24 00:09:37 2012 for HDK by  doxygen 1.5.9