The python export class for Document. More...
#include <DocumentPy.h>
Public Types | |
typedef Document * | PointerType |
Public Member Functions | |
PyObject * | _getattr (char *attr) |
GetAttribute implementation This method implements the retriavel of object attributes. | |
virtual PyObject * | _repr (void) |
_repr method Overide this method to return a string object with some invormation about the object. | |
int | _setattr (char *attr, PyObject *value) |
SetAttribute implementation This method implements the seting of object attributes. | |
DocumentPy (Document *pcObject, PyTypeObject *T=&Type) | |
PyObject * | getCustomAttributes (const char *attr) const |
getter method for special attributes (e.g. dynamic ones) | |
Document * | getDocumentPtr (void) const |
getter for the object handled by this class | |
virtual PyParentObject * | GetParents (void) |
virtual PyTypeObject * | GetType (void) |
virtual int | PyInit (PyObject *args, PyObject *k) |
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor). | |
std::string | representation (void) const |
int | setCustomAttributes (const char *attr, PyObject *obj) |
setter for special attributes (e.g. dynamic ones) | |
~DocumentPy () | |
Static Public Member Functions | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
Static Public Attributes | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of DocumentPy. | |
static PyMethodDef | Methods [] |
Methods structure of DocumentPy. | |
static PyParentObject | Parents [] = { PARENTSAppDocumentPy } |
static PyTypeObject | Type |
Type structure of DocumentPy. | |
callbacks and implementers for the python object methods | |
| |
PyObject * | abortTransaction (PyObject *args) |
implementer for the abortTransaction() method | |
PyObject * | addObject (PyObject *args) |
implementer for the addObject() method | |
PyObject * | clearUndos (PyObject *args) |
implementer for the clearUndos() method | |
PyObject * | commitTransaction (PyObject *args) |
implementer for the commitTransaction() method | |
PyObject * | copyObject (PyObject *args) |
implementer for the copyObject() method | |
PyObject * | findObjects (PyObject *args) |
implementer for the findObjects() method | |
PyObject * | getObject (PyObject *args) |
implementer for the getObject() method | |
PyObject * | getObjectsByLabel (PyObject *args) |
implementer for the getObjectsByLabel() method | |
PyObject * | getTempFileName (PyObject *args) |
implementer for the getTempFileName() method | |
PyObject * | moveObject (PyObject *args) |
implementer for the moveObject() method | |
PyObject * | openTransaction (PyObject *args) |
implementer for the openTransaction() method | |
PyObject * | recompute (PyObject *args) |
implementer for the recompute() method | |
PyObject * | redo (PyObject *args) |
implementer for the redo() method | |
PyObject * | removeObject (PyObject *args) |
implementer for the removeObject() method | |
PyObject * | restore (PyObject *args) |
implementer for the restore() method | |
PyObject * | save (PyObject *args) |
implementer for the save() method | |
PyObject * | supportedTypes (PyObject *args) |
implementer for the supportedTypes() method | |
PyObject * | undo (PyObject *args) |
implementer for the undo() method | |
static PyObject * | staticCallback_abortTransaction (PyObject *self, PyObject *args) |
callback for the abortTransaction() method | |
static PyObject * | staticCallback_addObject (PyObject *self, PyObject *args) |
callback for the addObject() method | |
static PyObject * | staticCallback_clearUndos (PyObject *self, PyObject *args) |
callback for the clearUndos() method | |
static PyObject * | staticCallback_commitTransaction (PyObject *self, PyObject *args) |
callback for the commitTransaction() method | |
static PyObject * | staticCallback_copyObject (PyObject *self, PyObject *args) |
callback for the copyObject() method | |
static PyObject * | staticCallback_findObjects (PyObject *self, PyObject *args) |
callback for the findObjects() method | |
static PyObject * | staticCallback_getObject (PyObject *self, PyObject *args) |
callback for the getObject() method | |
static PyObject * | staticCallback_getObjectsByLabel (PyObject *self, PyObject *args) |
callback for the getObjectsByLabel() method | |
static PyObject * | staticCallback_getTempFileName (PyObject *self, PyObject *args) |
callback for the getTempFileName() method | |
static PyObject * | staticCallback_moveObject (PyObject *self, PyObject *args) |
callback for the moveObject() method | |
static PyObject * | staticCallback_openTransaction (PyObject *self, PyObject *args) |
callback for the openTransaction() method | |
static PyObject * | staticCallback_recompute (PyObject *self, PyObject *args) |
callback for the recompute() method | |
static PyObject * | staticCallback_redo (PyObject *self, PyObject *args) |
callback for the redo() method | |
static PyObject * | staticCallback_removeObject (PyObject *self, PyObject *args) |
callback for the removeObject() method | |
static PyObject * | staticCallback_restore (PyObject *self, PyObject *args) |
callback for the restore() method | |
static PyObject * | staticCallback_save (PyObject *self, PyObject *args) |
callback for the save() method | |
static PyObject * | staticCallback_supportedTypes (PyObject *self, PyObject *args) |
callback for the supportedTypes() method | |
static PyObject * | staticCallback_undo (PyObject *self, PyObject *args) |
callback for the undo() method | |
callbacks and implementers for the python object attributes | |
| |
Py::Object | getActiveObject (void) const |
getter for the ActiveObject attribute | |
Py::String | getDependencyGraph (void) const |
getter for the DependencyGraph attribute | |
Py::String | getName (void) const |
getter for the Name attribute | |
Py::List | getObjects (void) const |
getter for the Objects attribute | |
Py::Int | getRedoCount (void) const |
getter for the RedoCount attribute | |
Py::List | getRedoNames (void) const |
getter for the RedoNames attribute | |
Py::Int | getUndoCount (void) const |
getter for the UndoCount attribute | |
Py::Int | getUndoMode (void) const |
getter for the UndoMode attribute | |
Py::List | getUndoNames (void) const |
getter for the UndoNames attribute | |
Py::Int | getUndoRedoMemSize (void) const |
getter for the UndoRedoMemSize attribute | |
void | setUndoMode (Py::Int arg) |
setter for the UndoMode attribute | |
static PyObject * | staticCallback_getActiveObject (PyObject *self, void *closure) |
getter callback for the ActiveObject attribute | |
static PyObject * | staticCallback_getDependencyGraph (PyObject *self, void *closure) |
getter callback for the DependencyGraph attribute | |
static PyObject * | staticCallback_getName (PyObject *self, void *closure) |
getter callback for the Name attribute | |
static PyObject * | staticCallback_getObjects (PyObject *self, void *closure) |
getter callback for the Objects attribute | |
static PyObject * | staticCallback_getRedoCount (PyObject *self, void *closure) |
getter callback for the RedoCount attribute | |
static PyObject * | staticCallback_getRedoNames (PyObject *self, void *closure) |
getter callback for the RedoNames attribute | |
static PyObject * | staticCallback_getUndoCount (PyObject *self, void *closure) |
getter callback for the UndoCount attribute | |
static PyObject * | staticCallback_getUndoMode (PyObject *self, void *closure) |
getter callback for the UndoMode attribute | |
static PyObject * | staticCallback_getUndoNames (PyObject *self, void *closure) |
getter callback for the UndoNames attribute | |
static PyObject * | staticCallback_getUndoRedoMemSize (PyObject *self, void *closure) |
getter callback for the UndoRedoMemSize attribute | |
static int | staticCallback_setActiveObject (PyObject *self, PyObject *value, void *closure) |
setter callback for the ActiveObject attribute | |
static int | staticCallback_setDependencyGraph (PyObject *self, PyObject *value, void *closure) |
setter callback for the DependencyGraph attribute | |
static int | staticCallback_setName (PyObject *self, PyObject *value, void *closure) |
setter callback for the Name attribute | |
static int | staticCallback_setObjects (PyObject *self, PyObject *value, void *closure) |
setter callback for the Objects attribute | |
static int | staticCallback_setRedoCount (PyObject *self, PyObject *value, void *closure) |
setter callback for the RedoCount attribute | |
static int | staticCallback_setRedoNames (PyObject *self, PyObject *value, void *closure) |
setter callback for the RedoNames attribute | |
static int | staticCallback_setUndoCount (PyObject *self, PyObject *value, void *closure) |
setter callback for the UndoCount attribute | |
static int | staticCallback_setUndoMode (PyObject *self, PyObject *value, void *closure) |
setter callback for the UndoMode attribute | |
static int | staticCallback_setUndoNames (PyObject *self, PyObject *value, void *closure) |
setter callback for the UndoNames attribute | |
static int | staticCallback_setUndoRedoMemSize (PyObject *self, PyObject *value, void *closure) |
setter callback for the UndoRedoMemSize attribute |
The python export class for Document.
Definition at line 20 of file App/DocumentPy.h.
typedef Document* App::DocumentPy::PointerType |
Reimplemented from App::PropertyContainerPy.
Definition at line 36 of file App/DocumentPy.h.
Definition at line 1945 of file App/DocumentPy.cpp.
DocumentPy::~DocumentPy | ( | ) |
Definition at line 1966 of file App/DocumentPy.cpp.
PyObject * DocumentPy::_getattr | ( | char * | attr | ) | [virtual] |
GetAttribute implementation This method implements the retriavel of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class. Note: if you reimplement _gettattr() in a inheriting class you need to call the method of the base class! Otherwise even the methods of the object will disapiear!
Reimplemented from App::PropertyContainerPy.
Definition at line 1981 of file App/DocumentPy.cpp.
References Base::Console(), getCustomAttributes(), Methods, Base::Exception::ReportException(), and Base::Exception::what().
PyObject * DocumentPy::_repr | ( | void | ) | [virtual] |
_repr method Overide this method to return a string object with some invormation about the object.
PyObject *MeshFeaturePy::_repr(void) { std::stringstream a; a << "MeshFeature: [ "; a << "some realy important info about the object!"; a << "]" << std::endl; return Py_BuildValue("s", a.str().c_str()); }
Reimplemented from App::PropertyContainerPy.
Definition at line 1973 of file App/DocumentPy.cpp.
References representation().
int DocumentPy::_setattr | ( | char * | attr, | |
PyObject * | value | |||
) | [virtual] |
SetAttribute implementation This method implements the seting of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class.
Reimplemented from App::PropertyContainerPy.
Definition at line 2049 of file App/DocumentPy.cpp.
References Base::Console(), Base::Exception::ReportException(), setCustomAttributes(), and Base::Exception::what().
implementer for the abortTransaction() method
Definition at line 208 of file App/DocumentPyImp.cpp.
References App::Document::abortTransaction(), getDocumentPtr(), and Py_Return.
implementer for the addObject() method
Definition at line 95 of file App/DocumentPyImp.cpp.
References App::Document::addObject(), Py::asObject(), Py::Exception::clear(), Py::Object::getAttr(), getDocumentPtr(), App::DocumentObject::getPyObject(), Py::Object::hasAttr(), Py::Object::isNone(), Py::new_reference_to(), Py::None(), and Py::Object::setAttr().
implementer for the clearUndos() method
Definition at line 242 of file App/DocumentPyImp.cpp.
References App::Document::clearUndos(), getDocumentPtr(), and Py_Return.
implementer for the commitTransaction() method
Definition at line 216 of file App/DocumentPyImp.cpp.
References App::Document::commitTransaction(), getDocumentPtr(), and Py_Return.
implementer for the copyObject() method
Definition at line 164 of file App/DocumentPyImp.cpp.
References draftlibs::dxfLibrary::copy, App::Document::copyObject(), App::DocumentObjectPy::getDocumentObjectPtr(), getDocumentPtr(), App::DocumentObject::getPyObject(), and App::DocumentObjectPy::Type.
implementer for the findObjects() method
Definition at line 288 of file App/DocumentPyImp.cpp.
References Base::Type::badType(), Base::Type::fromName(), App::PropertyContainer::getClassTypeId(), getDocumentPtr(), App::Document::getObjectsOfType(), Base::Type::isDerivedFrom(), and Py::type().
Py::Object DocumentPy::getActiveObject | ( | void | ) | const |
getter for the ActiveObject attribute
Definition at line 333 of file App/DocumentPyImp.cpp.
References App::Document::getActiveObject(), getDocumentPtr(), App::DocumentObject::getPyObject(), and Sketcher::None.
Referenced by staticCallback_getActiveObject().
PyObject * DocumentPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
Reimplemented from App::PropertyContainerPy.
Definition at line 457 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), App::Document::getObject(), App::PropertyContainer::getPropertyByName(), App::PropertyContainerPy::getPropertyContainerPtr(), and App::DocumentObject::getPyObject().
Referenced by _getattr().
Py::String DocumentPy::getDependencyGraph | ( | void | ) | const |
getter for the DependencyGraph attribute
Definition at line 413 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), and App::Document::writeDependencyGraphViz().
Referenced by staticCallback_getDependencyGraph().
Document * DocumentPy::getDocumentPtr | ( | void | ) | const |
getter for the object handled by this class
Definition at line 2108 of file App/DocumentPy.cpp.
References Base::PyObjectBase::_pcTwinPointer.
Referenced by abortTransaction(), addObject(), clearUndos(), commitTransaction(), copyObject(), Sandbox::DocumentProtectorPy::DocumentProtectorPy(), findObjects(), getActiveObject(), getCustomAttributes(), getDependencyGraph(), getName(), getObject(), getObjects(), getObjectsByLabel(), getRedoCount(), getRedoNames(), getTempFileName(), getUndoCount(), getUndoMode(), getUndoNames(), getUndoRedoMemSize(), moveObject(), openTransaction(), recompute(), redo(), removeObject(), representation(), restore(), save(), setCustomAttributes(), setUndoMode(), and undo().
Py::String DocumentPy::getName | ( | void | ) | const |
getter for the Name attribute
Definition at line 420 of file App/DocumentPyImp.cpp.
References getDocumentPtr().
Referenced by staticCallback_getName().
implementer for the getObject() method
Definition at line 258 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), App::Document::getObject(), App::DocumentObject::getPyObject(), and Py_Return.
Py::List DocumentPy::getObjects | ( | void | ) | const |
getter for the Objects attribute
Definition at line 354 of file App/DocumentPyImp.cpp.
References Py::List::append(), getDocumentPtr(), and App::Document::getObjects().
Referenced by staticCallback_getObjects().
implementer for the getObjectsByLabel() method
Definition at line 271 of file App/DocumentPyImp.cpp.
References Py::List::append(), Py::asObject(), getDocumentPtr(), App::Document::getObjects(), and Py::new_reference_to().
virtual PyParentObject* App::DocumentPy::GetParents | ( | void | ) | [inline, virtual] |
Reimplemented from App::PropertyContainerPy.
Definition at line 28 of file App/DocumentPy.h.
Py::Int DocumentPy::getRedoCount | ( | void | ) | const |
getter for the RedoCount attribute
Definition at line 386 of file App/DocumentPyImp.cpp.
References getDocumentPtr().
Referenced by staticCallback_getRedoCount().
Py::List DocumentPy::getRedoNames | ( | void | ) | const |
getter for the RedoNames attribute
Definition at line 402 of file App/DocumentPyImp.cpp.
References Py::List::append(), App::Document::getAvailableRedoNames(), and getDocumentPtr().
Referenced by staticCallback_getRedoNames().
implementer for the getTempFileName() method
Definition at line 425 of file App/DocumentPyImp.cpp.
References Base::FileInfo::deleteFile(), draftlibs::dxfReader::error(), Base::FileInfo::filePath(), getDocumentPtr(), Base::FileInfo::getTempFileName(), draftTools::p, and Py::value().
virtual PyTypeObject* App::DocumentPy::GetType | ( | void | ) | [inline, virtual] |
Reimplemented from App::PropertyContainerPy.
Definition at line 27 of file App/DocumentPy.h.
Py::Int DocumentPy::getUndoCount | ( | void | ) | const |
getter for the UndoCount attribute
Definition at line 381 of file App/DocumentPyImp.cpp.
References getDocumentPtr().
Referenced by staticCallback_getUndoCount().
Py::Int DocumentPy::getUndoMode | ( | void | ) | const |
getter for the UndoMode attribute
Definition at line 366 of file App/DocumentPyImp.cpp.
References getDocumentPtr().
Referenced by staticCallback_getUndoMode().
Py::List DocumentPy::getUndoNames | ( | void | ) | const |
getter for the UndoNames attribute
Definition at line 391 of file App/DocumentPyImp.cpp.
References Py::List::append(), App::Document::getAvailableUndoNames(), and getDocumentPtr().
Referenced by staticCallback_getUndoNames().
Py::Int DocumentPy::getUndoRedoMemSize | ( | void | ) | const |
getter for the UndoRedoMemSize attribute
Definition at line 376 of file App/DocumentPyImp.cpp.
References getDocumentPtr().
Referenced by staticCallback_getUndoRedoMemSize().
implementer for the moveObject() method
Definition at line 181 of file App/DocumentPyImp.cpp.
References App::DocumentObjectPy::getDocumentObjectPtr(), getDocumentPtr(), App::DocumentObject::getPyObject(), Draft::move(), App::Document::moveObject(), and App::DocumentObjectPy::Type.
implementer for the openTransaction() method
Definition at line 198 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), App::Document::openTransaction(), and Py_Return.
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor).
Reimplemented from App::PropertyContainerPy.
Definition at line 1958 of file App/DocumentPy.cpp.
Reimplemented from App::PropertyContainerPy.
Definition at line 1950 of file App/DocumentPy.cpp.
implementer for the recompute() method
Definition at line 250 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), Py_Return, and App::Document::recompute().
implementer for the redo() method
Definition at line 233 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), Py_Return, and App::Document::redo().
implementer for the removeObject() method
Definition at line 146 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), App::Document::getObject(), Py_Return, and App::Document::remObject().
std::string DocumentPy::representation | ( | void | ) | const |
Reimplemented from App::PropertyContainerPy.
Definition at line 45 of file App/DocumentPyImp.cpp.
References getDocumentPtr().
Referenced by _repr().
implementer for the restore() method
Definition at line 72 of file App/DocumentPyImp.cpp.
References App::Document::FileName, draftlibs::dxfReader::filename, getDocumentPtr(), App::PropertyString::getValue(), Base::FileInfo::isReadable(), Py_Return, and App::Document::restore().
implementer for the save() method
Definition at line 53 of file App/DocumentPyImp.cpp.
References App::Document::FileName, draftlibs::dxfReader::filename, getDocumentPtr(), App::PropertyString::getValue(), Base::FileInfo::isReadable(), and Py_Return.
int DocumentPy::setCustomAttributes | ( | const char * | attr, | |
PyObject * | obj | |||
) |
setter for special attributes (e.g. dynamic ones)
Reimplemented from App::PropertyContainerPy.
Definition at line 477 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), App::Document::getObject(), App::PropertyContainer::getPropertyByName(), and App::PropertyContainerPy::getPropertyContainerPtr().
Referenced by _setattr().
void DocumentPy::setUndoMode | ( | Py::Int | arg | ) |
setter for the UndoMode attribute
Definition at line 371 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), and App::Document::setUndoMode().
PyObject * DocumentPy::staticCallback_abortTransaction | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the abortTransaction() method
Definition at line 466 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the addObject() method
Definition at line 618 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the clearUndos() method
Definition at line 1074 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * DocumentPy::staticCallback_commitTransaction | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the commitTransaction() method
Definition at line 542 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the copyObject() method
Definition at line 770 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the findObjects() method
Definition at line 1378 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the ActiveObject attribute
Definition at line 1638 of file App/DocumentPy.cpp.
References getActiveObject(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
PyObject * DocumentPy::staticCallback_getDependencyGraph | ( | PyObject * | self, | |
void * | closure | |||
) | [static] |
getter callback for the DependencyGraph attribute
Definition at line 1606 of file App/DocumentPy.cpp.
References getDependencyGraph(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the Name attribute
Definition at line 1906 of file App/DocumentPy.cpp.
References getName(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
callback for the getObject() method
Definition at line 1226 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the Objects attribute
Definition at line 1670 of file App/DocumentPy.cpp.
References getObjects(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
PyObject * DocumentPy::staticCallback_getObjectsByLabel | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the getObjectsByLabel() method
Definition at line 1302 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the RedoCount attribute
Definition at line 1810 of file App/DocumentPy.cpp.
References getRedoCount(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the RedoNames attribute
Definition at line 1874 of file App/DocumentPy.cpp.
References getRedoNames(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
callback for the getTempFileName() method
Definition at line 1530 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the UndoCount attribute
Definition at line 1778 of file App/DocumentPy.cpp.
References getUndoCount(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the UndoMode attribute
Definition at line 1702 of file App/DocumentPy.cpp.
References getUndoMode(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the UndoNames attribute
Definition at line 1842 of file App/DocumentPy.cpp.
References getUndoNames(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
PyObject * DocumentPy::staticCallback_getUndoRedoMemSize | ( | PyObject * | self, | |
void * | closure | |||
) | [static] |
getter callback for the UndoRedoMemSize attribute
Definition at line 1746 of file App/DocumentPy.cpp.
References getUndoRedoMemSize(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
callback for the moveObject() method
Definition at line 846 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the openTransaction() method
Definition at line 390 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the recompute() method
Definition at line 1150 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the redo() method
Definition at line 998 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the removeObject() method
Definition at line 694 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the restore() method
Definition at line 314 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the save() method
Definition at line 238 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
int DocumentPy::staticCallback_setActiveObject | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the ActiveObject attribute
Definition at line 1656 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int DocumentPy::staticCallback_setDependencyGraph | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the DependencyGraph attribute
Definition at line 1624 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int DocumentPy::staticCallback_setName | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the Name attribute
Definition at line 1924 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int DocumentPy::staticCallback_setObjects | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the Objects attribute
Definition at line 1688 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int DocumentPy::staticCallback_setRedoCount | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the RedoCount attribute
Definition at line 1828 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int DocumentPy::staticCallback_setRedoNames | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the RedoNames attribute
Definition at line 1892 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int DocumentPy::staticCallback_setUndoCount | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the UndoCount attribute
Definition at line 1796 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int DocumentPy::staticCallback_setUndoMode | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the UndoMode attribute
Definition at line 1720 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int DocumentPy::staticCallback_setUndoNames | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the UndoNames attribute
Definition at line 1860 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int DocumentPy::staticCallback_setUndoRedoMemSize | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the UndoRedoMemSize attribute
Definition at line 1764 of file App/DocumentPy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
callback for the supportedTypes() method
Definition at line 1454 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the undo() method
Definition at line 922 of file App/DocumentPy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
implementer for the supportedTypes() method
Definition at line 341 of file App/DocumentPyImp.cpp.
References Py::List::append(), Base::BaseClassPy::getAllDerivedFrom(), App::PropertyContainer::getClassTypeId(), and Py::new_reference_to().
implementer for the undo() method
Definition at line 224 of file App/DocumentPyImp.cpp.
References getDocumentPtr(), Py_Return, and App::Document::undo().
PyGetSetDef DocumentPy::GetterSetter [static] |
Attribute structure of DocumentPy.
Reimplemented from App::PropertyContainerPy.
Definition at line 25 of file App/DocumentPy.h.
PyMethodDef DocumentPy::Methods [static] |
Methods structure of DocumentPy.
Reimplemented from App::PropertyContainerPy.
Definition at line 24 of file App/DocumentPy.h.
Referenced by _getattr().
PyParentObject DocumentPy::Parents = { PARENTSAppDocumentPy } [static] |
Reimplemented from App::PropertyContainerPy.
Definition at line 26 of file App/DocumentPy.h.
PyTypeObject DocumentPy::Type [static] |
Type structure of DocumentPy.
Reimplemented from App::PropertyContainerPy.
Definition at line 23 of file App/DocumentPy.h.