#include <FeaturePartImportStep.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
ImportStep () | |
methods overide Feature | |
App::DocumentObjectExecReturn * | execute (void) |
recalculate the Feature | |
const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider | |
short | mustExecute () const |
mustExecute We call this method to check if the object was modified to be invoked. | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
App::PropertyString | FileName |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 39 of file FeaturePartImportStep.h.
ImportStep::ImportStep | ( | void | ) |
Definition at line 39 of file FeaturePartImportStep.cpp.
References ADD_PROPERTY.
void * ImportStep::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 36 of file FeaturePartImportStep.cpp.
App::DocumentObjectExecReturn * ImportStep::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Part::Feature.
Definition at line 51 of file FeaturePartImportStep.cpp.
References Base::Console(), draftlibs::dxfReader::error(), FileName, App::PropertyString::getValue(), Part::TopoShape::importStep(), Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type ImportStep::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 36 of file FeaturePartImportStep.cpp.
const App::PropertyData & ImportStep::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Definition at line 36 of file FeaturePartImportStep.cpp.
const App::PropertyData * ImportStep::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Definition at line 36 of file FeaturePartImportStep.cpp.
Base::Type ImportStep::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Definition at line 36 of file FeaturePartImportStep.cpp.
const char* Part::ImportStep::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from Part::Feature.
Definition at line 54 of file FeaturePartImportStep.h.
void ImportStep::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 36 of file FeaturePartImportStep.cpp.
Referenced by initPart().
short ImportStep::mustExecute | ( | ) | const [virtual] |
mustExecute We call this method to check if the object was modified to be invoked.
If the object label or an argument is modified. If we must recompute the object - to call the method execute(). 0: no recompution is needed 1: recompution needed -1: the document examine all links of this object and if one is touched -> recompute
Reimplemented from Part::Feature.
Definition at line 44 of file FeaturePartImportStep.cpp.
References FileName, and App::Property::isTouched().
Definition at line 46 of file FeaturePartImportStep.h.
Referenced by execute(), insert(), mustExecute(), and open().