|
MxEngine
|
#include <VectorPool.h>
Public Member Functions | |
| size_t | GetBase () const |
| VectorPool< T, Container > & | GetPoolRef () |
| PoolIterator (size_t index, VectorPool< T, Container > &ref) | |
| PoolIterator | operator++ (int) |
| PoolIterator | operator++ () |
| PoolIterator | operator-- (int) |
| PoolIterator | operator-- () |
| T * | operator-> () |
| const T * | operator-> () const |
| T & | operator* () |
| const T & | operator* () const |
| bool | operator== (const PoolIterator &it) const |
| bool | operator!= (const PoolIterator &it) const |
iterator for VectorPool class. supports increment, compare and decrement. Ignores not allocated objects, allowing user to iterate over all objects in Pool without check for IsAllocated(index)
|
inline |
construtc new iterator of vector Pool
| index | to the element of vector Pool (0 for begin(), Capacity() for end() methods) |
| poolRef | reference to vector Pool |
|
inline |
compares wto iterator for inequality, returns true if they point to different vector pools
|
inline |
dereferences iterator, accessing vector Pool
|
inline |
dereferences iterator, accessing vector Pool
|
inline |
increments iterator until reaches end or finds next allocated object
|
inline |
increments iterator until reaches end or finds next allocated object
|
inline |
decrements iterator until reaches begin or finds previous allocated object
|
inline |
decrements iterator until reaches begin or finds previous allocated object
|
inline |
dereferences iterator, accessing vector Pool
|
inline |
dereferences iterator, accessing vector Pool
|
inline |
compares two iterator for equality, returns false if they point to different vector pools
1.8.12