#include <YCPList.h>
Public Types | |
| typedef std::bidirectional_iterator_tag | iterator_category |
| typedef ptrdiff_t | difference_type |
| typedef const YCPValue | value_type |
| typedef const YCPValue * | pointer |
| typedef const YCPValue & | reference |
Public Member Functions | |
| reference | operator* () const |
| void | operator++ () |
| void | operator++ (int) |
Protected Member Functions | |
| YCPListIterator (YCPValueList::const_iterator position) | |
Private Attributes | |
| YCPValueList::const_iterator | position |
Friends | |
| class | YCPListRep |
| bool | operator== (const YCPListIterator &x, const YCPListIterator &y) |
| bool | operator!= (const YCPListIterator &x, const YCPListIterator &y) |
| typedef std::bidirectional_iterator_tag YCPListIterator::iterator_category |
| typedef ptrdiff_t YCPListIterator::difference_type |
| typedef const YCPValue YCPListIterator::value_type |
| typedef const YCPValue* YCPListIterator::pointer |
| typedef const YCPValue& YCPListIterator::reference |
| YCPListIterator::YCPListIterator | ( | YCPValueList::const_iterator | position | ) | [inline, protected] |
| reference YCPListIterator::operator* | ( | ) | const [inline] |
Return the value of the current position.
References position.
| void YCPListIterator::operator++ | ( | ) | [inline] |
Advance to the next position.
References position.
| void YCPListIterator::operator++ | ( | int | ) | [inline] |
References position.
friend class YCPListRep [friend] |
| bool operator== | ( | const YCPListIterator & | x, | |
| const YCPListIterator & | y | |||
| ) | [friend] |
Check for equality.
| bool operator!= | ( | const YCPListIterator & | x, | |
| const YCPListIterator & | y | |||
| ) | [friend] |
Check for inequality.
YCPValueList::const_iterator YCPListIterator::position [private] |
Referenced by operator*(), and operator++().
1.5.6