Sandbox::DocumentObjectProtectorPy Class Reference
#include <DocumentProtectorPy.h>
Public Member Functions | |
DocumentObjectProtectorPy (App::DocumentObject *obj) | |
DocumentObjectProtectorPy (App::DocumentObjectPy *obj) | |
Py::Object | getattr (const char *) |
Py::Object | getObject () const |
Py::Object | purgeTouched (const Py::Tuple &) |
Py::Object | repr () |
int | setattr (const char *, const Py::Object &) |
~DocumentObjectProtectorPy () | |
Static Public Member Functions | |
static void | init_type (void) |
Friends | |
class | DocumentObjectProtector |
Constructor & Destructor Documentation
◆ DocumentObjectProtectorPy() [1/2]
DocumentObjectProtectorPy::DocumentObjectProtectorPy | ( | App::DocumentObject * | obj | ) |
References DocumentObjectProtector.
◆ DocumentObjectProtectorPy() [2/2]
DocumentObjectProtectorPy::DocumentObjectProtectorPy | ( | App::DocumentObjectPy * | obj | ) |
References DocumentObjectProtector.
◆ ~DocumentObjectProtectorPy()
DocumentObjectProtectorPy::~DocumentObjectProtectorPy | ( | ) |
Member Function Documentation
◆ getattr()
Py::Object DocumentObjectProtectorPy::getattr | ( | const char * | attr | ) |
References Base::BaseClass::getPyObject().
◆ getObject()
Py::Object DocumentObjectProtectorPy::getObject | ( | ) | const |
Referenced by setattr().
◆ init_type()
|
static |
References purgeTouched().
◆ purgeTouched()
Py::Object DocumentObjectProtectorPy::purgeTouched | ( | const Py::Tuple & | ) |
Referenced by init_type().
◆ repr()
Py::Object DocumentObjectProtectorPy::repr | ( | ) |
◆ setattr()
int DocumentObjectProtectorPy::setattr | ( | const char * | attr, |
const Py::Object & | value | ||
) |
References Base::Type::createInstance(), getObject(), and Base::Persistence::getTypeId().
Friends And Related Function Documentation
◆ DocumentObjectProtector
|
friend |
Referenced by DocumentObjectProtectorPy().
The documentation for this class was generated from the following files:
- src/Mod/Sandbox/App/DocumentProtectorPy.h
- src/Mod/Sandbox/App/DocumentProtectorPy.cpp