Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Types | Public Member Functions | Private Attributes
swig::PySequence_InputIterator< T, Reference > Struct Template Reference

List of all members.

Public Types

typedef
PySequence_InputIterator< T,
Reference > 
self
typedef
std::random_access_iterator_tag 
iterator_category
typedef Reference reference
typedef T value_type
typedef T * pointer
typedef int difference_type

Public Member Functions

 PySequence_InputIterator ()
 PySequence_InputIterator (PyObject *seq, int index)
reference operator* () const
PySequence_ArrowProxy< T > operator-> () const
bool operator== (const self &ri) const
bool operator!= (const self &ri) const
selfoperator++ ()
selfoperator-- ()
selfoperator+= (difference_type n)
self operator+ (difference_type n) const
selfoperator-= (difference_type n)
self operator- (difference_type n) const
difference_type operator- (const self &ri) const
bool operator< (const self &ri) const
reference operator[] (difference_type n) const

Private Attributes

PyObject * _seq
difference_type _index

Detailed Description

template<class T, class Reference>
struct swig::PySequence_InputIterator< T, Reference >

Definition at line 3902 of file arc_wrap.cpp.


Member Typedef Documentation

template<class T , class Reference >
typedef int swig::PySequence_InputIterator< T, Reference >::difference_type

Definition at line 3910 of file arc_wrap.cpp.

template<class T , class Reference >
typedef std::random_access_iterator_tag swig::PySequence_InputIterator< T, Reference >::iterator_category

Definition at line 3906 of file arc_wrap.cpp.

template<class T , class Reference >
typedef T* swig::PySequence_InputIterator< T, Reference >::pointer

Definition at line 3909 of file arc_wrap.cpp.

template<class T , class Reference >
typedef Reference swig::PySequence_InputIterator< T, Reference >::reference

Definition at line 3907 of file arc_wrap.cpp.

template<class T , class Reference >
typedef PySequence_InputIterator<T, Reference > swig::PySequence_InputIterator< T, Reference >::self

Definition at line 3904 of file arc_wrap.cpp.

template<class T , class Reference >
typedef T swig::PySequence_InputIterator< T, Reference >::value_type

Definition at line 3908 of file arc_wrap.cpp.


Constructor & Destructor Documentation

template<class T , class Reference >
swig::PySequence_InputIterator< T, Reference >::PySequence_InputIterator ( ) [inline]

Definition at line 3912 of file arc_wrap.cpp.

    {
    }
template<class T , class Reference >
swig::PySequence_InputIterator< T, Reference >::PySequence_InputIterator ( PyObject *  seq,
int  index 
) [inline]

Definition at line 3916 of file arc_wrap.cpp.

      : _seq(seq), _index(index)
    {
    }

Member Function Documentation

template<class T , class Reference >
bool swig::PySequence_InputIterator< T, Reference >::operator!= ( const self ri) const [inline]

Definition at line 3936 of file arc_wrap.cpp.

    {
      return !(operator==(ri));
    }

Here is the call graph for this function:

template<class T , class Reference >
reference swig::PySequence_InputIterator< T, Reference >::operator* ( ) const [inline]

Definition at line 3921 of file arc_wrap.cpp.

    {
      return reference(_seq, _index);
    }

Here is the caller graph for this function:

template<class T , class Reference >
self swig::PySequence_InputIterator< T, Reference >::operator+ ( difference_type  n) const [inline]

Definition at line 3959 of file arc_wrap.cpp.

    {
      return self(_seq, _index + n);
    }
template<class T , class Reference >
self& swig::PySequence_InputIterator< T, Reference >::operator++ ( ) [inline]

Definition at line 3941 of file arc_wrap.cpp.

    {
      ++_index;
      return *this;
    }
template<class T , class Reference >
self& swig::PySequence_InputIterator< T, Reference >::operator+= ( difference_type  n) [inline]

Definition at line 3953 of file arc_wrap.cpp.

    {
      _index += n;
      return *this;
    }
template<class T , class Reference >
self swig::PySequence_InputIterator< T, Reference >::operator- ( difference_type  n) const [inline]

Definition at line 3970 of file arc_wrap.cpp.

    {
      return self(_seq, _index - n);
    }
template<class T , class Reference >
difference_type swig::PySequence_InputIterator< T, Reference >::operator- ( const self ri) const [inline]

Definition at line 3975 of file arc_wrap.cpp.

    {
      return _index - ri._index;
    }
template<class T , class Reference >
self& swig::PySequence_InputIterator< T, Reference >::operator-- ( ) [inline]

Definition at line 3947 of file arc_wrap.cpp.

    {
      --_index;
      return *this;
    }
template<class T , class Reference >
self& swig::PySequence_InputIterator< T, Reference >::operator-= ( difference_type  n) [inline]

Definition at line 3964 of file arc_wrap.cpp.

    {
      _index -= n;
      return *this;
    }
template<class T , class Reference >
PySequence_ArrowProxy<T> swig::PySequence_InputIterator< T, Reference >::operator-> ( ) const [inline]

Definition at line 3927 of file arc_wrap.cpp.

                       {
      return PySequence_ArrowProxy<T>(operator*());
    }

Here is the call graph for this function:

template<class T , class Reference >
bool swig::PySequence_InputIterator< T, Reference >::operator< ( const self ri) const [inline]

Definition at line 3980 of file arc_wrap.cpp.

    {
      return _index < ri._index;
    }
template<class T , class Reference >
bool swig::PySequence_InputIterator< T, Reference >::operator== ( const self ri) const [inline]

Definition at line 3931 of file arc_wrap.cpp.

    {
      return (_index == ri._index) && (_seq == ri._seq);
    }

Here is the caller graph for this function:

template<class T , class Reference >
reference swig::PySequence_InputIterator< T, Reference >::operator[] ( difference_type  n) const [inline]

Definition at line 3986 of file arc_wrap.cpp.

    {
      return reference(_seq, _index + n);
    }

Member Data Documentation

template<class T , class Reference >
difference_type swig::PySequence_InputIterator< T, Reference >::_index [private]

Definition at line 3993 of file arc_wrap.cpp.

template<class T , class Reference >
PyObject* swig::PySequence_InputIterator< T, Reference >::_seq [private]

Definition at line 3992 of file arc_wrap.cpp.


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