CrystalSpace

Public API Reference

csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >::ReverseConstIterator Class Reference

Reverse iterator for the csArray class. More...

#include <csutil/array.h>

List of all members.

Public Member Functions

bool HasNext () const
 Return true if the next Next() call will return an element.
const T & Next ()
 Return the next element in the array.
ReverseConstIteratoroperator= (ReverseConstIterator const &r)
 Assignment operator.
void Reset ()
 Reset the array to the first element.
 ReverseConstIterator (ReverseConstIterator const &r)
 Copy constructor.

Friends

class csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >

Detailed Description

template<class T, class ElementHandler = csArrayElementHandler<T>, class MemoryAllocator = CS::Container::ArrayAllocDefault, class CapacityHandler = CS::Container::ArrayCapacityDefault>
class csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >::ReverseConstIterator

Reverse iterator for the csArray class.

Definition at line 1303 of file array.h.


Constructor & Destructor Documentation

template<class T, class ElementHandler = csArrayElementHandler<T>, class MemoryAllocator = CS::Container::ArrayAllocDefault, class CapacityHandler = CS::Container::ArrayCapacityDefault>
csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >::ReverseConstIterator::ReverseConstIterator ( ReverseConstIterator const &  r  )  [inline]

Copy constructor.

Definition at line 1307 of file array.h.


Member Function Documentation

template<class T, class ElementHandler = csArrayElementHandler<T>, class MemoryAllocator = CS::Container::ArrayAllocDefault, class CapacityHandler = CS::Container::ArrayCapacityDefault>
bool csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >::ReverseConstIterator::HasNext (  )  const [inline]

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

Definition at line 1315 of file array.h.

template<class T, class ElementHandler = csArrayElementHandler<T>, class MemoryAllocator = CS::Container::ArrayAllocDefault, class CapacityHandler = CS::Container::ArrayCapacityDefault>
const T& csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >::ReverseConstIterator::Next (  )  [inline]

Return the next element in the array.

Definition at line 1319 of file array.h.

template<class T, class ElementHandler = csArrayElementHandler<T>, class MemoryAllocator = CS::Container::ArrayAllocDefault, class CapacityHandler = CS::Container::ArrayCapacityDefault>
ReverseConstIterator& csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >::ReverseConstIterator::operator= ( ReverseConstIterator const &  r  )  [inline]

Assignment operator.

Definition at line 1311 of file array.h.

template<class T, class ElementHandler = csArrayElementHandler<T>, class MemoryAllocator = CS::Container::ArrayAllocDefault, class CapacityHandler = CS::Container::ArrayCapacityDefault>
void csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >::ReverseConstIterator::Reset (  )  [inline]

Reset the array to the first element.

Definition at line 1323 of file array.h.


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

Generated for Crystal Space 2.0 by doxygen 1.6.1