Glyph Version 7.22.2 Mode Types - - - DatabaseExporter |
pw:: DatabaseExporterThe DatabaseExporter IO mode type Derives Frompw::Object pw::Mode pw::IOMode NotesTo create a mode of this type, use the pw::Application.begin command with the mode DatabaseExport specified, like this: set exporter [pw::Application begin DatabaseExport $entities] Summary
verify
This action verifies the IO mode attributes and the entities of the mode that should be exported. ParametersThis action has no parameters. ReturnsThis action returns a boolean of true if verified, false if not. NoteThis action must be called after initialize, but before write. Possible ErrorsAttributeIsInvalid, UnsupportedEntityDetected, Unknown write
This action writes the file by converting pw::DatabaseEntity objects into the format required for the exported data. ParametersThis action has no parameters. ReturnsThis action returns a boolean of true if written, false if not. A Tcl error is thrown on failure if -strict was specified for <initialize>. NoteThis action must be called after initialize and verify. Possible ErrorsAttributeIsInvalid, UnsupportedEntityDetected, Unknown |
This action gets a list of the file types that can export all of the entities of this mode.
$io getFileTypes
This action verifies the IO mode attributes and the entities of the mode that should be exported.
$io verify
This action checks if there is data that will be written out when the write action is used.
$io canWrite
This action writes the file by converting pw::DatabaseEntity objects into the format required for the exported data.
$io write
This action begins a mode in the application.
pw::Application begin ?-mode_specific_flags? mode ?entities?