library of assembled shared sources |
http://lass.cocamware.com |
#include <pysequence.h>
Public Member Functions | |
PySequenceContainer (typename ContainerOwnerShipPolicy::ContainerPtr iC, bool iReadOnly=false) | |
virtual | ~PySequenceContainer () |
virtual void | clear () |
virtual void | reserve (int iAmount) |
virtual Py_ssize_t | PySequence_Length () |
virtual PyObject * | PySequence_Concat (PyObject *bb) |
virtual PyObject * | PySequence_Repeat (Py_ssize_t n) |
virtual PyObject * | PySequence_Item (Py_ssize_t i) |
virtual PyObject * | PySequence_Slice (Py_ssize_t ilow, Py_ssize_t ihigh) |
virtual int | PySequence_AssItem (Py_ssize_t i, PyObject *v) |
virtual int | PySequence_AssSlice (Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) |
virtual int | PySequence_Contains (PyObject *el) |
virtual int | PySequence_InplaceConcat (PyObject *other) |
virtual int | PySequence_InplaceRepeat (Py_ssize_t n) |
virtual void | append (PyObject *i) |
virtual TPyObjPtr | pop (int i) |
virtual bool | pointsToSameContainer (void *iO) |
virtual std::string | pyStr (void) |
virtual std::string | pyRepr (void) |
Private Attributes | |
ContainerOwnerShipPolicy::ContainerPtr | cont_ |
bool | readOnly_ |
Definition at line 154 of file pysequence.h.
lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequenceContainer | ( | typename ContainerOwnerShipPolicy::ContainerPtr | iC, | |
bool | iReadOnly = false | |||
) | [inline] |
Definition at line 157 of file pysequence.h.
virtual lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::~PySequenceContainer | ( | ) | [inline, virtual] |
Definition at line 158 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_.
void lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::clear | ( | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 273 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_.
void lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::reserve | ( | int | iAmount | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 278 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_.
Py_ssize_t lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Length | ( | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 283 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, LASS_ASSERT, and Py_ssize_t.
Referenced by lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssItem().
PyObject * lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Concat | ( | PyObject * | bb | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 290 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, lass::python::fromSharedPtrToNakedCast(), lass::python::impl::pyBuildList(), and lass::python::impl::pyGetSequenceObject().
PyObject * lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Repeat | ( | Py_ssize_t | n | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 304 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, lass::python::fromSharedPtrToNakedCast(), lass::python::impl::pyBuildList(), and lass::stde::repeat_c().
PyObject * lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Item | ( | Py_ssize_t | i | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 310 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, LASS_ASSERT, and Py_ssize_t.
PyObject * lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Slice | ( | Py_ssize_t | ilow, | |
Py_ssize_t | ihigh | |||
) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 323 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, lass::python::fromSharedPtrToNakedCast(), LASS_ASSERT, Py_ssize_t, and lass::python::impl::pyBuildList().
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssItem | ( | Py_ssize_t | i, | |
PyObject * | v | |||
) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 343 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssSlice(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Length(), and lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::readOnly_.
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssSlice | ( | Py_ssize_t | ilow, | |
Py_ssize_t | ihigh, | |||
PyObject * | v | |||
) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 360 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, lass::python::impl::pyGetSequenceObject(), and lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::readOnly_.
Referenced by lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssItem().
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Contains | ( | PyObject * | el | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 381 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_.
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_InplaceConcat | ( | PyObject * | other | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 396 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, lass::python::impl::pyGetSequenceObject(), and lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::readOnly_.
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_InplaceRepeat | ( | Py_ssize_t | n | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 415 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, lass::stde::inplace_repeat_c(), and lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::readOnly_.
void lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::append | ( | PyObject * | i | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 426 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, and lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::readOnly_.
TPyObjPtr lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pop | ( | int | i | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 443 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_, and lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::readOnly_.
virtual bool lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pointsToSameContainer | ( | void * | iO | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 174 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_.
std::string lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pyStr | ( | void | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 456 of file pysequence.h.
References lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pyRepr().
std::string lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pyRepr | ( | void | ) | [inline, virtual] |
Implements lass::python::impl::PySequenceImplBase.
Definition at line 462 of file pysequence.h.
Referenced by lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pyStr().
ContainerOwnerShipPolicy::ContainerPtr lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::cont_ [private] |
Definition at line 181 of file pysequence.h.
Referenced by lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::append(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::clear(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pointsToSameContainer(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pop(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssItem(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssSlice(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Concat(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Contains(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_InplaceConcat(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_InplaceRepeat(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Item(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Length(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Repeat(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Slice(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::reserve(), and lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::~PySequenceContainer().
bool lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::readOnly_ [private] |
Definition at line 182 of file pysequence.h.
Referenced by lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::append(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pop(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssItem(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssSlice(), lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_InplaceConcat(), and lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_InplaceRepeat().
Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by 1.5.7.1 |