|
MADARA
3.1.8
|
Implements a forward iterator for LQueue type classes. More...
#include <LQueue.h>
Public Types | |
| typedef int | difference_type |
| typedef ::std::forward_iterator_tag | iterator_category |
| typedef T * | pointer |
| typedef T & | reference |
| typedef T | value_type |
Public Member Functions | |
| LQueueConstIterator (const LQueue< T > &queue, size_t pos=0) | |
| Construct an LQueueIterator at position pos. More... | |
| LQueueConstIterator (const LQueue< T > &queue, LQueueNode< T > *pos) | |
| Construct an LQueueIterator at node pos. More... | |
| bool | operator!= (const LQueueConstIterator< T > &lhs) const |
| Nonequality operator. More... | |
| const T & | operator* (void) const |
| Dereference operator returns a const reference to the item contained at the current position. More... | |
| const LQueueConstIterator< T > & | operator++ (void) const |
| Preincrement operator. More... | |
| LQueueConstIterator< T > | operator++ (int) const |
| Postincrement operator. More... | |
| bool | operator== (const LQueueConstIterator< T > &rhs) const |
| Equality operator. More... | |
Private Attributes | |
| LQueueNode< T > * | pos_ |
| const LQueue< T > & | queue_ |
| the queue we are dealing with More... | |
Implements a forward iterator for LQueue type classes.
Note: Having a const ExpressionTreeIterator does not guarantee that the current position that it points to will not change, it only guarantees that you cannot change the underlying queue!
| typedef int madara::utility::LQueueConstIterator< T >::difference_type |
| typedef ::std::forward_iterator_tag madara::utility::LQueueConstIterator< T >::iterator_category |
| typedef T* madara::utility::LQueueConstIterator< T >::pointer |
| typedef T& madara::utility::LQueueConstIterator< T >::reference |
| typedef T madara::utility::LQueueConstIterator< T >::value_type |
| madara::utility::LQueueConstIterator< T >::LQueueConstIterator | ( | const LQueue< T > & | queue, |
| size_t | pos = 0 |
||
| ) |
Construct an LQueueIterator at position pos.
Definition at line 578 of file LQueue.cpp.
| madara::utility::LQueueConstIterator< T >::LQueueConstIterator | ( | const LQueue< T > & | queue, |
| LQueueNode< T > * | pos | ||
| ) |
Construct an LQueueIterator at node pos.
Definition at line 595 of file LQueue.cpp.
| bool madara::utility::LQueueConstIterator< T >::operator!= | ( | const LQueueConstIterator< T > & | lhs | ) | const |
Nonequality operator.
Definition at line 571 of file LQueue.cpp.
| const T & madara::utility::LQueueConstIterator< T >::operator* | ( | void | ) | const |
Dereference operator returns a const reference to the item contained at the current position.
Definition at line 535 of file LQueue.cpp.
| const madara::utility::LQueueConstIterator< T > & madara::utility::LQueueConstIterator< T >::operator++ | ( | void | ) | const |
Preincrement operator.
Definition at line 541 of file LQueue.cpp.
| madara::utility::LQueueConstIterator< T > madara::utility::LQueueConstIterator< T >::operator++ | ( | int | ) | const |
Postincrement operator.
Definition at line 550 of file LQueue.cpp.
| bool madara::utility::LQueueConstIterator< T >::operator== | ( | const LQueueConstIterator< T > & | rhs | ) | const |
Equality operator.
Definition at line 563 of file LQueue.cpp.
|
mutableprivate |
|
private |