All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GEO_IOBpoly Class Reference

#include <GEO_IOBpoly.h>

+ Inheritance diagram for GEO_IOBpoly:

Public Member Functions

 GEO_IOBpoly ()
 GEO_IOBpoly (const GEO_IOBpoly &src)
virtual ~GEO_IOBpoly ()
virtual GEO_IOTranslatorduplicate () const
 This method is used to create a copy of the sub-class. More...
virtual const char * formatName () const
virtual int checkExtension (const char *name)
virtual int checkMagicNumber (unsigned magic)
virtual GA_Detail::IOStatus fileSave (const GEO_Detail *, std::ostream &os)
virtual GA_Detail::IOStatus fileLoad (GEO_Detail *, UT_IStream &, bool)
- Public Member Functions inherited from GEO_IOTranslator
 GEO_IOTranslator ()
virtual ~GEO_IOTranslator ()
virtual void getFileExtensions (UT_StringArray &extensions) const
virtual bool fileStat (const char *filename, GA_Stat &stat, uint level)
virtual GA_Detail::IOStatus fileSaveToFile (const GEO_Detail *gdp, const char *filename)
void eraseDSODefinition ()

Additional Inherited Members

- Public Types inherited from GEO_IOTranslator
typedef UT_StringMap
< UT_StringHolder
- Static Public Member Functions inherited from GEO_IOTranslator
static const geo_DSODefinitionsdsoDefinitions ()
 Return the list of DSO based translators. More...
- Protected Member Functions inherited from GEO_IOTranslator
bool statJSONStream (UT_IStream &is, GA_Stat &stat, uint level) const
 Stat a .bgeo JSON stream. More...

Detailed Description

Definition at line 22 of file GEO_IOBpoly.h.

Constructor & Destructor Documentation

GEO_IOBpoly::GEO_IOBpoly ( )

Definition at line 25 of file GEO_IOBpoly.h.

GEO_IOBpoly::GEO_IOBpoly ( const GEO_IOBpoly src)

Definition at line 30 of file GEO_IOBpoly.h.

virtual GEO_IOBpoly::~GEO_IOBpoly ( )

Member Function Documentation

virtual int GEO_IOBpoly::checkExtension ( const char *  name)

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.

virtual int GEO_IOBpoly::checkMagicNumber ( unsigned  magic)

Method to check if the given magic number matches the magic number. Return true on a match.

Implements GEO_IOTranslator.

virtual GEO_IOTranslator* GEO_IOBpoly::duplicate ( ) const

This method is used to create a copy of the sub-class.

Implements GEO_IOTranslator.

virtual GA_Detail::IOStatus GEO_IOBpoly::fileLoad ( GEO_Detail gdp,
UT_IStream is,
bool  ate_magic 

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.

virtual GA_Detail::IOStatus GEO_IOBpoly::fileSave ( const GEO_Detail gdp,
std::ostream &  os 

Method to save a gdp to another format. Return false if this translator does not support saving.

Implements GEO_IOTranslator.

virtual const char* GEO_IOBpoly::formatName ( ) const

Returns the label for the geometry format that this translator supports.

Implements GEO_IOTranslator.

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