#include <ps_iterator.h>
Definition at line 90 of file ps_iterator.h.
Public Member Functions | |
void | advance (uint numSteps) |
void | advance () |
CAdvance1616Iterator (T it, uint32 index, uint32 step) | |
create this iterator from the start of a container, and a given position (expressed in fixed point) | |
CAdvance1616Iterator () | |
const PT & | get () const |
const PT & | operator * () const |
bool | operator!= (const CAdvance1616Iterator &other) const |
CAdvance1616Iterator | operator+ (sint quantity) |
CAdvance1616Iterator | operator++ (int) |
CAdvance1616Iterator & | operator++ () |
T operator -> () const { return It + (CurrPos >> 16); }. | |
CAdvance1616Iterator & | operator+= (sint quantity) |
bool | operator== (const CAdvance1616Iterator &other) const |
Data Fields | |
uint32 | CurrPos |
T | It |
uint32 | Step |
|
Definition at line 95 of file ps_iterator.h.
00095 {} |
|
create this iterator from the start of a container, and a given position (expressed in fixed point)
Definition at line 97 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::CurrPos, index, and uint32.
|
|
Definition at line 106 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::CurrPos, and uint.
|
|
Definition at line 105 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::CurrPos. Referenced by NL3D::CAdvance1616Iterator< T, PT >::operator++().
|
|
Definition at line 104 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::CurrPos. Referenced by NL3D::CAdvance1616Iterator< T, PT >::operator *().
|
|
Definition at line 110 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::get().
00110 { return get(); } |
|
Definition at line 122 of file ps_iterator.h.
00122 { return !(*this == other); } |
|
Definition at line 123 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::CurrPos, res, and sint.
|
|
Definition at line 113 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::advance().
00113 { CAdvance1616Iterator tmp = this; advance(); return tmp; } |
|
T operator -> () const { return It + (CurrPos >> 16); }.
Definition at line 112 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::advance().
00112 { advance(); return *this; } |
|
Definition at line 131 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::CurrPos, and sint.
|
|
Definition at line 114 of file ps_iterator.h. References NL3D::CAdvance1616Iterator< T, PT >::CurrPos, NL3D::CAdvance1616Iterator< T, PT >::It, nlassert, and NL3D::CAdvance1616Iterator< T, PT >::Step.
|
|
|
Definition at line 92 of file ps_iterator.h. Referenced by NL3D::CAdvance1616Iterator< T, PT >::operator==(). |
|
Definition at line 94 of file ps_iterator.h. Referenced by NL3D::CAdvance1616Iterator< T, PT >::operator==(). |