Base class of all custom feature classes which are almost used as base for python feature classes. More...
#include <CustomFeature.h>
Public Member Functions | |
| CustomFeature (void) | |
| Constructor. | |
| virtual Base::Type | getTypeId (void) const |
| virtual const char * | getViewProviderName (void) const |
| returns the type name of the ViewProvider | |
| virtual | ~CustomFeature () |
methods override feature | |
| virtual App::DocumentObjectExecReturn * | execute (void) |
| recalculate the feature | |
| virtual short | mustExecute (void) 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) |
Protected Member Functions | |
| virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
| static const App::PropertyData * | getPropertyDataPtr (void) |
Base class of all custom feature classes which are almost used as base for python feature classes.
Definition at line 35 of file CustomFeature.h.
| CustomFeature::CustomFeature | ( | void | ) |
Constructor.
Definition at line 40 of file CustomFeature.cpp.
| CustomFeature::~CustomFeature | ( | ) | [virtual] |
Definition at line 44 of file CustomFeature.cpp.
| void * Part::CustomFeature::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 37 of file CustomFeature.cpp.
| App::DocumentObjectExecReturn * CustomFeature::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 53 of file CustomFeature.cpp.
References App::DocumentObject::StdReturn.
| Base::Type Part::CustomFeature::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 37 of file CustomFeature.cpp.
| const App::PropertyData & Part::CustomFeature::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Definition at line 37 of file CustomFeature.cpp.
| const App::PropertyData * Part::CustomFeature::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Definition at line 37 of file CustomFeature.cpp.
| Base::Type Part::CustomFeature::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Definition at line 37 of file CustomFeature.cpp.
| virtual const char* Part::CustomFeature::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from Part::Feature.
Definition at line 52 of file CustomFeature.h.
| void Part::CustomFeature::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 37 of file CustomFeature.cpp.
Referenced by initPart().
| short CustomFeature::mustExecute | ( | void | ) | 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 48 of file CustomFeature.cpp.
1.6.1