Public Types | |
typedef OutIterator | out_iterator |
typedef std::iterator_traits < out_iterator >::value_type | value_type |
typedef SwigPyIterator_T < out_iterator > | self_type |
Public Member Functions | |
SwigPyIterator_T (out_iterator curr, PyObject *seq) | |
const out_iterator & | get_current () const |
bool | equal (const SwigPyIterator &iter) const |
ptrdiff_t | distance (const SwigPyIterator &iter) const |
Protected Attributes | |
out_iterator | current |
Definition at line 3991 of file SyFi_wrap.cc.
typedef OutIterator swig::SwigPyIterator_T< OutIterator >::out_iterator |
Reimplemented in swig::SwigPyIteratorOpen_T< OutIterator, ValueType, FromOper >, swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >, swig::SwigPyIteratorClosed_T< OutIterator, typename OutIterator::value_type, FromOper >, and swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >.
Definition at line 3994 of file SyFi_wrap.cc.
typedef SwigPyIterator_T<out_iterator> swig::SwigPyIterator_T< OutIterator >::self_type |
Reimplemented in swig::SwigPyIteratorOpen_T< OutIterator, ValueType, FromOper >, swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >, swig::SwigPyIteratorClosed_T< OutIterator, typename OutIterator::value_type, FromOper >, and swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >.
Definition at line 3996 of file SyFi_wrap.cc.
typedef std::iterator_traits<out_iterator>::value_type swig::SwigPyIterator_T< OutIterator >::value_type |
Reimplemented in swig::SwigPyIteratorOpen_T< OutIterator, ValueType, FromOper >, swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >, swig::SwigPyIteratorClosed_T< OutIterator, typename OutIterator::value_type, FromOper >, and swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >.
Definition at line 3995 of file SyFi_wrap.cc.
swig::SwigPyIterator_T< OutIterator >::SwigPyIterator_T | ( | out_iterator | curr, | |
PyObject * | seq | |||
) | [inline] |
Definition at line 3998 of file SyFi_wrap.cc.
03999 : SwigPyIterator(seq), current(curr) 04000 { 04001 }
ptrdiff_t swig::SwigPyIterator_T< OutIterator >::distance | ( | const SwigPyIterator & | iter | ) | const [inline, virtual] |
Reimplemented from swig::SwigPyIterator.
Definition at line 4019 of file SyFi_wrap.cc.
Referenced by swig::SwigPyIterator_T< OutIterator >::distance().
04020 { 04021 const self_type *iters = dynamic_cast<const self_type *>(&iter); 04022 if (iters) { 04023 return std::distance(current, iters->get_current()); 04024 } else { 04025 throw std::invalid_argument("bad iterator type"); 04026 } 04027 }
bool swig::SwigPyIterator_T< OutIterator >::equal | ( | const SwigPyIterator & | iter | ) | const [inline, virtual] |
Reimplemented from swig::SwigPyIterator.
Definition at line 4009 of file SyFi_wrap.cc.
04010 { 04011 const self_type *iters = dynamic_cast<const self_type *>(&iter); 04012 if (iters) { 04013 return (current == iters->get_current()); 04014 } else { 04015 throw std::invalid_argument("bad iterator type"); 04016 } 04017 }
const out_iterator& swig::SwigPyIterator_T< OutIterator >::get_current | ( | ) | const [inline] |
Definition at line 4003 of file SyFi_wrap.cc.
Referenced by _wrap_ex_int_map_erase__SWIG_1(), _wrap_ex_int_map_erase__SWIG_2(), _wrap_exlist_erase__SWIG_0(), _wrap_exlist_erase__SWIG_1(), _wrap_exlist_insert__SWIG_0(), _wrap_exlist_insert__SWIG_1(), _wrap_exmap_erase__SWIG_1(), _wrap_exmap_erase__SWIG_2(), _wrap_exset_erase__SWIG_1(), _wrap_exset_erase__SWIG_2(), _wrap_exvector_erase__SWIG_0(), _wrap_exvector_erase__SWIG_1(), _wrap_exvector_insert__SWIG_0(), _wrap_exvector_insert__SWIG_1(), _wrap_symexlist_erase__SWIG_0(), _wrap_symexlist_erase__SWIG_1(), _wrap_symexlist_insert__SWIG_0(), _wrap_symexlist_insert__SWIG_1(), swig::SwigPyIterator_T< OutIterator >::distance(), and swig::SwigPyIterator_T< OutIterator >::equal().
04004 { 04005 return current; 04006 }
out_iterator swig::SwigPyIterator_T< OutIterator >::current [protected] |
Definition at line 4030 of file SyFi_wrap.cc.
Referenced by swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >::decr(), swig::SwigPyIteratorOpen_T< OutIterator, ValueType, FromOper >::decr(), swig::SwigPyIterator_T< OutIterator >::distance(), swig::SwigPyIterator_T< OutIterator >::equal(), swig::SwigPyIterator_T< OutIterator >::get_current(), swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >::incr(), swig::SwigPyIteratorOpen_T< OutIterator, ValueType, FromOper >::incr(), swig::SwigPyIteratorClosed_T< OutIterator, ValueType, FromOper >::value(), and swig::SwigPyIteratorOpen_T< OutIterator, ValueType, FromOper >::value().