Public Types | Public Member Functions | Public Attributes | List of all members
QValueListConstIterator< T > Class Template Reference

#include <qvaluelist.h>

Public Types

typedef QValueListNode< T > * NodePtr
 

Public Member Functions

 QValueListConstIterator ()
 
 QValueListConstIterator (NodePtr p)
 
 QValueListConstIterator (const QValueListConstIterator< T > &it)
 
 QValueListConstIterator (const QValueListIterator< T > &it)
 
bool operator== (const QValueListConstIterator< T > &it) const
 
bool operator!= (const QValueListConstIterator< T > &it) const
 
const T & operator* () const
 
QValueListConstIterator< T > & operator++ ()
 
QValueListConstIterator< T > operator++ (int)
 
QValueListConstIterator< T > & operator-- ()
 
QValueListConstIterator< T > operator-- (int)
 

Public Attributes

NodePtr node
 

Detailed Description

template<class T>
class QValueListConstIterator< T >

Definition at line 119 of file qvaluelist.h.

Member Typedef Documentation

template<class T>
typedef QValueListNode<T>* QValueListConstIterator< T >::NodePtr

Typedefs

Definition at line 125 of file qvaluelist.h.

Constructor & Destructor Documentation

template<class T>
QValueListConstIterator< T >::QValueListConstIterator ( )
inline

Functions

Definition at line 135 of file qvaluelist.h.

135 : node( 0 ) {}
template<class T>
QValueListConstIterator< T >::QValueListConstIterator ( NodePtr  p)
inline

Definition at line 136 of file qvaluelist.h.

136 : node( p ) {}
template<class T>
QValueListConstIterator< T >::QValueListConstIterator ( const QValueListConstIterator< T > &  it)
inline

Definition at line 137 of file qvaluelist.h.

137 : node( it.node ) {}
template<class T>
QValueListConstIterator< T >::QValueListConstIterator ( const QValueListIterator< T > &  it)
inline

Definition at line 138 of file qvaluelist.h.

138 : node( it.node ) {}

Member Function Documentation

template<class T>
bool QValueListConstIterator< T >::operator!= ( const QValueListConstIterator< T > &  it) const
inline

Definition at line 141 of file qvaluelist.h.

141 { return node != it.node; }
template<class T>
const T& QValueListConstIterator< T >::operator* ( ) const
inline

Definition at line 142 of file qvaluelist.h.

142 { return node->data; }
template<class T>
QValueListConstIterator<T>& QValueListConstIterator< T >::operator++ ( )
inline

Definition at line 147 of file qvaluelist.h.

147  {
148  node = node->next;
149  return *this;
150  }
QValueListNode< T > * next
Definition: qvaluelist.h:61
template<class T>
QValueListConstIterator<T> QValueListConstIterator< T >::operator++ ( int  )
inline

Definition at line 152 of file qvaluelist.h.

152  {
154  node = node->next;
155  return tmp;
156  }
string tmp
Definition: languages.py:63
QValueListNode< T > * next
Definition: qvaluelist.h:61
template<class T>
QValueListConstIterator<T>& QValueListConstIterator< T >::operator-- ( )
inline

Definition at line 158 of file qvaluelist.h.

158  {
159  node = node->prev;
160  return *this;
161  }
QValueListNode< T > * prev
Definition: qvaluelist.h:62
template<class T>
QValueListConstIterator<T> QValueListConstIterator< T >::operator-- ( int  )
inline

Definition at line 163 of file qvaluelist.h.

163  {
165  node = node->prev;
166  return tmp;
167  }
string tmp
Definition: languages.py:63
QValueListNode< T > * prev
Definition: qvaluelist.h:62
template<class T>
bool QValueListConstIterator< T >::operator== ( const QValueListConstIterator< T > &  it) const
inline

Definition at line 140 of file qvaluelist.h.

140 { return node == it.node; }

Member Data Documentation

template<class T>
NodePtr QValueListConstIterator< T >::node

Variables

Definition at line 130 of file qvaluelist.h.


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