library of assembled shared sources |
http://lass.cocamware.com |
#include <pysequence.h>
Public Types | |
typedef void | TCppClass |
Public Member Functions | |
template<typename Container > | |
PySequence (Container &iCont) | |
template<typename Container > | |
PySequence (const Container &iCont) | |
virtual | ~PySequence () |
virtual std::string | doPyStr (void) |
virtual std::string | doPyRepr (void) |
virtual void | append (PyObject *i) |
virtual void | clear () |
virtual void | reserve (int iAmount) |
virtual TPyObjPtr | pop (int i) |
template<typename Container > | |
bool | pointsToSameContainer (Container &iO) |
Static Public Member Functions | |
static Py_ssize_t | PySequence_Length (PyObject *iPO) |
static PyObject * | PySequence_Concat (PyObject *a, PyObject *bb) |
static PyObject * | PySequence_Repeat (PyObject *a, Py_ssize_t n) |
static PyObject * | PySequence_Item (PyObject *a, Py_ssize_t i) |
static PyObject * | PySequence_Slice (PyObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) |
static int | PySequence_AssItem (PyObject *a, Py_ssize_t i, PyObject *v) |
static int | PySequence_AssSlice (PyObject *a, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) |
static int | PySequence_Contains (PyObject *a, PyObject *el) |
static PyObject * | PySequence_InplaceConcat (PyObject *self, PyObject *other) |
static PyObject * | PySequence_InplaceRepeat (PyObject *self, Py_ssize_t n) |
Private Member Functions | |
PY_HEADER (PyObjectPlus) | |
PySequence () | |
Static Private Member Functions | |
static void | initialize () |
Private Attributes | |
PySequenceImplBase * | pimpl_ |
Static Private Attributes | |
static PySequenceMethods | pySequenceMethods |
static bool | isInitialized = false |
Object for interfacing sequence-like objects with Python
Definition at line 187 of file pysequence.h.
typedef void lass::python::PyObjectPlus::TCppClass [inherited] |
Definition at line 414 of file pyobject_plus.h.
lass::python::impl::PySequence::PySequence | ( | Container & | iCont | ) | [inline] |
lass::python::impl::PySequence::PySequence | ( | const Container & | iCont | ) | [inline] |
lass::python::impl::PySequence::~PySequence | ( | ) | [virtual] |
Definition at line 91 of file pysequence.cpp.
lass::python::impl::PySequence::PySequence | ( | ) | [private] |
lass::python::impl::PySequence::PY_HEADER | ( | PyObjectPlus | ) | [private] |
virtual std::string lass::python::impl::PySequence::doPyStr | ( | void | ) | [inline, virtual] |
virtual std::string lass::python::impl::PySequence::doPyRepr | ( | void | ) | [inline, virtual] |
virtual void lass::python::impl::PySequence::append | ( | PyObject * | i | ) | [inline, virtual] |
Definition at line 210 of file pysequence.h.
virtual void lass::python::impl::PySequence::clear | ( | ) | [inline, virtual] |
Definition at line 211 of file pysequence.h.
virtual void lass::python::impl::PySequence::reserve | ( | int | iAmount | ) | [inline, virtual] |
Definition at line 212 of file pysequence.h.
virtual TPyObjPtr lass::python::impl::PySequence::pop | ( | int | i | ) | [inline, virtual] |
Definition at line 213 of file pysequence.h.
Py_ssize_t lass::python::impl::PySequence::PySequence_Length | ( | PyObject * | iPO | ) | [static] |
Definition at line 115 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_Length().
PyObject * lass::python::impl::PySequence::PySequence_Concat | ( | PyObject * | a, | |
PyObject * | bb | |||
) | [static] |
Definition at line 119 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_Concat().
PyObject * lass::python::impl::PySequence::PySequence_Repeat | ( | PyObject * | a, | |
Py_ssize_t | n | |||
) | [static] |
Definition at line 123 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_Repeat().
PyObject * lass::python::impl::PySequence::PySequence_Item | ( | PyObject * | a, | |
Py_ssize_t | i | |||
) | [static] |
Definition at line 127 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_Item().
PyObject * lass::python::impl::PySequence::PySequence_Slice | ( | PyObject * | a, | |
Py_ssize_t | ilow, | |||
Py_ssize_t | ihigh | |||
) | [static] |
Definition at line 131 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_Slice().
int lass::python::impl::PySequence::PySequence_AssItem | ( | PyObject * | a, | |
Py_ssize_t | i, | |||
PyObject * | v | |||
) | [static] |
Definition at line 135 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_AssItem().
int lass::python::impl::PySequence::PySequence_AssSlice | ( | PyObject * | a, | |
Py_ssize_t | ilow, | |||
Py_ssize_t | ihigh, | |||
PyObject * | v | |||
) | [static] |
Definition at line 139 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_AssSlice().
int lass::python::impl::PySequence::PySequence_Contains | ( | PyObject * | a, | |
PyObject * | el | |||
) | [static] |
Definition at line 143 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_Contains().
PyObject * lass::python::impl::PySequence::PySequence_InplaceConcat | ( | PyObject * | self, | |
PyObject * | other | |||
) | [static] |
Definition at line 147 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_InplaceConcat().
PyObject * lass::python::impl::PySequence::PySequence_InplaceRepeat | ( | PyObject * | self, | |
Py_ssize_t | n | |||
) | [static] |
Definition at line 155 of file pysequence.cpp.
References pimpl_, and lass::python::impl::PySequenceImplBase::PySequence_InplaceRepeat().
bool lass::python::impl::PySequence::pointsToSameContainer | ( | Container & | iO | ) | [inline] |
Definition at line 228 of file pysequence.h.
void lass::python::impl::PySequence::initialize | ( | ) | [static, private] |
Definition at line 95 of file pysequence.cpp.
References lass::python::impl::finalizePyType(), isInitialized, and LASS_ENFORCE.
PySequenceMethods lass::python::impl::PySequence::pySequenceMethods [static, private] |
Initial value:
{ (lenfunc)PySequence_Length, (binaryfunc)PySequence_Concat, (ssizeargfunc)PySequence_Repeat, (ssizeargfunc)PySequence_Item, (ssizessizeargfunc)PySequence_Slice, (ssizeobjargproc)PySequence_AssItem, (ssizessizeobjargproc)PySequence_AssSlice, (objobjproc)PySequence_Contains, (binaryfunc)PySequence_InplaceConcat, (ssizeargfunc)PySequence_InplaceRepeat, }
Definition at line 190 of file pysequence.h.
bool lass::python::impl::PySequence::isInitialized = false [static, private] |
Definition at line 234 of file pysequence.h.
Referenced by PySequence_AssItem(), PySequence_AssSlice(), PySequence_Concat(), PySequence_Contains(), PySequence_InplaceConcat(), PySequence_InplaceRepeat(), PySequence_Item(), PySequence_Length(), PySequence_Repeat(), and PySequence_Slice().
Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by 1.5.7.1 |