csArray< T, ElementHandler, MemoryAllocator >::Iterator Class Reference
Iterator for the Array<> class. More...
#include <csutil/array.h>
Public Member Functions | |
| bool | HasNext () |
| Returns true if the next Next() call will return an element. | |
| Iterator (Iterator const &r) | |
| Copy constructor. | |
| const T & | Next () |
| Returns the next element in the array. | |
| Iterator & | operator= (Iterator const &r) |
| Assignment operator. | |
| void | Reset () |
| Reset the array to the first element. | |
Protected Member Functions | |
| Iterator (const csArray< T, ElementHandler > &newarray) | |
Friends | |
| class | csArray< T, ElementHandler > |
Detailed Description
template<class T, class ElementHandler = csArrayElementHandler<T>, class MemoryAllocator = csArrayMemoryAllocator<T>>
class csArray< T, ElementHandler, MemoryAllocator >::Iterator
Iterator for the Array<> class.
Definition at line 1035 of file array.h.
Constructor & Destructor Documentation
|
||||||||||
|
Copy constructor.
|
Member Function Documentation
|
|||||||||
|
Returns true if the next Next() call will return an element.
|
|
|||||||||
|
Returns the next element in the array.
|
|
||||||||||
|
Assignment operator.
Definition at line 1043 of file array.h. References csArray< T, ElementHandler, MemoryAllocator >::Iterator::array, and csArray< T, ElementHandler, MemoryAllocator >::Iterator::currentelem. |
|
|||||||||
|
Reset the array to the first element.
|
The documentation for this class was generated from the following file:
- csutil/array.h
Generated for Crystal Space by doxygen 1.4.6
