Base for an individual export job. More...
#include <mie/jobbase.h>

Public Member Functions | |
| JOB_EXPORT (const FORMAT &format, const SETTINGS &settings) | |
| virtual | ~JOB_EXPORT () |
| ERRVALUE | ExportBegin (const MISTRING &Dest) |
| ERRVALUE | ExportEnd (const MISTRING &Dest) |
| bool | ExportNeedTempFile () const |
Protected Member Functions | |
| virtual ERRVALUE | v_ExportBeginObject (const MISTRING &Dest) |
| virtual ERRVALUE | v_ExportEndObject (const MISTRING &Dest) |
| virtual bool | v_ExportNeedTempFile () const |
Base for an individual export job.
| virtual MIE::JOB_EXPORT::~JOB_EXPORT | ( | ) | [virtual] |
Start an Export.
Does everything needed to prepare to export to a file.
| Dest | either a FILEPATH (as MioPath) or an ODBC data source to export to |
Complete the export.
I can't think of anything this would ever be needed for, but you never know and it doesn't hurt to be complete.
| bool MIE::JOB_EXPORT::ExportNeedTempFile | ( | ) | const [inline] |
Determine if the settings for this job will require a temp file file.
| virtual ERRVALUE MIE::JOB_EXPORT::v_ExportBeginObject | ( | const MISTRING & | Dest | ) | [protected, virtual] |
Start an export. Called once per input object.
| Dest | either a FILEPATH (as MioPath) or an ODBC data source to export to |
Reimplemented in MIE::JOB_EXPORT_CAD, MIE::JOB_EXPORT_GEOMETRIC, and MIE::JOB_EXPORT_VECTOR.
Finish up an export. Called once per input object.
Reimplemented in MIE::JOB_EXPORT_CAD, MIE::JOB_EXPORT_GEOMETRIC, MIE::JOB_EXPORT_RASTER, and MIE::JOB_EXPORT_VECTOR.
| virtual bool MIE::JOB_EXPORT::v_ExportNeedTempFile | ( | ) | const [protected, virtual] |
Determine if we need to copy the object to a tempfile and then do something to the object.
If this returns true, v_ExportBeginObject() should copy/extract/convert the object from the original spot to its temp location. Derived class should call base class implementation and return true if it says a temp file is needed
Reimplemented in MIE::JOB_EXPORT_CAD, and MIE::JOB_EXPORT_VECTOR.
1.6.1