Visual Computing Library
devel
|
Public Types | |
using | difference_type = ptrdiff_t |
using | iterator_category = std::random_access_iterator_tag |
using | pointer = std::conditional_t< CNST, const T *, T * > |
using | reference = std::conditional_t< CNST, const T &, T & > |
using | value_type = T |
Public Member Functions | |
ElementContainerIterator (ContIt it, const Container< T > &vec, bool jumpDeleted=true) | |
bool | operator!= (const ElementContainerIterator &oi) const |
reference | operator* () const |
ElementContainerIterator | operator+ (difference_type n) const |
ElementContainerIterator & | operator++ () |
ElementContainerIterator | operator++ (int) |
ElementContainerIterator & | operator+= (difference_type n) |
difference_type | operator- (const ElementContainerIterator &oi) const |
ElementContainerIterator | operator- (difference_type n) const |
ElementContainerIterator & | operator-- () |
ElementContainerIterator | operator-- (int) |
ElementContainerIterator & | operator-= (difference_type n) |
pointer | operator-> () const |
bool | operator< (const ElementContainerIterator &oi) const |
bool | operator<= (const ElementContainerIterator &oi) const |
bool | operator== (const ElementContainerIterator &oi) const |
bool | operator> (const ElementContainerIterator &oi) const |
bool | operator>= (const ElementContainerIterator &oi) const |
reference | operator[] (difference_type i) |
const reference | operator[] (difference_type i) const |
Private Types | |
using | ContIt = std::conditional_t< CNST, typename Container< T >::const_iterator, typename Container< T >::iterator > |
Private Member Functions | |
ElementContainerIterator & | assignSumFast (difference_type n) |
ElementContainerIterator & | assignSumJump (difference_type n) |
ElementContainerIterator & | decrementFast () |
Decrement function that will be called if we don't need to jump deleted elements. | |
ElementContainerIterator & | decrementJump () |
Decrement function that will be called if we need to jump deleted elements. | |
difference_type | diffFast (const ElementContainerIterator &oi) const |
difference_type | diffJump (const ElementContainerIterator &oi) const |
ElementContainerIterator & | incrementFast () |
Increment function that will be called if we don't need to jump deleted elements. | |
ElementContainerIterator & | incrementJump () |
Increment function that will be called if we need to jump deleted elements. | |
ElementContainerIterator | postDecrementFast () |
Post decrement function that will be called if we don't need to jump deleted elements. | |
ElementContainerIterator | postDecrementJump () |
Post decrement function that will be called if we need to jump deleted elements. | |
ElementContainerIterator | postIncrementFast () |
Post increment function that will be called if we don't need to jump deleted elements. | |
ElementContainerIterator | postIncrementJump () |
Post increment function that will be called if we need to jump deleted elements. | |
Private Attributes | |
ElementContainerIterator &(ElementContainerIterator::* | mAssignSumFun )(difference_type) = &ElementContainerIterator::assignSumJump |
ElementContainerIterator &(ElementContainerIterator::* | mDecrementFun )() |
difference_type(ElementContainerIterator::* | mDiffFun )(const ElementContainerIterator &oi) const |
ElementContainerIterator &(ElementContainerIterator::* | mIncrementFun )() |
ContIt | mIt |
ElementContainerIterator(ElementContainerIterator::* | mPostDecrementFun )() |
ElementContainerIterator(ElementContainerIterator::* | mPostIncrementFun )() |
const Container< T > * | mVec = nullptr |
|
private |
|
private |
|
private |
|
private |
|
private |