PlainIterator< T > Class Template Reference

Plain C array iterator. More...

#include <iterator.h>

List of all members.

Public Types

typedef
std::random_access_iterator_tag 
iterator_category
typedef T value_type
typedef size_t difference_type
typedef T * pointer
typedef T & reference

Public Member Functions

 PlainIterator (T *element)
reference operator* ()
pointer operator-> ()
PlainIteratoroperator++ ()
PlainIterator operator++ (int)
PlainIteratoroperator-- ()
PlainIterator operator-- (int)
PlainIteratoroperator+= (difference_type dist)
PlainIterator operator+ (difference_type dist)
PlainIteratoroperator-= (difference_type dist)
PlainIterator operator- (difference_type dist)
difference_type operator- (const PlainIterator &right)
reference operator[] (difference_type off)
bool operator== (const PlainIterator &right)
bool operator!= (const PlainIterator &right)
bool operator< (const PlainIterator &right)

Private Attributes

T * element


Detailed Description

template<typename T>
class PlainIterator< T >

Plain C array iterator.

This class provide iterator mnemonics for plain C array. This was mainly implemented so the more efficient std::sort can by used for plain array instead of library qsort function.


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

Generated on Fri Jan 23 00:21:49 2009 for Raytracer by  doxygen 1.5.7.1