App::DocumentPy Class Reference

The python export class for Document. More...

#include <DocumentPy.h>

Inheritance diagram for App::DocumentPy:
App::PropertyContainerPy Base::PersistencePy Base::BaseClassPy Base::PyObjectBase

List of all members.

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

Detailed Description

The python export class for Document.

Definition at line 20 of file App/DocumentPy.h.


Member Typedef Documentation

Reimplemented from App::PropertyContainerPy.

Definition at line 36 of file App/DocumentPy.h.


Constructor & Destructor Documentation

DocumentPy::DocumentPy ( Document *  pcObject,
PyTypeObject *  T = &Type 
)

Definition at line 1945 of file App/DocumentPy.cpp.

DocumentPy::~DocumentPy (  ) 

Definition at line 1966 of file App/DocumentPy.cpp.


Member Function Documentation

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().

PyObject * DocumentPy::abortTransaction ( PyObject *  args  ) 

implementer for the abortTransaction() method

Definition at line 208 of file App/DocumentPyImp.cpp.

References App::Document::abortTransaction(), getDocumentPtr(), and Py_Return.

PyObject * DocumentPy::addObject ( PyObject *  args  ) 
PyObject * DocumentPy::clearUndos ( PyObject *  args  ) 

implementer for the clearUndos() method

Definition at line 242 of file App/DocumentPyImp.cpp.

References App::Document::clearUndos(), getDocumentPtr(), and Py_Return.

PyObject * DocumentPy::commitTransaction ( PyObject *  args  ) 

implementer for the commitTransaction() method

Definition at line 216 of file App/DocumentPyImp.cpp.

References App::Document::commitTransaction(), getDocumentPtr(), and Py_Return.

PyObject * DocumentPy::copyObject ( PyObject *  args  ) 
PyObject * DocumentPy::findObjects ( PyObject *  args  ) 
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
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
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().

PyObject * DocumentPy::getObject ( PyObject *  args  ) 

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().

PyObject * DocumentPy::getObjectsByLabel ( PyObject *  args  ) 
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().

PyObject * DocumentPy::getTempFileName ( PyObject *  args  ) 
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().

PyObject * DocumentPy::moveObject ( PyObject *  args  ) 
PyObject * DocumentPy::openTransaction ( PyObject *  args  ) 

implementer for the openTransaction() method

Definition at line 198 of file App/DocumentPyImp.cpp.

References getDocumentPtr(), App::Document::openTransaction(), and Py_Return.

int DocumentPy::PyInit ( PyObject *  ,
PyObject *   
) [virtual]

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.

PyObject * DocumentPy::PyMake ( struct _typeobject *  ,
PyObject *  ,
PyObject *   
) [static]

Reimplemented from App::PropertyContainerPy.

Definition at line 1950 of file App/DocumentPy.cpp.

PyObject * DocumentPy::recompute ( PyObject *  args  ) 

implementer for the recompute() method

Definition at line 250 of file App/DocumentPyImp.cpp.

References getDocumentPtr(), Py_Return, and App::Document::recompute().

PyObject * DocumentPy::redo ( PyObject *  args  ) 

implementer for the redo() method

Definition at line 233 of file App/DocumentPyImp.cpp.

References getDocumentPtr(), Py_Return, and App::Document::redo().

PyObject * DocumentPy::removeObject ( PyObject *  args  ) 

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().

PyObject * DocumentPy::restore ( PyObject *  args  ) 
PyObject * DocumentPy::save ( PyObject *  args  ) 
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]
PyObject * DocumentPy::staticCallback_addObject ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_clearUndos ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_commitTransaction ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_copyObject ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_findObjects ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_getActiveObject ( PyObject *  self,
void *  closure 
) [static]

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().

PyObject * DocumentPy::staticCallback_getName ( PyObject *  self,
void *  closure 
) [static]

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().

PyObject * DocumentPy::staticCallback_getObject ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_getObjects ( PyObject *  self,
void *  closure 
) [static]

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]
PyObject * DocumentPy::staticCallback_getRedoCount ( PyObject *  self,
void *  closure 
) [static]

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().

PyObject * DocumentPy::staticCallback_getRedoNames ( PyObject *  self,
void *  closure 
) [static]

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().

PyObject * DocumentPy::staticCallback_getTempFileName ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_getUndoCount ( PyObject *  self,
void *  closure 
) [static]

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().

PyObject * DocumentPy::staticCallback_getUndoMode ( PyObject *  self,
void *  closure 
) [static]

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().

PyObject * DocumentPy::staticCallback_getUndoNames ( PyObject *  self,
void *  closure 
) [static]

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().

PyObject * DocumentPy::staticCallback_moveObject ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_openTransaction ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_recompute ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_redo ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_removeObject ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_restore ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_save ( PyObject *  self,
PyObject *  args 
) [static]
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().

PyObject * DocumentPy::staticCallback_supportedTypes ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::staticCallback_undo ( PyObject *  self,
PyObject *  args 
) [static]
PyObject * DocumentPy::supportedTypes ( PyObject *  args  ) 
PyObject * DocumentPy::undo ( PyObject *  args  ) 

implementer for the undo() method

Definition at line 224 of file App/DocumentPyImp.cpp.

References getDocumentPtr(), Py_Return, and App::Document::undo().


Member Data Documentation

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.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:01:43 2011 for FreeCAD by  doxygen 1.6.1