#include <ExtensionModule.hxx>
Public Member Functions | |
ExtensionModuleBase (const char *name) | |
const std::string & | fullName () const |
virtual Object | invoke_method_keyword (void *method_def, const Tuple &_args, const Dict &_keywords)=0 |
virtual Object | invoke_method_noargs (void *method_def)=0 |
virtual Object | invoke_method_varargs (void *method_def, const Tuple &_args)=0 |
Module | module (void) const |
Dict | moduleDictionary (void) const |
Object | moduleObject (void) const |
const std::string & | name () const |
virtual | ~ExtensionModuleBase () |
Protected Member Functions | |
void | initialize (const char *module_doc) |
Protected Attributes | |
const std::string | m_full_module_name |
MethodTable | m_method_table |
PyObject * | m_module |
const std::string | m_module_name |
Definition at line 43 of file ExtensionModule.hxx.
Py::ExtensionModuleBase::ExtensionModuleBase | ( | const char * | name | ) |
Definition at line 190 of file Python2/cxx_extensions.cxx.
Py::ExtensionModuleBase::~ExtensionModuleBase | ( | ) | [virtual] |
Definition at line 196 of file Python2/cxx_extensions.cxx.
const std::string & Py::ExtensionModuleBase::fullName | ( | ) | const |
Definition at line 204 of file Python2/cxx_extensions.cxx.
References m_full_module_name.
Referenced by Py::ExtensionExceptionType::init().
void Py::ExtensionModuleBase::initialize | ( | const char * | module_doc | ) | [protected] |
Reimplemented in Py::ExtensionModule< T >, Py::ExtensionModule< SandboxModuleGui >, Py::ExtensionModule< SandboxModule >, Py::ExtensionModule< PythonDebugModule >, and Py::ExtensionModule< UnitTestModule >.
Definition at line 222 of file Python2/cxx_extensions.cxx.
References m_method_table, m_module_name, and Py::MethodTable::table().
virtual Object Py::ExtensionModuleBase::invoke_method_noargs | ( | void * | method_def | ) | [pure virtual] |
Py::Module Py::ExtensionModuleBase::module | ( | void | ) | const |
Definition at line 235 of file Python2/cxx_extensions.cxx.
References m_full_module_name.
Referenced by moduleDictionary().
Py::Dict Py::ExtensionModuleBase::moduleDictionary | ( | void | ) | const |
Definition at line 240 of file Python2/cxx_extensions.cxx.
References Py::Module::getDict(), and module().
Referenced by Py::ExtensionModule< UnitTestModule >::initialize(), Gui::PythonDebugModule::PythonDebugModule(), and SandboxModule::SandboxModule().
Object Py::ExtensionModuleBase::moduleObject | ( | void | ) | const |
const std::string & Py::ExtensionModuleBase::name | ( | ) | const |
Definition at line 199 of file Python2/cxx_extensions.cxx.
References m_module_name.
const std::string Py::ExtensionModuleBase::m_full_module_name [protected] |
Definition at line 67 of file ExtensionModule.hxx.
Referenced by fullName(), and module().
MethodTable Py::ExtensionModuleBase::m_method_table [protected] |
Definition at line 68 of file ExtensionModule.hxx.
Referenced by initialize().
PyObject* Py::ExtensionModuleBase::m_module [protected] |
Definition at line 72 of file ExtensionModule.hxx.
const std::string Py::ExtensionModuleBase::m_module_name [protected] |
Definition at line 66 of file ExtensionModule.hxx.
Referenced by initialize(), and name().