#include <tllinearqueue.h>
Collaboration diagram for TLLinearQueue< T, _OP >::Iterator:
Public Member Functions | |
Iterator (const TLLinearQueue &_lq) | |
Iterator begins at tail and advances towards head. | |
~Iterator () | |
operator bool () | |
T * | operator * () |
bool | operator= (const TLLinearQueue &_lq) |
bool | operator++ () |
Return false if end of list and *() not valid. | |
bool | operator++ (int) |
Private Member Functions | |
bool | _valid () |
void | _assign (const TLLinearQueue &_lq) |
Private Attributes | |
const TLLinearQueue * | lq |
Chunk * | chk |
size_t | idx |
Definition at line 96 of file tllinearqueue.h.
|
Iterator begins at tail and advances towards head.
Definition at line 109 of file tllinearqueue.h. References TLLinearQueue< T, _OP >::Iterator::_assign(). |
|
Definition at line 110 of file tllinearqueue.h. |
|
|
Definition at line 103 of file tllinearqueue.h. References TLLinearQueue< T, _OP >::Iterator::chk. Referenced by TLLinearQueue< T, _OP >::Iterator::operator *(), TLLinearQueue< T, _OP >::Iterator::operator bool(), TLLinearQueue< T, _OP >::Iterator::operator++(), and TLLinearQueue< T, _OP >::Iterator::operator=(). |
|
Return current element if valid. Returns NULL otherwise. Definition at line 119 of file tllinearqueue.h. References TLLinearQueue< T, _OP >::Iterator::_valid(), TLLinearQueue< T, _OP >::Iterator::chk, TLLinearQueue< T, _OP >::Chunk::ent, and TLLinearQueue< T, _OP >::Iterator::idx. |
|
Return true if current element is valid; false if beyond end of list or list empty. Definition at line 114 of file tllinearqueue.h. References TLLinearQueue< T, _OP >::Iterator::_valid(). |
|
Definition at line 136 of file tllinearqueue.h. References TLLinearQueue< T, _OP >::Iterator::operator++(). |
|
Return false if end of list and *() not valid.
Definition at line 126 of file tllinearqueue.h. References TLLinearQueue< T, _OP >::Iterator::_valid(), TLLinearQueue< T, _OP >::Iterator::chk, TLLinearQueue< T, _OP >::chunk_size, TLLinearQueue< T, _OP >::Iterator::idx, TLLinearQueue< T, _OP >::last_idx, TLLinearQueue< T, _OP >::Iterator::lq, and LinkedListBase< Chunk >::next. Referenced by TLLinearQueue< T, _OP >::Iterator::operator++(). |
|
Definition at line 122 of file tllinearqueue.h. References TLLinearQueue< T, _OP >::Iterator::_assign(), and TLLinearQueue< T, _OP >::Iterator::_valid(). |
|
Definition at line 100 of file tllinearqueue.h. Referenced by TLLinearQueue< T, _OP >::Iterator::_assign(), TLLinearQueue< T, _OP >::Iterator::_valid(), TLLinearQueue< T, _OP >::Iterator::operator *(), and TLLinearQueue< T, _OP >::Iterator::operator++(). |
|
Definition at line 101 of file tllinearqueue.h. Referenced by TLLinearQueue< T, _OP >::Iterator::_assign(), TLLinearQueue< T, _OP >::Iterator::operator *(), and TLLinearQueue< T, _OP >::Iterator::operator++(). |
|
Definition at line 99 of file tllinearqueue.h. Referenced by TLLinearQueue< T, _OP >::Iterator::_assign(), and TLLinearQueue< T, _OP >::Iterator::operator++(). |