Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

List_iterator< Type > Class Template Reference

A List_iterator allows iterating over the elements of a given List. More...

#include <list.h>

Inheritance diagram for List_iterator< Type >:

Inheritance graph
[legend]
Collaboration diagram for List_iterator< Type >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 List_iterator ()
 List_iterator (List_node *node)
 List_iterator (Type *node)
List_iteratoroperator++ ()
List_iteratoroperator-- ()
List_iteratoroperator++ (int)
List_iteratoroperator-- (int)
Type & operator * () const
Type * operator-> () const
bool operator== (const List_iterator &iterator) const
bool operator!= (const List_iterator &iterator) const

Public Attributes

List_nodenode

Detailed Description

template<class Type>
class List_iterator< Type >

A List_iterator allows iterating over the elements of a given List.


Constructor & Destructor Documentation

template<class Type>
List_iterator< Type >::List_iterator  )  [inline]
 

template<class Type>
List_iterator< Type >::List_iterator List_node node  )  [inline]
 

template<class Type>
List_iterator< Type >::List_iterator Type *  node  )  [inline]
 


Member Function Documentation

template<class Type>
Type & List_iterator< Type >::operator *  )  const [inline]
 

template<class Type>
bool List_iterator< Type >::operator!= const List_iterator< Type > &  iterator  )  const [inline]
 

template<class Type>
List_iterator< Type > & List_iterator< Type >::operator++ int   )  [inline]
 

template<class Type>
List_iterator< Type > & List_iterator< Type >::operator++  )  [inline]
 

template<class Type>
List_iterator< Type > & List_iterator< Type >::operator-- int   )  [inline]
 

template<class Type>
List_iterator< Type > & List_iterator< Type >::operator--  )  [inline]
 

template<class Type>
Type * List_iterator< Type >::operator->  )  const [inline]
 

template<class Type>
bool List_iterator< Type >::operator== const List_iterator< Type > &  iterator  )  const [inline]
 


Member Data Documentation

template<class Type>
List_node* List_iterator< Type >::node
 


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

Torsion Operating System, Copyright (C) 2000-2004 Dan Helfman