MIE::JOB_EXPORT Class Reference

Base for an individual export job. More...

#include <mie/jobbase.h>

Inheritance diagram for MIE::JOB_EXPORT:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Base for an individual export job.


Constructor & Destructor Documentation

MIE::JOB_EXPORT::JOB_EXPORT ( const FORMAT format,
const SETTINGS settings 
)
virtual MIE::JOB_EXPORT::~JOB_EXPORT (  )  [virtual]

Member Function Documentation

ERRVALUE MIE::JOB_EXPORT::ExportBegin ( const MISTRING Dest  ) 

Start an Export.

Does everything needed to prepare to export to a file.

Parameters:
Dest either a FILEPATH (as MioPath) or an ODBC data source to export to
ERRVALUE MIE::JOB_EXPORT::ExportEnd ( const MISTRING Dest  ) 

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.

Parameters:
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.

virtual ERRVALUE MIE::JOB_EXPORT::v_ExportEndObject ( const MISTRING Dest  )  [protected, virtual]

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.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:36:29 2012 for TNTsdk 2012 by  doxygen 1.6.1