YCPListIterator Class Reference

Iterator for YCPList values. More...

#include <YCPList.h>

List of all members.

Public Types

typedef
std::bidirectional_iterator_tag 
iterator_category
typedef ptrdiff_t difference_type
typedef const YCPValue value_type
typedef const YCPValuepointer
typedef const YCPValuereference

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)


Detailed Description

Iterator for YCPList values.

Member Typedef Documentation

typedef std::bidirectional_iterator_tag YCPListIterator::iterator_category


Constructor & Destructor Documentation

YCPListIterator::YCPListIterator ( YCPValueList::const_iterator  position  )  [inline, protected]


Member Function Documentation

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.


Friends And Related Function Documentation

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.


Member Data Documentation

YCPValueList::const_iterator YCPListIterator::position [private]

Referenced by operator*(), and operator++().


The documentation for this class was generated from the following file:

Generated on Wed Dec 3 07:24:56 2008 for yast2-core by  doxygen 1.5.6