#include <iterator.hpp>
Definition at line 230 of file iterator.hpp.
typedef empty_format FT [inherited] |
Definition at line 196 of file type_props.hpp.
finite_iterator_rep | ( | C * | a2, | |
nat | n2, | |||
const format< C > & | fm | |||
) | [inline] |
Definition at line 237 of file iterator.hpp.
Referenced by finite_iterator_rep< C >::clone().
00237 : 00238 Iterator_rep (fm), a(a2), n(n2), i(0), count(1) {} finite_iterator_rep (C* a2, nat n2, nat i2, nat count2, const Format& fm):
Definition at line 239 of file iterator.hpp.
00239 : 00240 Iterator_rep (fm), a(a2), n(n2), i(i2), count(count2) {} ~finite_iterator_rep () {
~finite_iterator_rep | ( | ) | [inline] |
Definition at line 241 of file iterator.hpp.
00241 { 00242 if ((--count) == 0) mmx_delete<C> (a, n); }
void advance | ( | ) | [inline, protected, virtual] |
iterator_rep<C>* clone | ( | ) | [inline, protected, virtual] |
Reimplemented from iterator_rep< C >.
Definition at line 250 of file iterator.hpp.
References finite_iterator_rep< C >::finite_iterator_rep(), and Format.
00250 { 00251 return new finite_iterator_rep (a, n, i, count+1, (Format) *this); }
C current | ( | ) | [inline, protected, virtual] |
empty_format format1 | ( | ) | const [inline, inherited] |
Definition at line 189 of file type_props.hpp.
Referenced by mmx::get_format1().
00189 { return empty_format (); }
empty_format format2 | ( | ) | const [inline, inherited] |
Definition at line 190 of file type_props.hpp.
Referenced by mmx::get_format2().
00190 { return empty_format (); }
empty_format format3 | ( | ) | const [inline, inherited] |
Definition at line 191 of file type_props.hpp.
00191 { return empty_format (); }
bool is_busy | ( | ) | [inline, protected, virtual] |
virtual bool is_done | ( | ) | [inline, protected, virtual, inherited] |
Definition at line 41 of file iterator.hpp.
00041 { return !is_busy (); }
bool is_init | ( | ) | [inline, protected, virtual] |
Reimplemented from iterator_rep< C >.
Definition at line 246 of file iterator.hpp.
void regress | ( | ) | [inline, protected, virtual] |
empty_format rfm | ( | ) | const [inline, inherited] |
Definition at line 188 of file type_props.hpp.
C sample | ( | ) | const [inline, inherited] |
Definition at line 202 of file type_props.hpp.
Referenced by mmx::get_sample().
00202 { return C(); }
Definition at line 201 of file type_props.hpp.
Definition at line 97 of file iterator.hpp.
Referenced by join_iterator_rep< C >::advance(), join_iterator_rep< C >::current(), lazy_iterator_rep< C, T >::is_busy(), and join_iterator_rep< C >::is_busy().
00097 { return it.rep->is_busy (); }
Definition at line 100 of file iterator.hpp.
Referenced by lazy_iterator_rep< C, T >::clone(), and join_iterator_rep< C >::clone().
00100 { return it.rep->clone (); }
Definition at line 98 of file iterator.hpp.
00098 { return it.rep->is_done (); }
Definition at line 184 of file iterator.hpp.
00195 : public Iterator_rep {
Definition at line 185 of file iterator.hpp.
00195 : public Iterator_rep {
Definition at line 99 of file iterator.hpp.
Referenced by join_iterator_rep< C >::is_init(), and join_iterator_rep< C >::regress().
00099 { return it.rep->is_init (); }
Definition at line 55 of file iterator.hpp.