extract_iterator_rep Class Reference

Inheritance diagram for extract_iterator_rep:
iterator_rep< generic > rep_struct format< C > empty_format

List of all members.

Public Types

Public Member Functions

Public Attributes

Protected Member Functions

Friends


Detailed Description

Definition at line 233 of file glue_control.cpp.


Member Typedef Documentation

typedef empty_format FT [inherited]

Reimplemented from format< C >.

Reimplemented in unnest_iterator_rep< class >.


Constructor & Destructor Documentation

extract_iterator_rep ( const evaluator e,
const generic v,
const iterator< generic > &  i,
const generic c,
const generic b 
) [inline]

Definition at line 262 of file glue_control.cpp.

00264                                          :
00265       ev (e), var (v), it (i), cond (c), body (b) { spool (); }
  ~extract_iterator_rep () {

~extract_iterator_rep (  )  [inline]

Definition at line 266 of file glue_control.cpp.

00266                            {
00267     /*
00268     mmout << "Destroy iterator on " << flush_now;
00269     mmout << as_lisp (var) << ": " << as_lisp (body);
00270     mmout << ", " << ev->ref_count;
00271     mmout << "\n";
00272     //mmout << "Destroy " << body << " where "
00273     //<< var << " in iterator satisfies " << cond << "\n";
00274     */
00275   }


Member Function Documentation

void advance (  )  [inline, protected, virtual]

Implements iterator_rep< generic >.

Definition at line 279 of file glue_control.cpp.

00279 { ++it; spool(); }

iterator_rep<generic>* clone (  )  [inline, protected, virtual]

Reimplemented from iterator_rep< generic >.

Definition at line 281 of file glue_control.cpp.

00281                                   {
00282     extract_iterator_rep* rep=
00283       new extract_iterator_rep (ev, var, it, cond, body);
00284     rep->value= value;
00285     return rep;
00286   }

generic current (  )  [inline, protected, virtual]

Implements iterator_rep< generic >.

Definition at line 280 of file glue_control.cpp.

00280 { return value; }

empty_format format1 (  )  const [inherited]

Reimplemented from format< C >.

Reimplemented in unnest_iterator_rep< class >.

empty_format format2 (  )  const [inherited]

Reimplemented from format< C >.

Reimplemented in unnest_iterator_rep< class >.

empty_format format3 (  )  const [inherited]

Reimplemented from format< C >.

Reimplemented in unnest_iterator_rep< class >.

bool is_busy (  )  [inline, protected, virtual]

Implements iterator_rep< generic >.

Definition at line 278 of file glue_control.cpp.

References mmx::busy().

00278 { return busy (it); }

virtual bool is_done (  )  [protected, virtual, inherited]

Reimplemented in unnest_iterator_rep< class >.

virtual bool is_init (  )  [protected, virtual, inherited]

Reimplemented in unnest_iterator_rep< class >.

virtual void regress (  )  [protected, virtual, inherited]

Reimplemented in unnest_iterator_rep< class >.

empty_format rfm (  )  const [inherited]

Reimplemented from format< C >.

Reimplemented in unnest_iterator_rep< class >.

generic sample (  )  const [inherited]

Reimplemented from format< C >.

Reimplemented in unnest_iterator_rep< class >.

format< generic > tfm (  )  const [inherited]

Reimplemented from format< C >.

Reimplemented in unnest_iterator_rep< class >.


Friends And Related Function Documentation

friend bool busy ( const iterator< generic > &  it  )  [friend, inherited]
friend iterator< generic > copy ( const iterator< generic > &  it  )  [friend, inherited]
friend bool done ( const iterator< generic > &  it  )  [friend, inherited]
friend nat exact_hash ( const iterator< generic > &  it  )  [friend, inherited]
friend nat hash ( const iterator< generic > &  it  )  [friend, inherited]
friend bool init ( const iterator< generic > &  it  )  [friend, inherited]
friend class iterator (  )  [friend, inherited]

Reimplemented in unnest_iterator_rep< class >.


Member Data Documentation

MMX_ALLOCATORS int ref_count [inherited]

Reimplemented from rep_struct.

Reimplemented in unnest_iterator_rep< class >.


The documentation for this class was generated from the following file:

Generated on 6 Dec 2012 for mmxlight by  doxygen 1.6.1