#include <Export.h>
Inheritance diagram for Export::
Public Methods | |
Export () | |
Standard constructor. | |
virtual | ~Export () |
Destructor. | |
void | init (ofstream *,Machine *) |
Initializes the export object. More... | |
virtual void | doExport ()=0 |
Does the actual exporting. | |
virtual QString | fileFilter ()=0 |
Returns the appropriate filter string for the file dialog. | |
Protected Methods | |
virtual void | writeHeader (QString commentstart, QString commentend="") |
Writes a comment to the top of the output stream. | |
Protected Attributes | |
ofstream * | out |
Output stream. | |
Machine * | machine |
Pointer to the machine that shall be exported. |
|
Initializes the export object. o is a pointer to the output stream opened with the standard fstream methods. |