#include <GeometryExtension.h>
Public Member Functions | |
void | Restore (Base::XMLReader &) |
void | Save (Base::Writer &) const |
virtual | ~GeometryPersistenceExtension ()=default |
Public Member Functions inherited from Part::GeometryExtension | |
virtual std::unique_ptr< GeometryExtension > | copy (void) const =0 |
PyObject * | copyPyObject () const |
const std::string & | getName () const |
virtual PyObject * | getPyObject (void)=0 |
This method returns the Python wrapper for a C++ object. More... | |
virtual void | notifyAttachment (Part::Geometry *) |
void | setName (const std::string &str) |
virtual | ~GeometryExtension ()=default |
Public Member Functions inherited from Base::BaseClass | |
BaseClass () | |
Construction. More... | |
BaseClass (const BaseClass &)=default | |
virtual PyObject * | getPyObject () |
This method returns the Python wrapper for a C++ object. More... | |
virtual Type | getTypeId () const |
bool | isDerivedFrom (const Type type) const |
BaseClass & | operator= (const BaseClass &)=default |
virtual void | setPyObject (PyObject *) |
virtual | ~BaseClass () |
Destruction. More... | |
Protected Member Functions | |
virtual void | restoreAttributes (Base::XMLReader &) |
virtual void | saveAttributes (Base::Writer &writer) const |
Protected Member Functions inherited from Part::GeometryExtension | |
virtual void | copyAttributes (Part::GeometryExtension *cpy) const |
GeometryExtension () | |
GeometryExtension (const GeometryExtension &obj)=default | |
GeometryExtension & | operator= (const GeometryExtension &obj)=default |
Additional Inherited Members | |
Static Public Member Functions inherited from Base::BaseClass | |
static void * | create () |
static Type | getClassTypeId () |
static void | init () |
Static Protected Member Functions inherited from Base::BaseClass | |
static void | initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) |
|
virtualdefault |
void GeometryPersistenceExtension::Restore | ( | Base::XMLReader & | reader | ) |
References restoreAttributes().
Referenced by Part::Geometry::Restore().
|
protectedvirtual |
Reimplemented in Part::GeometryDefaultExtension< T >, Part::GeometryDefaultExtension< T >, Part::GeometryDefaultExtension< T >, Part::GeometryDefaultExtension< T >, Sketcher::ExternalGeometryExtension, and Sketcher::SketchGeometryExtension.
Referenced by Restore(), Part::GeometryDefaultExtension< T >::restoreAttributes(), Sketcher::ExternalGeometryExtension::restoreAttributes(), and Sketcher::SketchGeometryExtension::restoreAttributes().
void GeometryPersistenceExtension::Save | ( | Base::Writer & | writer | ) | const |
|
protectedvirtual |
Reimplemented in Part::GeometryDefaultExtension< T >, Sketcher::ExternalGeometryExtension, and Sketcher::SketchGeometryExtension.
References Part::GeometryExtension::getName(), and Base::Writer::Stream().
Referenced by Save(), Part::GeometryDefaultExtension< T >::saveAttributes(), Sketcher::ExternalGeometryExtension::saveAttributes(), and Sketcher::SketchGeometryExtension::saveAttributes().