#include <mmc_glue.hpp>
Definition at line 605 of file mmc_glue.hpp.
typedef empty_format FT [inherited] |
Definition at line 196 of file type_props.hpp.
filter_iterator_rep | ( | const function_1< bool, typename argument_helper< T >::arg_type > & | cond2, | |
const iterator< T > & | it2 | |||
) | [inline] |
Definition at line 613 of file mmc_glue.hpp.
References filter_iterator_rep< T >::spool().
Referenced by filter_iterator_rep< T >::clone().
00614 : 00615 iterator_rep<T> (CF (it)), cond (cond2), it (it2) { spool (); } filter_iterator_rep (const function_1<bool,Argument(T) >& cond2,
filter_iterator_rep | ( | const function_1< bool, typename argument_helper< T >::arg_type > & | cond2, | |
const iterator< T > & | it2, | |||
const format< T > & | fm | |||
) | [inline] |
Definition at line 616 of file mmc_glue.hpp.
References filter_iterator_rep< T >::spool().
00617 : 00618 iterator_rep<T> (fm), cond (cond2), it (it2) { spool (); }
void advance | ( | ) | [inline, protected, virtual] |
Implements iterator_rep< T >.
Definition at line 622 of file mmc_glue.hpp.
References filter_iterator_rep< T >::spool().
00622 { ++it; spool (); }
iterator_rep<T>* clone | ( | ) | [inline, protected, virtual] |
Reimplemented from iterator_rep< T >.
Definition at line 624 of file mmc_glue.hpp.
References iterator_rep< T >::copy, and filter_iterator_rep< T >::filter_iterator_rep().
00624 { 00625 return new filter_iterator_rep (cond, copy (it)); }
T 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] |
Implements iterator_rep< T >.
Definition at line 621 of file mmc_glue.hpp.
References iterator_rep< T >::busy.
00621 { return busy (it); }
virtual bool is_done | ( | ) | [inline, protected, virtual, inherited] |
Definition at line 41 of file iterator.hpp.
00041 { return !is_busy (); }
virtual bool is_init | ( | ) | [inline, protected, virtual, inherited] |
Definition at line 42 of file iterator.hpp.
00042 { 00043 ERROR ("not implemented (is_init)"); return false; }
virtual void regress | ( | ) | [inline, protected, virtual, inherited] |
Definition at line 45 of file iterator.hpp.
00045 { 00046 ERROR ("not implemented (regress)"); }
empty_format rfm | ( | ) | const [inline, inherited] |
Definition at line 188 of file type_props.hpp.
T sample | ( | ) | const [inline, inherited] |
Definition at line 202 of file type_props.hpp.
00202 { return C(); }
void spool | ( | ) | [inline, protected] |
Definition at line 610 of file mmc_glue.hpp.
References iterator_rep< T >::busy.
Referenced by filter_iterator_rep< T >::advance(), and filter_iterator_rep< T >::filter_iterator_rep().
00610 { while (busy (it) && !cond (*it)) ++it; }
Definition at line 201 of file type_props.hpp.
bool busy | ( | const iterator< T > & | it | ) | [friend, inherited] |
Definition at line 97 of file iterator.hpp.
Referenced by unnest_iterator_rep< T >::is_busy(), filter_iterator_rep< T >::is_busy(), unnest_iterator_rep< T >::spool(), and filter_iterator_rep< T >::spool().
Definition at line 100 of file iterator.hpp.
Referenced by unnest_iterator_rep< T >::clone(), and filter_iterator_rep< T >::clone().
bool done | ( | const iterator< T > & | it | ) | [friend, inherited] |
Definition at line 98 of file iterator.hpp.
Definition at line 184 of file iterator.hpp.
00195 : public Iterator_rep {
Definition at line 185 of file iterator.hpp.
00195 : public Iterator_rep {
bool init | ( | const iterator< T > & | it | ) | [friend, inherited] |
Definition at line 99 of file iterator.hpp.
Definition at line 55 of file iterator.hpp.