#include <FeatureMainPart.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
MainPart () | |
methods override feature | |
App::DocumentObjectExecReturn * | execute (void) |
recalculate the feature | |
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::PropertyLinkList | Model |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 33 of file FeatureMainPart.h.
PartDesign::MainPart::MainPart | ( | ) |
Definition at line 41 of file FeatureMainPart.cpp.
References ADD_PROPERTY.
void * PartDesign::MainPart::create | ( | void | ) | [static] |
Reimplemented from PartDesign::Feature.
Definition at line 39 of file FeatureMainPart.cpp.
App::DocumentObjectExecReturn * PartDesign::MainPart::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 54 of file FeatureMainPart.cpp.
References App::DocumentObject::StdReturn.
Base::Type PartDesign::MainPart::getClassTypeId | ( | void | ) | [static] |
Reimplemented from PartDesign::Feature.
Definition at line 39 of file FeatureMainPart.cpp.
const App::PropertyData & PartDesign::MainPart::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from PartDesign::Feature.
Definition at line 39 of file FeatureMainPart.cpp.
const App::PropertyData * PartDesign::MainPart::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from PartDesign::Feature.
Definition at line 39 of file FeatureMainPart.cpp.
Base::Type PartDesign::MainPart::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from PartDesign::Feature.
Definition at line 39 of file FeatureMainPart.cpp.
void PartDesign::MainPart::init | ( | void | ) | [static] |
Reimplemented from PartDesign::Feature.
Definition at line 39 of file FeatureMainPart.cpp.
Referenced by initPartDesign().
short PartDesign::MainPart::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 46 of file FeatureMainPart.cpp.
Definition at line 40 of file FeatureMainPart.h.