|
basix_doc 0.1
|
#include <table.hpp>
| table_iterator_rep | ( | const table< C, T, V > & | t2, |
| nat | i2, | ||
| const list< pair< T, C > > & | l2 | ||
| ) | [inline, protected] |
Definition at line 383 of file table.hpp.
Referenced by table_iterator_rep< C, T, V >::clone().
:
iterator_rep<pair<T,C> > (format<pair<T,C> > (CF1 (t2), CF2 (t2))),
t(t2), i(i2), l(l2) {}
| table_iterator_rep | ( | const table< C, T, V > & | t2 | ) | [inline] |
Definition at line 400 of file table.hpp.
References table_iterator_rep< C, T, V >::spool().
:
t(t2), i(0), l(t->a[0]) { spool (); }
| void advance | ( | ) | [inline, protected] |
Definition at line 394 of file table.hpp.
References mmx::read_cdr(), and table_iterator_rep< C, T, V >::spool().
Definition at line 396 of file table.hpp.
References table_iterator_rep< C, T, V >::table_iterator_rep().
{
return new table_iterator_rep (t, i, l); }
| void spool | ( | ) | [inline, protected] |
Definition at line 386 of file table.hpp.
References mmx::is_nil().
Referenced by table_iterator_rep< C, T, V >::advance(), and table_iterator_rep< C, T, V >::table_iterator_rep().
{
while (is_nil (l)) {
i++;
if (i >= t->n) break;
l= t->a[i];
}
}