pythonpp::CModuleExt Class Reference

Search Toolkit Book for pythonpp::CModuleExt

#include <pythonpp_ext.hpp>

List of all members.


Detailed Description

Definition at line 786 of file pythonpp_ext.hpp.

Static Public Member Functions

static void Declare (const string &name, PyMethodDef *methods)
static const string & GetName (void)
static PyObjectGetPyModule (void)
static void AddConstValue (const string &name, PyObject *value)
static void AddConst (const string &name, const string &value)
static void AddConst (const string &name, long value)

Static Private Attributes

static string m_Name
static PyObjectm_Module = NULL


Member Function Documentation

void pythonpp::CModuleExt::AddConst const string &  name,
long  value
[static]
 

Definition at line 840 of file pythonpp_ext.hpp.

References AddConstValue(), and pythonpp::CError::Check().

void pythonpp::CModuleExt::AddConst const string &  name,
const string &  value
[static]
 

Definition at line 832 of file pythonpp_ext.hpp.

References AddConstValue(), and pythonpp::CError::Check().

Referenced by init_common().

void pythonpp::CModuleExt::AddConstValue const string &  name,
PyObject value
[static]
 

Definition at line 823 of file pythonpp_ext.hpp.

References pythonpp::CError::Check(), and m_Module.

Referenced by AddConst().

void pythonpp::CModuleExt::Declare const string &  name,
PyMethodDef *  methods
[static]
 

Definition at line 813 of file pythonpp_ext.hpp.

References _ASSERT, pythonpp::CError::Check(), m_Module, and m_Name.

Referenced by init_common().

static const string& pythonpp::CModuleExt::GetName void   )  [inline, static]
 

Definition at line 792 of file pythonpp_ext.hpp.

Referenced by pythonpp::CUserError< COperationalError, CDatabaseError >::Declare().

static PyObject* pythonpp::CModuleExt::GetPyModule void   )  [inline, static]
 

Definition at line 796 of file pythonpp_ext.hpp.

Referenced by pythonpp::CUserError< COperationalError, CDatabaseError >::Declare(), and init_common().


Member Data Documentation

PyObject * pythonpp::CModuleExt::m_Module = NULL [static, private]
 

Definition at line 806 of file pythonpp_ext.hpp.

Referenced by AddConstValue(), and Declare().

string pythonpp::CModuleExt::m_Name [static, private]
 

Definition at line 805 of file pythonpp_ext.hpp.

Referenced by Declare().


The documentation for this class was generated from the following file:
Generated on Wed Dec 9 08:16:27 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:20:18 2009 by modify_doxy.py rev. 173732