Base class for all file importers/exporters.
Inherits :
Inherited By : DzAssetIOFilter, DzAudioImporter, DzExporter, DzImageExporter, DzImageImporter, DzImporter, DzSaveFilter (deprecated) and DzVideoExporter
DAZ Script | |
---|---|
Boolean | optionsShown |
DAZ Script | |
---|---|
void | getDefaultOptions ( DzFileIOSettings options ) |
Boolean | getOptions ( DzFileIOSettings options, Boolean useInterface, String filename ) |
Boolean | showOptions () |
This class provides functionality common to all file importers and exporters such as the ability to edit options before file import/export. Also, this class provides functions for importers/exporters to report errors to the user/log file, and provides static convenience functions for dissecting file paths into their parts.
Holds whether the options for the importer/exporter has been shown.
Since:
void : getDefaultOptions( DzFileIOSettings options )
Gets the default options for an I/O operation.
Parameter(s):
Boolean : getOptions( DzFileIOSettings options, Boolean useInterface, String filename )
Gets the options for an I/O operation.
Parameter(s):
true
and the importer/exporter implements the getOptionsFrame() virtual member function, the options interface for the importer/exporter will be displayed to the user. If false
, the default (or last-used) options will be added to or updated in options
.Return Value:
options
has been updated, otherwise false
.Boolean : showOptions()
Return Value:
true
if this importer/exporter should display an options dialog by default, otherwise false
.