basix_doc 0.1
vector_iterator_rep< C, V > Class Template Reference

#include <vector.hpp>

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

template<typename C, typename V>
class mmx::vector_iterator_rep< C, V >

Definition at line 485 of file vector.hpp.


Constructor & Destructor Documentation

vector_iterator_rep ( const vector< C, V > &  v2,
nat  i2 = 0 
) [inline]

Definition at line 489 of file vector.hpp.

Referenced by vector_iterator_rep< C, V >::clone().

                                                   :
    iterator_rep<C> (CF (v2)), v (v2), i (0) { (void) i2; }

Member Function Documentation

void advance ( ) [inline, protected]

Definition at line 493 of file vector.hpp.

{ i++; }
iterator_rep<C>* clone ( ) [inline, protected]

Definition at line 495 of file vector.hpp.

References vector_iterator_rep< C, V >::vector_iterator_rep().

{ return new vector_iterator_rep (v, i); }
C current ( ) [inline, protected]

Definition at line 494 of file vector.hpp.

{ return v[i]; }
bool is_busy ( ) [inline, protected]

Definition at line 492 of file vector.hpp.

References mmx::N().

{ return i < N(v); }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines