library of assembled shared sources

http://lass.cocamware.com

lass::python::impl::PyMap Class Reference

PyMap. More...

#include <pymap.h>

Inheritance diagram for lass::python::impl::PyMap:

Inheritance graph
[legend]
Collaboration diagram for lass::python::impl::PyMap:

Collaboration graph
[legend]

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

PyMapImplBasepimpl_

Static Private Attributes

static PyMappingMethods pyMappingMethods
static bool isInitialized = false

Detailed Description

PyMap.

Object for interfacing maps with Python

Definition at line 115 of file pymap.h.


Member Typedef Documentation

typedef void lass::python::PyObjectPlus::TCppClass [inherited]

Definition at line 414 of file pyobject_plus.h.


Constructor & Destructor Documentation

template<typename M >
lass::python::impl::PyMap::PyMap ( M &  iStdMap  )  [inline]

Definition at line 131 of file pymap.h.

References lass::python::impl::fixObjectType().

template<typename M >
lass::python::impl::PyMap::PyMap ( const M &  iStdMap  )  [inline]

Definition at line 137 of file pymap.h.

References lass::python::impl::fixObjectType().

lass::python::impl::PyMap::~PyMap (  )  [virtual]

Definition at line 93 of file pymap.cpp.

References pimpl_.

lass::python::impl::PyMap::PyMap (  )  [private]

Definition at line 88 of file pymap.cpp.

References LASS_THROW.


Member Function Documentation

lass::python::impl::PyMap::PY_HEADER ( PyObjectPlus   )  [private]

virtual std::string lass::python::impl::PyMap::doPyStr ( void   )  [inline, virtual]

Reimplemented from lass::python::PyObjectPlus.

Definition at line 146 of file pymap.h.

virtual std::string lass::python::impl::PyMap::doPyRepr ( void   )  [inline, virtual]

Reimplemented from lass::python::PyObjectPlus.

Definition at line 147 of file pymap.h.

virtual TPyObjPtr lass::python::impl::PyMap::keys (  )  const [inline, virtual]

Definition at line 148 of file pymap.h.

virtual TPyObjPtr lass::python::impl::PyMap::values (  )  const [inline, virtual]

Definition at line 149 of file pymap.h.

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().

template<typename Container >
bool lass::python::impl::PyMap::pointsToSameContainer ( Container &  iO  )  [inline]

Definition at line 157 of file pymap.h.

void lass::python::impl::PyMap::initialize (  )  [static, private]


Field Documentation

PyMappingMethods lass::python::impl::PyMap::pyMappingMethods [static, private]

Initial value:

Definition at line 118 of file pymap.h.

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]

Definition at line 167 of file pymap.h.

Referenced by initialize().


The documentation for this class was generated from the following files:

Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo