#include <OgreIteratorRange.h>
Public Types | |
typedef T | iterator |
typedef to fulfill container interface | |
typedef T | const_iterator |
typedef to fulfill container interface | |
typedef iterator_range< T > | type |
defines the real used type | |
Public Member Functions | |
iterator_range (T b, T e) | |
Constructor. | |
T | begin () const |
access to the begin of the range | |
T | end () const |
access to the end of the range | |
bool | empty () const |
informs if there are any elements in the range | |
bool | equal (const iterator_range &other) const |
comparison for equality | |
bool | operator== (const iterator_range &rhs) const |
comparison operator for equality | |
bool | operator!= (const iterator_range &rhs) const |
comparison operator for inequality | |
Private Attributes | |
T | mBegin |
T | mEnd |
T | iterator type |
Definition at line 51 of file OgreIteratorRange.h.
typedef T Ogre::iterator_range< T >::iterator |
typedef to fulfill container interface
Definition at line 91 of file OgreIteratorRange.h.
typedef T Ogre::iterator_range< T >::const_iterator |
typedef to fulfill container interface
Definition at line 99 of file OgreIteratorRange.h.
typedef iterator_range<T> Ogre::iterator_range< T >::type |
defines the real used type
type will be defined as Ogre::iterator_range if not used with boost
otherwise the type will be boost::iterator_range
Definition at line 106 of file OgreIteratorRange.h.
Ogre::iterator_range< T >::iterator_range | ( | T | b, | |
T | e | |||
) |
Constructor.
Definition at line 63 of file OgreIteratorRange.h.
T Ogre::iterator_range< T >::begin | ( | ) | const |
access to the begin of the range
Definition at line 66 of file OgreIteratorRange.h.
References Ogre::iterator_range< T >::mBegin.
T Ogre::iterator_range< T >::end | ( | ) | const |
access to the end of the range
Definition at line 69 of file OgreIteratorRange.h.
References Ogre::iterator_range< T >::mEnd.
bool Ogre::iterator_range< T >::empty | ( | ) | const |
informs if there are any elements in the range
Definition at line 72 of file OgreIteratorRange.h.
References Ogre::iterator_range< T >::mBegin, and Ogre::iterator_range< T >::mEnd.
bool Ogre::iterator_range< T >::equal | ( | const iterator_range< T > & | other | ) | const |
comparison for equality
Definition at line 75 of file OgreIteratorRange.h.
References Ogre::iterator_range< T >::mBegin, and Ogre::iterator_range< T >::mEnd.
Referenced by Ogre::ConstMapRange< T >::operator!=(), Ogre::MapRange< T >::operator!=(), Ogre::ConstVectorRange< T >::operator!=(), Ogre::VectorRange< T >::operator!=(), Ogre::ConstMapRange< T >::operator==(), Ogre::MapRange< T >::operator==(), Ogre::ConstVectorRange< T >::operator==(), Ogre::VectorRange< T >::operator==(), and Ogre::iterator_range< T >::operator==().
bool Ogre::iterator_range< T >::operator== | ( | const iterator_range< T > & | rhs | ) | const |
comparison operator for equality
Definition at line 79 of file OgreIteratorRange.h.
References Ogre::iterator_range< T >::equal().
Referenced by Ogre::iterator_range< T >::operator!=().
bool Ogre::iterator_range< T >::operator!= | ( | const iterator_range< T > & | rhs | ) | const |
comparison operator for inequality
Definition at line 83 of file OgreIteratorRange.h.
References Ogre::iterator_range< T >::operator==().
T Ogre::iterator_range< T >::mBegin [private] |
Definition at line 55 of file OgreIteratorRange.h.
Referenced by Ogre::iterator_range< T >::begin(), Ogre::iterator_range< T >::empty(), and Ogre::iterator_range< T >::equal().
T Ogre::iterator_range< T >::mEnd [private] |
Definition at line 55 of file OgreIteratorRange.h.
Referenced by Ogre::iterator_range< T >::empty(), Ogre::iterator_range< T >::end(), and Ogre::iterator_range< T >::equal().
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 24 18:02:49 2010