#include <DocumentProtectorPy.h>
Public Member Functions | |
Py::Object | addObject (const Py::Tuple &) |
DocumentProtectorPy (App::DocumentPy *doc) | |
Py::Object | getattr (const char *) |
Py::Object | recompute (const Py::Tuple &) |
Py::Object | repr () |
int | setattr (const char *, const Py::Object &) |
~DocumentProtectorPy () | |
Static Public Member Functions | |
static void | init_type (void) |
Friends | |
class | DocumentProtector |
Definition at line 38 of file DocumentProtectorPy.h.
DocumentProtectorPy::DocumentProtectorPy | ( | App::DocumentPy * | doc | ) |
Definition at line 54 of file DocumentProtectorPy.cpp.
References DocumentProtector, and App::DocumentPy::getDocumentPtr().
DocumentProtectorPy::~DocumentProtectorPy | ( | ) |
Definition at line 59 of file DocumentProtectorPy.cpp.
Py::Object DocumentProtectorPy::addObject | ( | const Py::Tuple & | args | ) |
Definition at line 125 of file DocumentProtectorPy.cpp.
References Sandbox::DocumentProtector::addObject(), Py::asObject(), Py::Object::ptr(), and Py::type().
Referenced by init_type().
Py::Object DocumentProtectorPy::getattr | ( | const char * | attr | ) | [virtual] |
Reimplemented from Py::PythonExtension< DocumentProtectorPy >.
Definition at line 92 of file DocumentProtectorPy.cpp.
References Py::Object::ptr().
void DocumentProtectorPy::init_type | ( | void | ) | [static] |
Definition at line 41 of file DocumentProtectorPy.cpp.
References Py::PythonExtension< DocumentProtectorPy >::add_varargs_method(), addObject(), Py::PythonExtension< DocumentProtectorPy >::behaviors(), and recompute().
Referenced by SandboxModule::SandboxModule().
Py::Object DocumentProtectorPy::recompute | ( | const Py::Tuple & | args | ) |
Definition at line 145 of file DocumentProtectorPy.cpp.
References Sketcher::None, Py::Object::ptr(), and Sandbox::DocumentProtector::recompute().
Referenced by init_type().
Py::Object DocumentProtectorPy::repr | ( | ) | [virtual] |
Reimplemented from Py::PythonExtensionBase.
Definition at line 64 of file DocumentProtectorPy.cpp.
int DocumentProtectorPy::setattr | ( | const char * | attr, | |
const Py::Object & | value | |||
) | [virtual] |
Reimplemented from Py::PythonExtensionBase.
Definition at line 112 of file DocumentProtectorPy.cpp.
friend class DocumentProtector [friend] |
Definition at line 60 of file DocumentProtectorPy.h.
Referenced by DocumentProtectorPy().