#include <ps_iterator.h>
Definition at line 52 of file ps_iterator.h.
Public Member Functions | |
void | advance (uint numSteps) |
void | advance () |
CAdvance1Iterator (T it, uint32 index=0) | |
create this iterator from the start of a container, and a given position (expressed in fixed point) | |
CAdvance1Iterator () | |
const PT & | get () const |
const PT & | operator * () const |
bool | operator!= (const CAdvance1Iterator &other) const |
CAdvance1Iterator | operator+ (sint quantity) |
CAdvance1Iterator | operator++ (int) |
CAdvance1Iterator & | operator++ () |
CAdvance1Iterator & | operator+= (sint quantity) |
bool | operator== (const CAdvance1Iterator &other) const |
return the step in a 16:16 format | |
Data Fields | |
T | It |
|
Definition at line 56 of file ps_iterator.h. Referenced by NL3D::CAdvance1Iterator< T, PT >::operator+().
00056 {} |
|
create this iterator from the start of a container, and a given position (expressed in fixed point)
Definition at line 58 of file ps_iterator.h. References index, NL3D::CAdvance1Iterator< T, PT >::It, and uint32.
|
|
Definition at line 64 of file ps_iterator.h. References NL3D::CAdvance1Iterator< T, PT >::It, and uint.
|
|
Definition at line 63 of file ps_iterator.h. References NL3D::CAdvance1Iterator< T, PT >::It. Referenced by NL3D::CAdvance1Iterator< T, PT >::operator++().
00063 { ++It; } |
|
Definition at line 62 of file ps_iterator.h. References NL3D::CAdvance1Iterator< T, PT >::It. Referenced by NL3D::CAdvance1Iterator< T, PT >::operator *().
00062 { return *It; } |
|
Definition at line 70 of file ps_iterator.h. References NL3D::CAdvance1Iterator< T, PT >::get().
00070 { return get(); } |
|
Definition at line 75 of file ps_iterator.h.
00075 { return !(*this == other); } |
|
Definition at line 76 of file ps_iterator.h. References NL3D::CAdvance1Iterator< T, PT >::CAdvance1Iterator(), NL3D::CAdvance1Iterator< T, PT >::It, and sint.
00076 { return CAdvance1Iterator(It + quantity); } |
|
Definition at line 69 of file ps_iterator.h. References NL3D::CAdvance1Iterator< T, PT >::advance().
00069 { CAdvance1Iterator tmp = this; advance(); return tmp; } |
|
Definition at line 68 of file ps_iterator.h. References NL3D::CAdvance1Iterator< T, PT >::advance().
00068 { advance(); return *this; } |
|
Definition at line 77 of file ps_iterator.h. References NL3D::CAdvance1Iterator< T, PT >::It, and sint.
|
|
return the step in a 16:16 format const T &operator -> () const { return It; } Definition at line 74 of file ps_iterator.h. References NL3D::CAdvance1Iterator< T, PT >::It.
00074 { return other.It == It; } |
|