library of assembled shared sources

http://lass.cocamware.com

lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy > Class Template Reference

#include <pysequence.h>

Inheritance diagram for lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >:

Inheritance graph
[legend]
Collaboration diagram for lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >:

Collaboration graph
[legend]

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_

Detailed Description

template<typename Container, typename ContainerOwnerShipPolicy = ContainerNotOwned<Container>>
class lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >

Definition at line 154 of file pysequence.h.


Constructor & Destructor Documentation

template<typename Container , typename ContainerOwnerShipPolicy = ContainerNotOwned<Container>>
lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequenceContainer ( typename ContainerOwnerShipPolicy::ContainerPtr  iC,
bool  iReadOnly = false 
) [inline]

Definition at line 157 of file pysequence.h.

template<typename Container , typename ContainerOwnerShipPolicy = ContainerNotOwned<Container>>
virtual lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::~PySequenceContainer (  )  [inline, virtual]


Member Function Documentation

template<typename Container , typename ContainerOwnerShipPolicy >
void lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::clear (  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
void lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::reserve ( int  iAmount  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
Py_ssize_t lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Length (  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
PyObject * lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Concat ( PyObject *  bb  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
PyObject * lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Repeat ( Py_ssize_t  n  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
PyObject * lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Item ( Py_ssize_t  i  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
PyObject * lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Slice ( Py_ssize_t  ilow,
Py_ssize_t  ihigh 
) [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssItem ( Py_ssize_t  i,
PyObject *  v 
) [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_AssSlice ( Py_ssize_t  ilow,
Py_ssize_t  ihigh,
PyObject *  v 
) [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_Contains ( PyObject *  el  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_InplaceConcat ( PyObject *  other  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
int lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::PySequence_InplaceRepeat ( Py_ssize_t  n  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
void lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::append ( PyObject *  i  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
TPyObjPtr lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pop ( int  i  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy = ContainerNotOwned<Container>>
virtual bool lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pointsToSameContainer ( void *  iO  )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
std::string lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pyStr ( void   )  [inline, virtual]

template<typename Container , typename ContainerOwnerShipPolicy >
std::string lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::pyRepr ( void   )  [inline, virtual]


Field Documentation

template<typename Container , typename ContainerOwnerShipPolicy = ContainerNotOwned<Container>>
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().

template<typename Container , typename ContainerOwnerShipPolicy = ContainerNotOwned<Container>>
bool lass::python::impl::PySequenceContainer< Container, ContainerOwnerShipPolicy >::readOnly_ [private]


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

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