DzExporter Class Reference
[File Input and Output Objects]

Base class for all scene file exporters. More...

Inheritance diagram for DzExporter:

DzFileIO DzBase QObject Object List of all members.

Methods

String getDescription ()
String getExtension ()
Boolean isFileExporter ()
DzError writeFile (String filename, DzFileIOSettings options)
DzError writeFile (String filename)

Detailed Description

Base class for all scene file exporters.


Member Function Documentation

String DzExporter::getDescription (  ) 

Returns:
A description of the exporter that can be placed in a file type selection combo box (e.g. "Acclaim Skeleton")

String DzExporter::getExtension (  ) 

Returns:
The extension that this exporter will force filenames to (excluding the preceeding '.').

Boolean DzExporter::isFileExporter (  ) 

Returns:
true if this exporter writes to a 'real' file. Derived classes should override this to indicate whether or not they are writing out to a real file. Exporters can, if they want to, write to entities other than files (e.g. sockets, pipes, etc.)

DzError DzExporter::writeFile ( String  filename,
DzFileIOSettings  options 
)

Exports to a file.

Parameters:
filename Name of the file to export to.
options The options for the exporter.
Returns:
DZ_NO_ERROR on success, or an error code if the export failed.

DzError DzExporter::writeFile ( String  filename  ) 

Exports to a file.

Parameters:
filename Name of the file to export to.
Returns:
DZ_NO_ERROR on success, or an error code if the export failed.


Generated on Thu Sep 24 12:21:12 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.