count_iterator_rep Class Reference

Inheritance diagram for count_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 191 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

count_iterator_rep ( const int &  s,
const int &  e 
) [inline]

Definition at line 194 of file glue_control.cpp.

00194 : start (s), end (e) {}

~count_iterator_rep (  )  [inline]

Definition at line 195 of file glue_control.cpp.

00195 {}


Member Function Documentation

void advance (  )  [inline, protected, virtual]

Implements iterator_rep< generic >.

Definition at line 198 of file glue_control.cpp.

00198 { start++; }

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

Reimplemented from iterator_rep< generic >.

Definition at line 200 of file glue_control.cpp.

00200                                   {
00201     return new count_iterator_rep (start, end); }

generic current (  )  [inline, protected, virtual]

Implements iterator_rep< generic >.

Definition at line 199 of file glue_control.cpp.

00199 { return as<generic> (start); }

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 197 of file glue_control.cpp.

00197 { return start < end; }

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