CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csArray::Iterator Class Template Reference

Iterator for the Array object. More...

#include <array.h>

List of all members.

Public Methods

bool HasNext ()
 Returns true if the next Next() call will return an element. More...

const T & Next ()
 Returns the next element in the array. More...

void Reset ()
 Reset the array to the first element. More...


Detailed Description

template<class T, class ElementHandler = csArrayElementHandler<T>>
class csArray< T, ElementHandler >::Iterator

Iterator for the Array object.

Definition at line 565 of file array.h.


Member Function Documentation

template<class T, class ElementHandler = csArrayElementHandler<T>>
bool csArray< T, ElementHandler >::Iterator::HasNext   [inline]
 

Returns true if the next Next() call will return an element.

Definition at line 569 of file array.h.

template<class T, class ElementHandler = csArrayElementHandler<T>>
const T& csArray< T, ElementHandler >::Iterator::Next   [inline]
 

Returns the next element in the array.

Definition at line 573 of file array.h.

template<class T, class ElementHandler = csArrayElementHandler<T>>
void csArray< T, ElementHandler >::Iterator::Reset   [inline]
 

Reset the array to the first element.

Definition at line 577 of file array.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14