Class SBIFileExporter#
#include <SBIFileExporter.hpp>
Public Functions#
Type | Name |
---|---|
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 filefileName with the givenparameters . |
virtual std::string | getExtension () const Returns the extension, e.g. "pdb". |
virtual std::string | getFilter () const Returns the filter, e.g. "Protein Data Bank (*.pdb)" (Qt format) |
SBGFileExporter * | getPropertyDialog () const Returns the property dialog of the exporter. |
void | setPropertyDialog (SBGFileExporter * g) Sets the property dialog of the exporter. |
virtual | ~SBIFileExporter () |
Protected Attributes#
Type | Name |
---|---|
SBGFileExporter * | propertyDialog |
Protected Functions#
Type | Name |
---|---|
SBIFileExporter () |
Detailed Description#
This class is the base class for exporters
Short name: SBExporter
Public Functions Documentation#
function exportToFile#
Exports data from nodeIndexer
in a filefileName
with the givenparameters
.
virtual bool SBIFileExporter::exportToFile (
const SBNodeIndexer & nodeIndexer,
const std::string & fileName,
const std::unordered_map< std::string, SBValue > * parameters=nullptr
) = 0
function getExtension#
Returns the extension, e.g. "pdb".
function getFilter#
Returns the filter, e.g. "Protein Data Bank (*.pdb)" (Qt format)
function getPropertyDialog#
Returns the property dialog of the exporter.
function setPropertyDialog#
Sets the property dialog of the exporter.