#include <safe_vector.h>
Collaboration diagram for std::safe_vector< T, Allo >::iterator:
Public Methods | |
void | check_relevance () const |
iterator (const vector< T, Allo >::iterator &i, safe_vector< T, Allo > *id) | |
bool | operator== (const vector< T, Allo >::iterator &i) |
bool | operator== (const vector< T, Allo >::const_iterator &i) |
bool | operator!= (const vector< T, Allo >::iterator &i) |
bool | operator!= (const vector< T, Allo >::const_iterator &i) |
T & | operator * () |
iterator | operator++ (int) |
iterator | operator+= (int i) |
iterator | operator-= (int i) |
iterator | operator++ () |
iterator | operator-- () |
Private Attributes | |
safe_vector< T, Allo > * | v |
int | id |
|
00065 :vector<T,Allo>::iterator(i) { 00066 this->v =id; 00067 this->id = id->id; 00068 }/* |
|
|
|
00089 { 00090 check_relevance(); 00091 return (**((vector <T,Allo>::iterator*)this)); 00092 } |
|
00085 { 00086 check_relevance(); 00087 return (*((vector<T,Allo>::iterator *)this))!=i; 00088 } |
|
00081 { 00082 check_relevance(); 00083 return (*((vector<T,Allo>::iterator *)this))!=i; 00084 } |
|
00108 { 00109 return (*this)+=1; 00110 } |
|
00093 { 00094 check_relevance(); 00095 return iterator((*((vector<T,Allo>::iterator *)this))++,v); 00096 } |
|
00098 { 00099 (*((vector<T,Allo>::iterator *)this))+=i; 00100 check_relevance(); 00101 return *this; 00102 } |
|
00111 { 00112 return (*this)-=1; 00113 } |
|
00103 { 00104 (*((vector<T,Allo>::iterator *)this))-=i; 00105 check_relevance(); 00106 return *this; 00107 } |
|
00077 { 00078 check_relevance(); 00079 return (*((vector<T,Allo>::iterator *)this))==i; 00080 } |
|
00073 { 00074 check_relevance(); 00075 return (*((vector<T,Allo>::iterator *)this))==i; 00076 } |
|
|
|
|