#include <SketchObjectSF.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
bool | load (const char *FileName) |
bool | save (const char *FileName) |
Uses the standard ViewProvider. | |
SketchObjectSF () | |
methods overide 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::PropertyFileIncluded | SketchFlatFile |
Property. | |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 37 of file SketchObjectSF.h.
SketchObjectSF::SketchObjectSF | ( | ) |
Definition at line 40 of file SketchObjectSF.cpp.
References ADD_PROPERTY_TYPE, and App::Prop_None.
void * Sketcher::SketchObjectSF::create | ( | void | ) | [static] |
Reimplemented from Part::Part2DObject.
Definition at line 37 of file SketchObjectSF.cpp.
App::DocumentObjectExecReturn * SketchObjectSF::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Part::Part2DObject.
Definition at line 53 of file SketchObjectSF.cpp.
References Base::Console(), App::DocumentObject::getNameInDocument(), and App::DocumentObject::StdReturn.
Base::Type Sketcher::SketchObjectSF::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Part2DObject.
Definition at line 37 of file SketchObjectSF.cpp.
const App::PropertyData & Sketcher::SketchObjectSF::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Part2DObject.
Definition at line 37 of file SketchObjectSF.cpp.
const App::PropertyData * Sketcher::SketchObjectSF::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Part2DObject.
Definition at line 37 of file SketchObjectSF.cpp.
Base::Type Sketcher::SketchObjectSF::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Part2DObject.
Definition at line 37 of file SketchObjectSF.cpp.
void Sketcher::SketchObjectSF::init | ( | void | ) | [static] |
Reimplemented from Part::Part2DObject.
Definition at line 37 of file SketchObjectSF.cpp.
Referenced by initSketcher().
bool Sketcher::SketchObjectSF::load | ( | const char * | FileName | ) |
short SketchObjectSF::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 SketchObjectSF.cpp.
References App::Property::isTouched(), and SketchFlatFile.
bool Sketcher::SketchObjectSF::save | ( | const char * | FileName | ) |
Uses the standard ViewProvider.
Property.
Definition at line 45 of file SketchObjectSF.h.
Referenced by insert(), and mustExecute().