|
resonance 1.0.1
|
Position within a sequence, as PyCXX's SeqBase<T>::iterator is laid out. More...
#include <seqbase.h>
Public Member Functions | |
| iterator (SeqBase< T > *pSequence, int nWhere) | |
| Address one position. | |
| bool | operator== (const iterator &other) const |
| Report whether two iterators address the same position of the same sequence. | |
| bool | operator!= (const iterator &other) const |
| Report whether two iterators address different positions. | |
| seqref< T > | operator* () |
| Address the element at this position. | |
| iterator & | operator++ () |
| Step to the next position. | |
Position within a sequence, as PyCXX's SeqBase<T>::iterator is laid out.
The object is the pair of the sequence's address and an index. PlayMapLinear::LoadStepRings() at 0x00128410 expands every member it uses. Equality compares the two sequence addresses and the two indices, not the Python objects, and end() reads PySequence_Length() afresh each time the loop tests against it. Dereferencing builds a seqref<T>, which fetches the element through getItem(), the virtual at +0x38.
|
inline |
Address one position.
| pSequence | The sequence. |
| nWhere | The index. |
|
inline |
Report whether two iterators address the same position of the same sequence.
| other | The iterator to compare with. |
|
inline |
Report whether two iterators address different positions.
| other | The iterator to compare with. |
|
inline |
Address the element at this position.
|
inline |
Step to the next position.