SyFi
0.3
|
Public Member Functions | |
virtual | ~SwigPyIterator () |
virtual PyObject * | value () const =0 |
virtual SwigPyIterator * | incr (size_t n=1)=0 |
virtual SwigPyIterator * | decr (size_t=1) |
virtual ptrdiff_t | distance (const SwigPyIterator &) const |
virtual bool | equal (const SwigPyIterator &) const |
virtual SwigPyIterator * | copy () const =0 |
PyObject * | next () |
PyObject * | __next__ () |
PyObject * | previous () |
SwigPyIterator * | advance (ptrdiff_t n) |
bool | operator== (const SwigPyIterator &x) const |
bool | operator!= (const SwigPyIterator &x) const |
SwigPyIterator & | operator+= (ptrdiff_t n) |
SwigPyIterator & | operator-= (ptrdiff_t n) |
SwigPyIterator * | operator+ (ptrdiff_t n) const |
SwigPyIterator * | operator- (ptrdiff_t n) const |
ptrdiff_t | operator- (const SwigPyIterator &x) const |
Static Public Member Functions | |
static swig_type_info * | descriptor () |
Protected Member Functions | |
SwigPyIterator (PyObject *seq) | |
Private Attributes | |
SwigPtr_PyObject | _seq |
Definition at line 3564 of file SyFiPYTHON_wrap.cxx.
swig::SwigPyIterator::SwigPyIterator | ( | PyObject * | seq | ) | [inline, protected] |
Definition at line 3569 of file SyFiPYTHON_wrap.cxx.
: _seq(seq) { }
virtual swig::SwigPyIterator::~SwigPyIterator | ( | ) | [inline, virtual] |
Definition at line 3574 of file SyFiPYTHON_wrap.cxx.
{}
PyObject* swig::SwigPyIterator::__next__ | ( | ) | [inline] |
Definition at line 3612 of file SyFiPYTHON_wrap.cxx.
Referenced by _wrap_SwigPyIterator___next__().
{ return next(); }
SwigPyIterator* swig::SwigPyIterator::advance | ( | ptrdiff_t | n | ) | [inline] |
Definition at line 3626 of file SyFiPYTHON_wrap.cxx.
Referenced by _wrap_SwigPyIterator_advance(), operator+(), and operator-().
virtual SwigPyIterator* swig::SwigPyIterator::copy | ( | ) | const [pure virtual] |
virtual SwigPyIterator* swig::SwigPyIterator::decr | ( | size_t | = 1 | ) | [inline, virtual] |
Reimplemented in swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >, swig::SwigPyIteratorClosed_T< OutIterator, typename OutIterator::value_type, FromOper >, and swig::SwigPyIteratorOpen_T< OutIterator, ValueType, FromOper >.
Definition at line 3583 of file SyFiPYTHON_wrap.cxx.
Referenced by _wrap_SwigPyIterator_decr__SWIG_0(), and _wrap_SwigPyIterator_decr__SWIG_1().
{
throw stop_iteration();
}
static swig_type_info* swig::SwigPyIterator::descriptor | ( | ) | [inline, static] |
Definition at line 3666 of file SyFiPYTHON_wrap.cxx.
References SWIG_TypeQuery.
Referenced by _wrap_ex_int_map_begin(), _wrap_ex_int_map_end(), _wrap_ex_int_map_erase(), _wrap_ex_int_map_erase__SWIG_1(), _wrap_ex_int_map_erase__SWIG_2(), _wrap_ex_int_map_find(), _wrap_ex_int_map_lower_bound(), _wrap_ex_int_map_rbegin(), _wrap_ex_int_map_rend(), _wrap_ex_int_map_upper_bound(), _wrap_exlist_begin(), _wrap_exlist_end(), _wrap_exlist_erase__SWIG_0(), _wrap_exlist_erase__SWIG_1(), _wrap_exlist_insert__SWIG_0(), _wrap_exlist_insert__SWIG_1(), _wrap_exlist_rbegin(), _wrap_exlist_rend(), _wrap_exmap_begin(), _wrap_exmap_end(), _wrap_exmap_erase(), _wrap_exmap_erase__SWIG_1(), _wrap_exmap_erase__SWIG_2(), _wrap_exmap_find(), _wrap_exmap_lower_bound(), _wrap_exmap_rbegin(), _wrap_exmap_rend(), _wrap_exmap_upper_bound(), _wrap_exset_begin(), _wrap_exset_end(), _wrap_exset_equal_range(), _wrap_exset_erase(), _wrap_exset_erase__SWIG_1(), _wrap_exset_erase__SWIG_2(), _wrap_exset_find(), _wrap_exset_insert(), _wrap_exset_lower_bound(), _wrap_exset_rbegin(), _wrap_exset_rend(), _wrap_exset_upper_bound(), _wrap_exvector_begin(), _wrap_exvector_end(), _wrap_exvector_erase__SWIG_0(), _wrap_exvector_erase__SWIG_1(), _wrap_exvector_insert__SWIG_0(), _wrap_exvector_insert__SWIG_1(), _wrap_exvector_rbegin(), _wrap_exvector_rend(), _wrap_symexlist_begin(), _wrap_symexlist_end(), _wrap_symexlist_erase__SWIG_0(), _wrap_symexlist_erase__SWIG_1(), _wrap_symexlist_insert__SWIG_0(), _wrap_symexlist_insert__SWIG_1(), _wrap_symexlist_rbegin(), and _wrap_symexlist_rend().
{ static int init = 0; static swig_type_info* desc = 0; if (!init) { desc = SWIG_TypeQuery("swig::SwigPyIterator *"); init = 1; } return desc; }
virtual ptrdiff_t swig::SwigPyIterator::distance | ( | const SwigPyIterator & | ) | const [inline, virtual] |
Reimplemented in swig::SwigPyIterator_T< OutIterator >.
Definition at line 3589 of file SyFiPYTHON_wrap.cxx.
Referenced by _wrap_SwigPyIterator_distance(), and operator-().
{ throw std::invalid_argument("operation not supported"); }
virtual bool swig::SwigPyIterator::equal | ( | const SwigPyIterator & | ) | const [inline, virtual] |
Reimplemented in swig::SwigPyIterator_T< OutIterator >.
Definition at line 3594 of file SyFiPYTHON_wrap.cxx.
{ throw std::invalid_argument("operation not supported"); }
virtual SwigPyIterator* swig::SwigPyIterator::incr | ( | size_t | n = 1 | ) | [pure virtual] |
Implemented in swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >, swig::SwigPyIteratorClosed_T< OutIterator, typename OutIterator::value_type, FromOper >, and swig::SwigPyIteratorOpen_T< OutIterator, ValueType, FromOper >.
Referenced by _wrap_SwigPyIterator_incr__SWIG_0(), and _wrap_SwigPyIterator_incr__SWIG_1().
PyObject* swig::SwigPyIterator::next | ( | ) | [inline] |
Definition at line 3602 of file SyFiPYTHON_wrap.cxx.
References SWIG_PYTHON_THREAD_BEGIN_BLOCK, and SWIG_PYTHON_THREAD_END_BLOCK.
Referenced by _wrap_SwigPyIterator_next().
{ SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads PyObject *obj = value(); incr(); SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads return obj; }
bool swig::SwigPyIterator::operator!= | ( | const SwigPyIterator & | x | ) | const [inline] |
Definition at line 3636 of file SyFiPYTHON_wrap.cxx.
{ return ! operator==(x); }
SwigPyIterator* swig::SwigPyIterator::operator+ | ( | ptrdiff_t | n | ) | const [inline] |
SwigPyIterator& swig::SwigPyIterator::operator+= | ( | ptrdiff_t | n | ) | [inline] |
Definition at line 3641 of file SyFiPYTHON_wrap.cxx.
SwigPyIterator* swig::SwigPyIterator::operator- | ( | ptrdiff_t | n | ) | const [inline] |
ptrdiff_t swig::SwigPyIterator::operator- | ( | const SwigPyIterator & | x | ) | const [inline] |
Definition at line 3661 of file SyFiPYTHON_wrap.cxx.
References distance().
{ return x.distance(*this); }
SwigPyIterator& swig::SwigPyIterator::operator-= | ( | ptrdiff_t | n | ) | [inline] |
Definition at line 3646 of file SyFiPYTHON_wrap.cxx.
bool swig::SwigPyIterator::operator== | ( | const SwigPyIterator & | x | ) | const [inline] |
Definition at line 3631 of file SyFiPYTHON_wrap.cxx.
{ return equal(x); }
PyObject* swig::SwigPyIterator::previous | ( | ) | [inline] |
Definition at line 3617 of file SyFiPYTHON_wrap.cxx.
References SWIG_PYTHON_THREAD_BEGIN_BLOCK, and SWIG_PYTHON_THREAD_END_BLOCK.
Referenced by _wrap_SwigPyIterator_previous().
{ SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads decr(); PyObject *obj = value(); SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads return obj; }
virtual PyObject* swig::SwigPyIterator::value | ( | ) | const [pure virtual] |
SwigPtr_PyObject swig::SwigPyIterator::_seq [private] |
Definition at line 3566 of file SyFiPYTHON_wrap.cxx.