Loading...
Searching...
No Matches
SBIFileExporter Class Referenceabstract

This class is the base class for exporters.

Exporting functions

SBGFileExporter * propertyDialog
 
virtual bool exportToFile (const SBNodeIndexer &nodeIndexer, const std::string &fileName, const std::unordered_map< std::string, SBValue > *parameters=nullptr)=0
 Exports data from nodeIndexer in a file fileName with the given parameters.
 
 SBIFileExporter ()
 

Constructors and destructors

virtual ~SBIFileExporter ()
 

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".
 
SBGFileExporter * getPropertyDialog () const
 Returns the property dialog of the exporter.
 
void setPropertyDialog (SBGFileExporter *g)
 Sets the property dialog of the exporter.