MIE::JOB_GEOMETRIC Class Reference

The derived class for an individual import job specific to geometric objects (vector, cad, shape, tin). More...

#include <mie/geometric.h>

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

List of all members.

Public Member Functions

 JOB_GEOMETRIC (const FORMAT &format, const SETTINGS &settings)
virtual ~JOB_GEOMETRIC ()
bool GetTopologyBuilt () const
void SetRemoveDestTables (bool val)
void SetSelectParms (const RVC::GEOMETRIC::ELEMSELECTPARMS &SelectParms)
void SetTopologyBuilt (bool val)

Protected Member Functions

virtual ERRVALUE v_ImportBegin (const RVC::OBJITEM &objitem)
virtual ERRVALUE v_ImportEnd (RVC::OBJITEM &objitem)
virtual bool v_ImportNeedTempFile () const

Detailed Description

The derived class for an individual import job specific to geometric objects (vector, cad, shape, tin).


Constructor & Destructor Documentation

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

Member Function Documentation

bool MIE::JOB_GEOMETRIC::GetTopologyBuilt (  )  const [inline]
void MIE::JOB_GEOMETRIC::SetRemoveDestTables ( bool  val  )  [inline]
void MIE::JOB_GEOMETRIC::SetSelectParms ( const RVC::GEOMETRIC::ELEMSELECTPARMS SelectParms  )  [inline]

Set selection parameters.

Note that if SETTINGS has valid extents, the SelectParms set here will be ignored. If you do not want this, you should prevent the user from specifying extents (see UI_BASE::ExtractPaneSetSensitive).

void MIE::JOB_GEOMETRIC::SetTopologyBuilt ( bool  val  )  [inline]
virtual ERRVALUE MIE::JOB_GEOMETRIC::v_ImportBegin ( const RVC::OBJITEM DestObj  )  [protected, virtual]

Begin import.

Note, If v_ImportNeedTempFile returns true, then the OBJITEM passed will point to the temp file. Derived class should call base class implementation before doing any of its own implementation

Reimplemented from MIE::JOB_GEOSPATIAL.

Reimplemented in MIE::JOB_VECTOR.

virtual ERRVALUE MIE::JOB_GEOMETRIC::v_ImportEnd ( RVC::OBJITEM DestObj  )  [protected, virtual]

Finish the import.

Note, do not assume that v_ImportBegin was called or that anything else has been done to the job instance. In the case of importing as one object type and then converting to another, the v_ImportEnd will do the copy. Object conversion is done at the lowest possible JOB-derived class from which both the destination and source object type JOB classes are derived. So for example, since both JOB_VECTOR and JOB_CAD derive from JOB_GEOMETRIC, object conversion between them is handled in JOB_GEOMETRIC's v_ImportEnd.

Derived class should call base class implementation after doing its own cleanup.

Reimplemented from MIE::JOB_GEOSPATIAL.

Reimplemented in MIE::JOB_CAD, MIE::JOB_CAD_LINKABLE, and MIE::JOB_VECTOR.

virtual bool MIE::JOB_GEOMETRIC::v_ImportNeedTempFile (  )  const [protected, virtual]

Determine if we need to import to a tempfile and then do something to transfer to the real file later.

If this returns true, v_ImportEnd() should copy/extract/convert the object from the temp file to its final home. Derived class should call base class implementation and return true if it says a temp file is needed

Reimplemented from MIE::JOB_IMPORT.

Reimplemented in MIE::JOB_CAD, MIE::JOB_CAD_LINKABLE, MIE::JOB_SHAPE_LINKABLE, and MIE::JOB_VECTOR.


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

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