MIE::JOB_CAD_LINKABLE Class Reference

#include <mie/cadlink.h>

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

List of all members.

Public Member Functions

 JOB_CAD_LINKABLE (const FORMAT &format, const SETTINGS &settings)
virtual ~JOB_CAD_LINKABLE ()

Protected Member Functions

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

Constructor & Destructor Documentation

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

Member Function Documentation

virtual ERRVALUE MIE::JOB_CAD_LINKABLE::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_CAD.

virtual bool MIE::JOB_CAD_LINKABLE::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_CAD.


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