OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Base for an iterator_range. More...
#include <OgreIteratorRange.h>
Public Types | |
typedef T | const_iterator |
typedef to fulfill container interface More... | |
typedef T | iterator |
typedef to fulfill container interface More... | |
typedef iterator_range< T > | type |
defines the real used type More... | |
Public Member Functions | |
iterator_range (T b, T e) | |
Constructor. More... | |
T | begin () const |
access to the begin of the range More... | |
bool | empty () const |
informs if there are any elements in the range More... | |
T | end () const |
access to the end of the range More... | |
bool | equal (const iterator_range &other) const |
comparison for equality More... | |
bool | operator!= (const iterator_range &rhs) const |
comparison operator for inequality More... | |
bool | operator== (const iterator_range &rhs) const |
comparison operator for equality More... | |
Base for an iterator_range.
T | iterator type |
This class implements the minimal interface of the (boost::iterator_)range concept
Also it prepairs for direct usage of boost::iterator_range by providing the real used type via iterator_range::type so that client code does not have to change when boost::iterator_range will be implemented some day.
see VectorRange MapRange or corresponding Const variants for a sample of concrete usage of the iterator_range::type
typedef T Ogre::iterator_range< T >::const_iterator |
typedef to fulfill container interface
typedef T Ogre::iterator_range< T >::iterator |
typedef to fulfill container interface
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
|
inline |
Constructor.
|
inline |
access to the begin of the range
Referenced by Ogre::VectorRange< T >::operator!=(), Ogre::ConstVectorRange< T >::operator!=(), Ogre::MapRange< T >::operator!=(), and Ogre::ConstMapRange< T >::operator!=().
|
inline |
informs if there are any elements in the range
|
inline |
access to the end of the range
Referenced by Ogre::VectorRange< T >::operator!=(), Ogre::ConstVectorRange< T >::operator!=(), Ogre::MapRange< T >::operator!=(), and Ogre::ConstMapRange< T >::operator!=().
|
inline |
comparison for equality
Referenced by Ogre::VectorRange< T >::operator!=(), Ogre::ConstVectorRange< T >::operator!=(), Ogre::MapRange< T >::operator!=(), Ogre::ConstMapRange< T >::operator!=(), Ogre::iterator_range< T >::operator==(), Ogre::VectorRange< T >::operator==(), Ogre::ConstVectorRange< T >::operator==(), Ogre::MapRange< T >::operator==(), and Ogre::ConstMapRange< T >::operator==().
|
inline |
comparison operator for inequality
References Ogre::iterator_range< T >::operator==().
|
inline |
comparison operator for equality
References Ogre::iterator_range< T >::equal().
Referenced by Ogre::iterator_range< T >::operator!=().