ezEngine  Milestone 7
ezListBase< T >::ConstIterator Struct Reference

base-class for all iterators More...

Inheritance diagram for ezListBase< T >::ConstIterator:

Public Member Functions

 EZ_DECLARE_POD_TYPE ()
 
 ConstIterator ()
 Constructor.
 
bool operator== (typename ezListBase< T >::ConstIterator it2) const
 Equality comparison operator.
 
bool operator!= (typename ezListBase< T >::ConstIterator it2) const
 Inequality comparison operator.
 
const T & operator* () const
 Grants access to the node-data.
 
const T * operator-> () const
 Grants access to the node-data.
 
void Next ()
 Moves the iterator to the next node.
 
void Prev ()
 Moves the iterator to the previous node.
 
bool IsValid () const
 Checks whether this iterator points to a valid element (and not the start/end of the list)
 
void operator++ ()
 Moves the iterator to the next element in the list.
 
void operator-- ()
 Moves the iterator to the previous element in the list.
 

Private Member Functions

 ConstIterator (ListElement *pInit)
 

Private Attributes

ListElementm_pElement
 

Friends

class ezListBase< T >
 

Detailed Description

template<typename T>
struct ezListBase< T >::ConstIterator

base-class for all iterators


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