OGRE  1.10.12
Object-Oriented Graphics Rendering Engine
Ogre::ConstVectorRange< T > Struct Template Reference

Predefined type. More...

#include <OgreIteratorRange.h>

+ Inheritance diagram for Ogre::ConstVectorRange< T >:

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

 ConstVectorRange (const T &c)
 Constructor. More...
 
 ConstVectorRange (typename T::iterator b, typename T::iterator e)
 Constructor. More...
 
 ConstVectorRange (typename T::const_iterator b, typename T::const_iterator e)
 Constructor. More...
 
 ConstVectorRange (const VectorRange< T > &rhs)
 Constructor. More...
 
begin () const
 access to the begin of the range More...
 
bool empty () const
 informs if there are any elements in the range More...
 
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 ConstVectorRange &rhs) const
 comparison operator for inequality More...
 
bool operator== (const iterator_range &rhs) const
 comparison operator for equality More...
 
bool operator== (const ConstVectorRange &rhs) const
 comparison operator for equality More...
 

Detailed Description

template<typename T>
struct Ogre::ConstVectorRange< T >

Predefined type.

Template Parameters
Titerator type

compatility class for ConstVectorIterator

Deprecated:
do not use

Member Typedef Documentation

◆ iterator

template<typename T>
typedef T Ogre::iterator_range< T >::iterator
inherited

typedef to fulfill container interface

Note
there is no distinction between const_iterator and iterator.

◆ const_iterator

template<typename T>
typedef T Ogre::iterator_range< T >::const_iterator
inherited

typedef to fulfill container interface

Note
there is no distinction between const_iterator and iterator.

◆ type

template<typename T>
typedef iterator_range<T> Ogre::iterator_range< T >::type
inherited

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

Constructor & Destructor Documentation

◆ ConstVectorRange() [1/4]

template<typename T >
Ogre::ConstVectorRange< T >::ConstVectorRange ( const T &  c)
inline

Constructor.

Remarks
Provide a container to initialise.

◆ ConstVectorRange() [2/4]

template<typename T >
Ogre::ConstVectorRange< T >::ConstVectorRange ( typename T::iterator  b,
typename T::iterator  e 
)
inline

Constructor.

Remarks
Provide a start and end iterator to initialise.

◆ ConstVectorRange() [3/4]

template<typename T >
Ogre::ConstVectorRange< T >::ConstVectorRange ( typename T::const_iterator  b,
typename T::const_iterator  e 
)
inline

Constructor.

Remarks
Provide a start and end const_iterator to initialise.

◆ ConstVectorRange() [4/4]

template<typename T >
Ogre::ConstVectorRange< T >::ConstVectorRange ( const VectorRange< T > &  rhs)
inline

Constructor.

Remarks
Provide a VectorRange to initialise.

Member Function Documentation

◆ operator==() [1/2]

template<typename T >
bool Ogre::ConstVectorRange< T >::operator== ( const ConstVectorRange< T > &  rhs) const
inline

comparison operator for equality

References Ogre::iterator_range< T >::equal().

◆ operator!=() [1/2]

template<typename T >
bool Ogre::ConstVectorRange< T >::operator!= ( const ConstVectorRange< T > &  rhs) const
inline

◆ begin()

template<typename T>
T Ogre::iterator_range< T >::begin ( ) const
inlineinherited

◆ end()

template<typename T>
T Ogre::iterator_range< T >::end ( ) const
inlineinherited

◆ empty()

template<typename T>
bool Ogre::iterator_range< T >::empty ( ) const
inlineinherited

informs if there are any elements in the range

◆ equal()

◆ operator==() [2/2]

template<typename T>
bool Ogre::iterator_range< T >::operator== ( const iterator_range< T > &  rhs) const
inlineinherited

comparison operator for equality

References Ogre::iterator_range< T >::equal().

Referenced by Ogre::iterator_range< T >::operator!=().

◆ operator!=() [2/2]

template<typename T>
bool Ogre::iterator_range< T >::operator!= ( const iterator_range< T > &  rhs) const
inlineinherited

comparison operator for inequality

References Ogre::iterator_range< T >::operator==().


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