#include <iterator.hpp>
Definition at line 65 of file iterator.hpp.
typedef C value_type |
Definition at line 66 of file iterator.hpp.
iterator | ( | iterator_rep< C > * | rep2 | ) | [inline] |
Definition at line 95 of file iterator.hpp.
iterator | ( | const iterator_rep< C > * | rep2, | |
bool | with_inc | |||
) | [inline] |
Definition at line 95 of file iterator.hpp.
Definition at line 95 of file iterator.hpp.
~iterator | ( | ) | [inline] |
Definition at line 95 of file iterator.hpp.
iterator | ( | ) | [inline] |
Definition at line 255 of file iterator.hpp.
References mmx::C, Format, and iterator< C >::rep.
00255 { 00256 C* a= mmx_new<C> (0); 00257 rep= new finite_iterator_rep<C> (a, 0, Format (no_format ())); 00258 }
Definition at line 261 of file iterator.hpp.
References mmx::C, and iterator< C >::rep.
00261 { 00262 C* a= mmx_new<C> (0); 00263 rep= new finite_iterator_rep<C> (a, 0, fm); 00264 }
Definition at line 267 of file iterator.hpp.
References mmx::C, mmx::get_format(), and iterator< C >::rep.
00267 { 00268 C* a= mmx_new<C> (1); 00269 a[0]= c; 00270 rep= new finite_iterator_rep<C> (a, 1, get_format (c)); 00271 }
void operator delete | ( | void * | ptr, | |
size_t | sz | |||
) | [inline] |
Definition at line 66 of file iterator.hpp.
00067 : iterator ();
void operator delete[] | ( | void * | ptr, | |
size_t | sz | |||
) | [inline] |
Definition at line 66 of file iterator.hpp.
00067 : iterator ();
void* operator new | ( | size_t | sz, | |
void * | where | |||
) | [inline] |
Definition at line 66 of file iterator.hpp.
00067 : iterator ();
void* operator new | ( | size_t | sz | ) | [inline] |
Definition at line 66 of file iterator.hpp.
00067 : iterator ();
void* operator new[] | ( | size_t | sz, | |
void * | where | |||
) | [inline] |
Definition at line 66 of file iterator.hpp.
00067 : iterator ();
void* operator new[] | ( | size_t | sz | ) | [inline] |
Definition at line 66 of file iterator.hpp.
00067 : iterator ();
C operator* | ( | ) | const [inline] |
Definition at line 71 of file iterator.hpp.
00071 { return rep->current(); }
Definition at line 72 of file iterator.hpp.
00072 { 00073 /* 00074 if (rep->ref_count>1) { 00075 rep->ref_count--; 00076 *(const_cast<Iterator_rep**> (&rep))= rep->clone (); 00077 } 00078 */ 00079 rep->advance(); return *this; }
Definition at line 80 of file iterator.hpp.
00080 { 00081 /* 00082 if (rep->ref_count>1) { 00083 rep->ref_count--; 00084 *(const_cast<Iterator_rep**> (&rep))= rep->clone (); 00085 } 00086 */ 00087 rep->regress(); return *this; }
iterator_rep< C > * operator-> | ( | ) | [inline] |
Definition at line 95 of file iterator.hpp.
const iterator_rep< C > * operator-> | ( | ) | const [inline] |
Definition at line 95 of file iterator.hpp.
Definition at line 95 of file iterator.hpp.
void secure | ( | ) | [inline] |
Definition at line 95 of file iterator.hpp.
iterator_rep< C >* rep [protected] |
Definition at line 66 of file iterator.hpp.
Referenced by iterator< C >::iterator(), iterator< iterator< T > >::operator*(), iterator< iterator< T > >::operator++(), and iterator< iterator< T > >::operator--().