#include <DocumentProtectorPy.h>
Public Member Functions | |
| DocumentObjectProtectorPy (App::DocumentObjectPy *obj) | |
| DocumentObjectProtectorPy (App::DocumentObject *obj) | |
| Py::Object | getattr (const char *) |
| Py::Object | repr () |
| int | setattr (const char *, const Py::Object &) |
| ~DocumentObjectProtectorPy () | |
Static Public Member Functions | |
| static void | init_type (void) |
Friends | |
| class | DocumentObjectProtector |
Definition at line 64 of file DocumentProtectorPy.h.
| DocumentObjectProtectorPy::DocumentObjectProtectorPy | ( | App::DocumentObject * | obj | ) |
Definition at line 166 of file DocumentProtectorPy.cpp.
References DocumentObjectProtector.
| DocumentObjectProtectorPy::DocumentObjectProtectorPy | ( | App::DocumentObjectPy * | obj | ) |
Definition at line 171 of file DocumentProtectorPy.cpp.
References DocumentObjectProtector, and App::DocumentObjectPy::getDocumentObjectPtr().
| DocumentObjectProtectorPy::~DocumentObjectProtectorPy | ( | ) |
Definition at line 176 of file DocumentProtectorPy.cpp.
| Py::Object DocumentObjectProtectorPy::getattr | ( | const char * | attr | ) | [virtual] |
Reimplemented from Py::PythonExtension< DocumentObjectProtectorPy >.
Definition at line 191 of file DocumentProtectorPy.cpp.
References Py::asObject(), Sandbox::DocumentObjectProtector::getObject(), App::PropertyContainer::getPropertyByName(), and Base::BaseClass::getPyObject().
| void DocumentObjectProtectorPy::init_type | ( | void | ) | [static] |
Definition at line 156 of file DocumentProtectorPy.cpp.
References Py::PythonExtension< DocumentObjectProtectorPy >::behaviors().
Referenced by SandboxModule::SandboxModule().
| Py::Object DocumentObjectProtectorPy::repr | ( | ) | [virtual] |
Reimplemented from Py::PythonExtensionBase.
Definition at line 181 of file DocumentProtectorPy.cpp.
| int DocumentObjectProtectorPy::setattr | ( | const char * | attr, | |
| const Py::Object & | value | |||
| ) | [virtual] |
Reimplemented from Py::PythonExtensionBase.
Definition at line 213 of file DocumentProtectorPy.cpp.
References draftlibs::dxfLibrary::copy, Base::Type::createInstance(), Sandbox::DocumentObjectProtector::getObject(), App::PropertyContainer::getPropertyByName(), App::Property::getTypeId(), Py::Object::ptr(), and Sandbox::DocumentObjectProtector::setProperty().
friend class DocumentObjectProtector [friend] |
Definition at line 79 of file DocumentProtectorPy.h.
Referenced by DocumentObjectProtectorPy().
1.6.1