SBIFileImporter Class Reference

This class is the base class for importers.

Constructors and destructors

virtual ~SBIFileImporter ()
 

User interface

virtual std::string getFilter () const
 Returns the filter, e.g. "Protein Data Bank (*.pdb)" (Qt format)
 
virtual std::string getExtension () const
 Returns the extension, e.g. "pdb".
 
SBGFileImporter * getPropertyDialog () const
 Returns the property dialog of the importer.
 
void setPropertyDialog (SBGFileImporter *g)
 Sets the property dialog of the importer.
 

Parsing functions

virtual bool importFromFile (const std::string &fileName, const SBList< std::string > *parameters=0, SBDDocumentFolder *preferredFolder=0)