lift_iterator_rep< T, U > Class Template Reference

#include <mmc_glue.hpp>

Inheritance diagram for lift_iterator_rep< T, U >:
iterator_rep< U > rep_struct format< U > empty_format

List of all members.

Public Types

Public Member Functions

Public Attributes

Protected Member Functions

Friends


Detailed Description

template<typename T, typename U>
class mmx::lift_iterator_rep< T, U >

Definition at line 463 of file mmc_glue.hpp.


Member Typedef Documentation

typedef empty_format FT [inherited]

Definition at line 196 of file type_props.hpp.


Constructor & Destructor Documentation

lift_iterator_rep ( const iterator< T > &  it2,
const format< U > &  fm 
) [inline]

Definition at line 467 of file mmc_glue.hpp.

Referenced by lift_iterator_rep< T, U >::clone().

00467                                                                  :
00468     iterator_rep<U> (fm), it (it2) {}


Member Function Documentation

void advance (  )  [inline, protected, virtual]

Implements iterator_rep< U >.

Definition at line 472 of file mmc_glue.hpp.

00472 { ++it; }

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

Reimplemented from iterator_rep< U >.

Definition at line 476 of file mmc_glue.hpp.

References iterator_rep< U >::copy, and lift_iterator_rep< T, U >::lift_iterator_rep().

00476                             {
00477     return new lift_iterator_rep (copy (it), (format<U>) *this); }

U current (  )  [inline, protected, virtual]

Implements iterator_rep< U >.

Definition at line 475 of file mmc_glue.hpp.

00475 { return as<U> (*it); }

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< U >.

Definition at line 471 of file mmc_glue.hpp.

References iterator_rep< U >::busy.

00471 { return busy (it); }

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< U >.

Definition at line 473 of file mmc_glue.hpp.

References iterator_rep< U >::init.

00473 { return init (it); }

void regress (  )  [inline, protected, virtual]

Reimplemented from iterator_rep< U >.

Definition at line 474 of file mmc_glue.hpp.

00474 { --it; }

empty_format rfm (  )  const [inline, inherited]

Definition at line 188 of file type_props.hpp.

00188 { return *this; }

U sample (  )  const [inline, inherited]

Definition at line 202 of file type_props.hpp.

00202 { return C(); }

format<U > tfm (  )  const [inline, inherited]

Definition at line 201 of file type_props.hpp.

00201 { return *this; }


Friends And Related Function Documentation

bool busy ( const iterator< U > &  it  )  [friend, inherited]
iterator<U > copy ( const iterator< U > &  it  )  [friend, inherited]
bool done ( const iterator< U > &  it  )  [friend, inherited]

Definition at line 98 of file iterator.hpp.

00098 { return it.rep->is_done (); }

nat exact_hash ( const iterator< U > &  it  )  [friend, inherited]

Definition at line 184 of file iterator.hpp.

00195 : public Iterator_rep {

nat hash ( const iterator< U > &  it  )  [friend, inherited]

Definition at line 185 of file iterator.hpp.

00195 : public Iterator_rep {

bool init ( const iterator< U > &  it  )  [friend, inherited]
friend class iterator< U > [friend, inherited]

Definition at line 55 of file iterator.hpp.


Member Data Documentation

MMX_ALLOCATORS int ref_count [inherited]

Definition at line 164 of file basix.hpp.


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1