library of assembled shared sources |
http://lass.cocamware.com |
#include <pymap.h>
Public Types | |
typedef void | TCppClass |
Public Member Functions | |
template<typename M > | |
PyMap (M &iStdMap) | |
template<typename M > | |
PyMap (const M &iStdMap) | |
virtual | ~PyMap () |
virtual std::string | doPyStr (void) |
virtual std::string | doPyRepr (void) |
virtual TPyObjPtr | keys () const |
virtual TPyObjPtr | values () const |
template<typename Container > | |
bool | pointsToSameContainer (Container &iO) |
Static Public Member Functions | |
static Py_ssize_t | PyMap_Length (PyObject *iPO) |
static PyObject * | PyMap_Subscript (PyObject *iPO, PyObject *iKey) |
static int | PyMap_AssSubscript (PyObject *iPO, PyObject *iKey, PyObject *iValue) |
static PyObject * | PyMap_Iter (PyObject *iPO) |
Private Member Functions | |
PY_HEADER (PyObjectPlus) | |
PyMap () | |
Static Private Member Functions | |
static void | initialize () |
Private Attributes | |
PyMapImplBase * | pimpl_ |
Static Private Attributes | |
static PyMappingMethods | pyMappingMethods |
static bool | isInitialized = false |
Object for interfacing maps with Python
Definition at line 115 of file pymap.h.
typedef void lass::python::PyObjectPlus::TCppClass [inherited] |
Definition at line 414 of file pyobject_plus.h.
lass::python::impl::PyMap::PyMap | ( | M & | iStdMap | ) | [inline] |
lass::python::impl::PyMap::PyMap | ( | const M & | iStdMap | ) | [inline] |
lass::python::impl::PyMap::~PyMap | ( | ) | [virtual] |
lass::python::impl::PyMap::PyMap | ( | ) | [private] |
lass::python::impl::PyMap::PY_HEADER | ( | PyObjectPlus | ) | [private] |
virtual std::string lass::python::impl::PyMap::doPyStr | ( | void | ) | [inline, virtual] |
virtual std::string lass::python::impl::PyMap::doPyRepr | ( | void | ) | [inline, virtual] |
virtual TPyObjPtr lass::python::impl::PyMap::keys | ( | ) | const [inline, virtual] |
virtual TPyObjPtr lass::python::impl::PyMap::values | ( | ) | const [inline, virtual] |
Py_ssize_t lass::python::impl::PyMap::PyMap_Length | ( | PyObject * | iPO | ) | [static] |
Definition at line 101 of file pymap.cpp.
References pimpl_, and lass::python::impl::PyMapImplBase::PyMap_Length().
PyObject * lass::python::impl::PyMap::PyMap_Subscript | ( | PyObject * | iPO, | |
PyObject * | iKey | |||
) | [static] |
Definition at line 106 of file pymap.cpp.
References pimpl_, and lass::python::impl::PyMapImplBase::PyMap_Subscript().
int lass::python::impl::PyMap::PyMap_AssSubscript | ( | PyObject * | iPO, | |
PyObject * | iKey, | |||
PyObject * | iValue | |||
) | [static] |
Definition at line 111 of file pymap.cpp.
References pimpl_, and lass::python::impl::PyMapImplBase::PyMap_AssSubscript().
PyObject * lass::python::impl::PyMap::PyMap_Iter | ( | PyObject * | iPO | ) | [static] |
Definition at line 117 of file pymap.cpp.
References pimpl_, and lass::python::impl::PyMapImplBase::PyMap_Iter().
Referenced by initialize().
bool lass::python::impl::PyMap::pointsToSameContainer | ( | Container & | iO | ) | [inline] |
void lass::python::impl::PyMap::initialize | ( | ) | [static, private] |
Definition at line 67 of file pymap.cpp.
References lass::python::impl::finalizePyType(), isInitialized, LASS_ENFORCE, and PyMap_Iter().
PyMappingMethods lass::python::impl::PyMap::pyMappingMethods [static, private] |
Initial value:
{ (lenfunc)PyMap::PyMap_Length, (binaryfunc)PyMap::PyMap_Subscript, (objobjargproc)PyMap::PyMap_AssSubscript, }
PyMapImplBase* lass::python::impl::PyMap::pimpl_ [private] |
Definition at line 165 of file pymap.h.
Referenced by PyMap_AssSubscript(), PyMap_Iter(), PyMap_Length(), PyMap_Subscript(), and ~PyMap().
bool lass::python::impl::PyMap::isInitialized = false [static, private] |
Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by 1.5.7.1 |