DzFileIO Class Reference
[File Input and Output Objects]

Base class for all file importers/exporters. More...

Inheritance diagram for DzFileIO:

DzBase QObject Object DzAudioImporter DzExporter DzImageExporter DzImageImporter DzImporter DzSaveFilter DzVideoExporter DzLayeredImageExporter DzLayeredImageImporter DzGeometryImporter List of all members.

Methods

void getDefaultOptions (DzFileIOSettings options)
Boolean getOptions (DzFileIOSettings options, Boolean useInterface)
Boolean showOptions ()

Detailed Description

Base class for all file importers/exporters.

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.


Member Function Documentation

void DzFileIO::getDefaultOptions ( DzFileIOSettings  options  ) 

Gets the default options for an I/O operation. Subclasses should reimplement this function to set the default options for the Importer/Exporter. The default implementation does nothing.

Parameters:
options The settings object that the defaults will be added to.

void DzFileIO::getOptions ( DzFileIOSettings  options,
Boolean  useInterface 
)

Gets the options for an import operation.

Parameters:
options The settings object that the selected options will be added to.
useInterface If true, the options interface for the importer will be displayed to the user, if false, the default (or last-used) options will be returned.
Returns:
The options for an import operation, NULL if the user cancelled.

Boolean DzFileIO::showOptions (  ) 

Returns:
true if this importer/exporter should display an options dialog by default.


Generated on Thu Sep 24 12:21:12 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.