|
MoSync 3.2.1
|
A constant iterator for a list container. More...
#include <MAUtil/List.h>
Public Member Functions | |
| ConstListIterator (const ListIterator &listIterator) | |
| bool | hasNext () const |
| bool | hasPrev () const |
| const Type & | prev () |
| const Type & | next () |
Friends | |
| class | List |
A constant iterator for a list container.
| MAUtil::List< Type >::ConstListIterator::ConstListIterator | ( | const ListIterator & | listIterator | ) | [inline] |
| bool MAUtil::List< Type >::ConstListIterator::hasNext | ( | ) | const [inline] |
Function used to tell if there is a next element.
References MAUtil::List< Type >::ListNode::mNext, and NULL.
| bool MAUtil::List< Type >::ConstListIterator::hasPrev | ( | ) | const [inline] |
Function used to tell if there is a previous element.
References MAUtil::List< Type >::ListNode::mPrev, and NULL.
| const Type& MAUtil::List< Type >::ConstListIterator::prev | ( | ) | [inline] |
Returns the data the iterator points to and attempts to move the iterator backwards.
References MAUtil::List< Type >::ListNode::mData, and MAUtil::List< Type >::ListNode::mPrev.
| const Type& MAUtil::List< Type >::ConstListIterator::next | ( | ) | [inline] |
Returns the data the iterator points to and attempts to move the iterator forward.
References MAUtil::List< Type >::ListNode::mData, and MAUtil::List< Type >::ListNode::mNext.
friend class List [friend] |